On Tuesday 28 November 2006 18:56, Juan Carlos Castro y Castro wrote: > ...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
You are correct, and 'file' has fixed it in all the branches as of revision 48087-48089 for 1.2, 1.4, and trunk branches. The fix was simply to remove it as we never really needed it. Leif. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
