betateilchen schrieb:
- lösche das gesamte Verzeichnis, in dem Deine Sourcen liegen
- lösche das Verzeichnis /usr/lib/asterisk
- fang von vorne an - erstmal NUR Asterisk 1.2.8 (ohne addons und sounds)
- danach die app_conference
done ...
Code:
gcc -shared -Xlinker -x -o res_indications.so res_indications.o
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 -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_monitor.o res_monitor.c
gcc -shared -Xlinker -x -o res_monitor.so res_monitor.o
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 -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_adsi.o res_adsi.c
gcc -shared -Xlinker -x -o res_adsi.so res_adsi.o
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 -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_agi.o res_agi.c
gcc -shared -Xlinker -x -o res_agi.so res_agi.o
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 -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_features.o res_features.c
gcc -shared -Xlinker -x -o res_features.so res_features.o
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 -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_crypto.o res_crypto.c
gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto
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 -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_musiconhold.o res_musiconhold.c
gcc -shared -Xlinker -x -o res_musiconhold.so res_musiconhold.o
make[1]: Leaving directory `/usr/src/asterisk-1.2.8/res'
make[1]: Entering directory `/usr/src/asterisk-1.2.8/channels'
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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_sip.o chan_sip.c
gcc -shared -Xlinker -x -o chan_sip.so chan_sip.o
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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_agent.o chan_agent.c
gcc -shared -Xlinker -x -o chan_agent.so chan_agent.o
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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_mgcp.o chan_mgcp.c
gcc -shared -Xlinker -x -o chan_mgcp.so chan_mgcp.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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_iax2.o chan_iax2.c
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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o iax2-parser.o iax2-parser.c
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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o iax2-provision.o iax2-provision.c
gcc -shared -Xlinker -x -o chan_iax2.so chan_iax2.o iax2-parser.o iax2-provision.o
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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_local.o chan_local.c
gcc -shared -Xlinker -x -o chan_local.so chan_local.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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_skinny.o chan_skinny.c
gcc -shared -Xlinker -x -o chan_skinny.so chan_skinny.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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_features.o chan_features.c
gcc -shared -Xlinker -x -o chan_features.so chan_features.o -ldl -lpthread -lncurses -lm -lresolv -lssl
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 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -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 -DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_phone.o chan_phone.c
gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o -ldl -lpthread -lncurses -lm -lresolv -lssl
gcc -c -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 -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c
chan_zap.c:57:22: error: tonezone.h: Datei oder Verzeichnis nicht gefunden
chan_zap.c: In function âzt_callâ:
chan_zap.c:1854: warning: implicit declaration of function âtone_zone_play_toneâ
make[1]: *** [chan_zap.o] Fehler 1
make[1]: Leaving directory `/usr/src/asterisk-1.2.8/channels'
make: *** [subdirs] Fehler 1
jetzt geht nichts mehr ....
wie bekomme ich den zap teil wieder aus dem sever raus ?