Hello
Im trying to install an old version of Asterisk.
But it isnt working:

when I run "make install":

gcc -o gentone gentone.c -lm
./gentone busy 480 620
Wavelength 1 (in samples):   16.66667
Minimum samples (1): 50 (3.000000.3 wavelengths)
Wavelength 1 (in samples):   12.90323
Minimum samples (1): 400 (31.000000.3 wavelengths)
Need 400 samples
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 -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -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 -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
[EMAIL PROTECTED] asterisk-1.2.10]#

Whats happening?
I already tried with 3 different versions downloaded from asterisk.org site.

Thanks
Regards
Joao Pereira
_______________________________________________
--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

Reply via email to