[RESOLVED]-problem installing asterisk 1.2.16

getting errors with make:

Wrote busy.h ./gentone ringtone 440 480 Wavelength 1 (in samples): 18.18182 Minimum samples (1): 200 (11.000000.3 wavelengths) Wavelength 1 (in samples): 16.66667 Minimum samples (1): 50 (3.000000.3 wavelengths) Need 200 samples Wrote ringtone.h 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_oss.o chan_oss.c gcc -shared -Xlinker -x -o chan_oss.so chan_oss.o -ldl -lpthread -lncurses -lm -lresolv -lssl 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 In file included from chan_phone.c:40: /usr/include/linux/ixjuser.h:351: error: syntax error before '*' token make[1]: *** [chan_phone.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.16/channels' make: *** [subdirs] Error 1 root@homepbx:/usr/src/asterisk/asterisk-1.2.16#
i do have make 3.81 installed…
any ideas??

have you done a ‘make clean’ ?

yes

Just quick question, is this an upgrade or a fresh install?

Also did you run the following commands in sequence?

./configure

then

make

then

make install

?

Cheers,

David.

this is version 1.2.16, not 1.4

there is not a ./configure file…

it’s an upgrade from 1.2.13

the chances of you using the chan_phone driver are pretty slim … do you actually use devices that require it ? if not, the easiest way to remedy this would be to remove it from the list of modules in the appropriate Makefile.

tried that, no resolve, but it seems once I rm all my asterisk modules, it installed just fine… very odd… but this issue has been resolved… stayed with 1.2.16 for a few hours, then decided to risk it with 1.4.1… here’s hoping… thanks for the assistance…

kind regards