[asterisk-dev] compiling zaptel problems

Felipe Bergo fbergo at gmail.com
Fri Aug 1 18:25:43 CDT 2008


you need the kernel headers matching your current kernel, do (as root):

yum -y install kernel-xen-devel kernel-devel kernel-headers

-- Felipe

On Fri, Aug 1, 2008 at 7:10 PM, Lee Lundrigan
<llundrigan at laszlosystems.com>wrote:

> Some Specs:
> OS - CentOS 5.2
> Linux gambit 2.6.16.29-xen_3.0.3.0 #1 SMP Mon Oct 16 09:30:17 EDT 2006
> i686 athlon i386 GNU/Linux
>
> I put asterisk, libpri, and zaptel (1.4) into /usr/src/
> Unpacked them
> Updated the os then out of the asterisk book by o'reilly I got all the
> recommended packages
> I created a link called linux-2.6 (/usr/src/kernels/uname -r) and tried
> (/usr/src/uname -r) but my dir structure is
> usr/src/kernels/2.6.18-92.1.6.el5-i686/
> Installed libpri
> Then went to zaptel
> commands(all as root):
> make clean
> ./configure
> make menuselect
> make
> - this is where I get the error:
>
> make[1]: Entering directory `/usr/src/zaptel-1.4.11/menuselect'
> make[2]: Entering directory `/usr/src/zaptel-1.4.11/menuselect'
> make[2]: `menuselect' is up to date.
> make[2]: Leaving directory `/usr/src/zaptel-1.4.11/menuselect'
> make[1]: Leaving directory `/usr/src/zaptel-1.4.11/menuselect'
> make[1]: Entering directory `/usr/src/zaptel-1.4.11'
> make[2]: Entering directory `/usr/src/zaptel-1.4.11/menuselect'
> make[3]: Entering directory `/usr/src/zaptel-1.4.11/menuselect'
> make[3]: `menuselect' is up to date.
> make[3]: Leaving directory `/usr/src/zaptel-1.4.11/menuselect'
> make[2]: Leaving directory `/usr/src/zaptel-1.4.11/menuselect'
> echo "You do not appear to have the sources for the
> 2.6.16.29-xen_3.0.3.0 kernel installed."
> You do not appear to have the sources for the 2.6.16.29-xen_3.0.3.0
> kernel installed.
> exit 1
> make[1]: *** [modules] Error 1
> make[1]: Leaving directory `/usr/src/zaptel-1.4.11'
> make: *** [all] Error 2
>
> Read tutorials online that told me to reboot, did that, no change.
>
> Can anyone help? Thank you in advance!
>
> Lee Lundrigan
> Laszlo Systems
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080801/7ce6fa60/attachment.htm 


More information about the asterisk-dev mailing list