I can not compile dahdi on fedora?


i am very new to linux and as i didn’t find how to install asterisk 1.8 with yum i tried to install from source.

whan i want to do the make command on the dadi sources directory, i get :

[root@localhost dahdi-linux-complete-]# make make -C linux all make[1] : on entre dans le répertoire « /usr/local/src/dahdi-linux-complete- » make -C drivers/dahdi/firmware firmware-loaders make[2] : on entre dans le répertoire « /usr/local/src/dahdi-linux-complete- » make[2] : on quitte le répertoire « /usr/local/src/dahdi-linux-complete- » You do not appear to have the sources for the kernel installed. make[1]: *** [modules] Erreur 1 make[1] : on quitte le répertoire « /usr/local/src/dahdi-linux-complete- » make: *** [all] Erreur 2

and when i install the kernel i get that :

[root@localhost dahdi-linux-complete-]# yum install kernel.x86_64 Modules complémentaires chargés : langpacks, presto, refresh-packagekit Adding fr_FR to language list Configuration du processus d'installation Le paquet kernel- est déjà installé dans sa dernière version Rien à faire [root@localhost dahdi-linux-complete-]#

Someone have an idea of the problem ?

Thank you for your help.

You need the -dev package for the kernel.