[asterisk-dev] Asterisk 1.2.13 under FC6 - chan_phone.c wants compiler.h

Juan Carlos Castro y Castro jcastro at instant.com.br
Tue Nov 28 16:56:49 MST 2006


...a header file I understand it's deprecated. I solved the problem by 
eliminating chan_phone from channels/Makefile, but what is the real fix? 
Just removing the #include in chan_phone.c?

gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT 
-D_GNU_SOURCE  -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS         
-fomit-frame-pointer  -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[1]: *** [chan_phone.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.13/channels'
make: *** [subdirs] Error 1



More information about the asterisk-dev mailing list