linux/compiler.h: No such file or directory

Thiago Martins thiago at principaltelecom.com.br
Wed Oct 25 16:26:07 CEST 2006


Hi,

 I'm trying to compile on new systens but I found this error:

gcc `mysql_config --cflags` -pipe  -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude -I../include
-D_REENTRANT -D_GNU_SOURCE  -O2 -DZAPTEL_OPTIMIZATIONS
-Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI
-DIAX_TRUNKING -DCRYPTO -fPIC    -c -o chan_phone.o chan_phone.c
chan_phone.c:41:29: error: linux/compiler.h: No such file or directory
make[2]: *** [chan_phone.o] Error 1
make[2]: Leaving directory
`/var/SRC/PACKAGES/asterisk/asterisk-1.2.13~dfsg/channels'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/var/SRC/PACKAGES/asterisk/asterisk-1.2.13~dfsg'
make: *** [build-arch-stamp] Error 2

How to remove dependency on linux/compiler.h ?

Thanks!
Thiago




More information about the Pkg-voip-maintainers mailing list