[Asterisk-Users] Error compiling Zaptel

San Singhania
Tue, 11 May 2004 08:16:48 -0000

Hi,

I just finished downloading asterisk and when trying to compile the zaptel
drivers, get the following errors. I dont have a clue whats going on...
can someone help.

In file included from /usr/include/linux/module.h:20,
from zaptel.c:44:
/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.
make: *** [zaptel.o] Error 1

Thanks

San
-------------- next part --------------
An HTML attachment was scrubbed...