[Asterisk-Users] Error compiling Zaptel

San Singhania san at lantone.com.sg
Tue May 11 08:16:48 MST 2004


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...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040511/31eb7314/attachment.htm


More information about the asterisk-users mailing list