[asterisk-users] compile problem with wavelenght

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Apr 12 03:51:30 MST 2007


On Thu, Apr 12, 2007 at 10:25:37AM +0100, Joao Pereira wrote:
> Hello
> 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[1]: *** [chan_phone.o] Error 1
> make[1]: 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 .

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list