[Asterisk-Users] Zaptel compile errors

Garth van Sittert garth at bitco.co.za
Thu Mar 30 15:53:36 MST 2006


Upgraded kernel and sources.  Seemed to sort it out.

Garth

Garth van Sittert wrote:
> Hi
>
> When trying to compile zaptel-1.2.5 I am getting the following errors:
>
> /usr/include/linux/modversions.h:1:2: #error Modules should never use 
> kernel-headers system headers,
> /usr/include/linux/modversions.h:2:2: #error but rather headers from 
> an appropriate kernel-source package.
> /usr/include/linux/modversions.h:3:2: #error Change 
> -I/usr/src/linux/include (or similar) to
> /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname 
> -r)/build/include
> /usr/include/linux/modversions.h:5:2: #error to build against the 
> currently-running kernel.
>
> I am using Centos 3 - 2.4.21-37.ELsmp.
> I have both the kernel and kernel sources installed:
>
> kernel-2.4.21-37.EL
> kernel-pcmcia-cs-3.1.31-13
> kernel-utils-2.4-8.37.12
> kernel-source-2.4.21-37.EL
> kernel-doc-2.4.21-37.EL
> kernel-smp-2.4.21-37.EL
>
> Can anyone help with this?
>
> Garth
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list