Zaptel-1.4.5.1 Instalation Prob on Fedora Core 7

HI all
i am getting this error while i am trying to instal asterisk

grep: /lib/modules/2.6.20-2925.9.fc7xen/build/include/linux/autoconf.h: No such file or directory
make[1]: Entering directory /usr/src/asterisk/zaptel-1.4.5.1/menuselect' make[2]: Entering directory/usr/src/asterisk/zaptel-1.4.5.1/menuselect’
make[2]: menuselect' is up to date. make[2]: Leaving directory/usr/src/asterisk/zaptel-1.4.5.1/menuselect’
make[1]: Leaving directory /usr/src/asterisk/zaptel-1.4.5.1/menuselect' grep: /lib/modules/2.6.20-2925.9.fc7xen/build/include/linux/autoconf.h: No such file or directory make[1]: Entering directory/usr/src/asterisk/zaptel-1.4.5.1’
make[2]: Entering directory /usr/src/asterisk/zaptel-1.4.5.1/menuselect' make[3]: Entering directory/usr/src/asterisk/zaptel-1.4.5.1/menuselect’
make[3]: menuselect' is up to date. make[3]: Leaving directory/usr/src/asterisk/zaptel-1.4.5.1/menuselect’
make[2]: Leaving directory /usr/src/asterisk/zaptel-1.4.5.1/menuselect' You do not appear to have the sources for the 2.6.20-2925.9.fc7xen kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory/usr/src/asterisk/zaptel-1.4.5.1’
make: *** [all] Error 2

even i update the “yum install kernel” as well as “yum install kernel-devel”

root@new-host-2 zaptel-1.4.5.1]# uname -a
Linux new-host-2 2.6.20-2925.9.fc7xen #1 SMP Tue May 22 08:53:03 EDT 2007 i686 i686 i386 GNU/Linux

[root@new-host-2 zaptel-1.4.5.1]# rpm -q kernel-devel
kernel-devel-2.6.23.1-10.fc7

sir plz guide us how we can solve this issue.
Thanks & Regards

Go through this URL .

asteriskguru.com/board/cant- … vt545.html .

I think kernel-source package were missing. Here are some commands

yum install kernel-smp-devel ----- It should install your current kernel’s version sources.
yum update kernel-smp kernel-smp-devel ----- It will update both your kernel and its sources

I have a Fedora 7 up and running but it was without kernel source so I installed the Kernel source and corrected the Links to the directories:

/lib/modules/2.6.20-2936.fc7xen
kernels -> …/…/…/usr/src/kernels/
/usr/src/kernels
2.6.20-2936.fc7-xen-i686 -> /usr/src/redhat/BUILD/kernel-2.6.20/linux-2.6.20.i386

But the problem I think is that the directory (linux-2.6.20.i386) is named different that the kernel source 2.6.20-2936.fc7xen

[root@server1 kernel-2.6.20]# pwd
/usr/src/redhat/BUILD/kernel-2.6.20
[root@server1 kernel-2.6.20]# ls
Config.mk linux-2.6.20.i386 vanilla xen-3.1.0-rc7-7041b52471c3

ERROR:
After try to fix it I runned the installation of Zapata and I got an error:

You do not appear to have the sources for the 2.6.20-2936.fc7xen kernel installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/src/zaptel-1.4.6’
make: *** [all] Error 2

ANY CLUE???

Hi chamin,

Your installed kernel version and kernel-devel versions are different. Try either downloading the kernel-devel for your installed version or recompile your kernel with the devel version and try again.

Thanks.