[asterisk-users] compile problem with wavelenght
joao.pereira at fccn.pt
Thu Apr 12 04:36:18 MST 2007
Thanks a lot for the help.
I just commented these lines and its working:
I just hope that this doesnt bring me problems in the future :P
Tzafrir Cohen wrote:
> On Thu, Apr 12, 2007 at 10:25:37AM +0100, Joao Pereira wrote:
>> Im trying to install an old version of Asterisk.
>> But it isnt working:
>> when I run "make install":
>> gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
>> -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
>> -D_GNU_SOURCE -O6 -march=i686 -fomit-frame-pointer
>> -Wno-missing-prototypes -Wno-missing-declarations -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: *** [chan_phone.o] Error 1
>> make: Leaving directory `/services/asterisk/asterisk-1.2.10/channels'
>> make: *** [subdirs] Error 1
> This is a known problem that has been fixed in later versions of
> asterisk 1.2 .
> Alternatively, build the same version withough building chan_phone.so .
More information about the asterisk-users