Hello
Thanks a lot for the help.
I just commented these lines and its working:
#ifneq ($(wildcard
$(CROSS_COMPILE_TARGET)/usr/include/linux/ixjuser.h)$(wildcard
$(CROSS_COMPILE_TARGET)/usr/local/include/ixjuser.h),)
# CHANNEL_LIBS+=chan_phone.so
#endif
I just hope that this doesnt bring me problems in the future :P
Thanks
regards
Joao Pereira
Tzafrir Cohen wrote:
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 .
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users