[asterisk-dev] compiling zaptel problems

Felipe Bergo fbergo at gmail.com
Fri Aug 1 19:49:16 CDT 2008


zaptel looks for kernel headers under

/lib/modules/`uname -r`/build

apparently your `uname -r` (those are backticks) is 2.6.16.29-xen_3.0.3.0
but the kernel-devel you have is for a slightly different name. Probably
some oddity with xen package naming under centos.

Under centos, /lib/modules/`uname -r`/build is a symlink to
/usr/src/kernels/`uname -r`, on one of my boxes (centos 5.1) it shows as

# ls -l /lib/modules/`uname -r`
lrwxrwxrwx 1 root root     48 May 29  2007 build ->
../../../usr/src/kernels/2.6.18-8.el5-xen-x86_64

make that symlink point to the right place under /usr/src/kernels (as listed
by "rpm -ql kernel-xen-devel") and it should work.

-- Felipe

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

> Thank you very much for your feedback but I am still getting the same
> error. Any other options?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080801/7a477e1c/attachment.htm 


More information about the asterisk-dev mailing list