Probleme 1.2.4 zu kompilieren...

*-tuxi

Neuer User
Mitglied seit
28 Sep 2005
Beiträge
126
Punkte für Reaktionen
0
Punkte
16
N'Abend...

habe gerade versucht, Asterisk-1.2.4 zu kompilieren.
Beim make-Lauf kommt folgender Fehler:

Code:
./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
gcc -shared -Xlinker -x -o chan_phone.so  chan_phone.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_alsa.o chan_alsa.c
gcc -shared -Xlinker -x -o chan_alsa.so chan_alsa.o -lasound -lm -ldl
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 -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC  -o chan_zap.o chan_zap.c
chan_zap.c:66:2: error: #error "You need newer libpri"
chan_zap.c: In function âzt_callâ:
chan_zap.c:2263: warning: implicit declaration of function âpri_facility_enableâ
chan_zap.c:2298: warning: implicit declaration of function âpri_sr_set_redirectingâ
chan_zap.c:8197:2: error: #error "Upgrade your libpri"
chan_zap.c: In function âpri_dchannelâ:
chan_zap.c:8535: warning: implicit declaration of function âpri_shutdownâ
chan_zap.c:8544: warning: implicit declaration of function âpri_restartâ
chan_zap.c:8723: error: âPRI_EVENT_KEYPAD_DIGITâ undeclared (first use in this function)
chan_zap.c:8723: error: (Each undeclared identifier is reported only once
chan_zap.c:8723: error: for each function it appears in.)
chan_zap.c:8724: error: âunion <anonymous>â has no member named âdigitâ
chan_zap.c:8727: error: âunion <anonymous>â has no member named âdigitâ
chan_zap.c:8727: error: âunion <anonymous>â has no member named âdigitâ
chan_zap.c:8729: error: âunion <anonymous>â has no member named âdigitâ
chan_zap.c:8733: error: âunion <anonymous>â has no member named âdigitâ
chan_zap.c:8735: error: âunion <anonymous>â has no member named âdigitâ
chan_zap.c:8739: error: âunion <anonymous>â has no member named âdigitâ
chan_zap.c:8877: error: âstruct zt_pvtâ has no member named âcid_aniâ
chan_zap.c:8882: error: âpri_event_ringâ has no member named âcallingplanrdnisâ
chan_zap.c:9026: error: âpri_event_ringâ has no member named âcallinganiâ
chan_zap.c:9028: error: âpri_event_ringâ has no member named âcallinganiâ
chan_zap.c:9028: error: âpri_event_ringâ has no member named âcallinganiâ
chan_zap.c:9044: error: âpri_event_ringâ has no member named âredirectingreasonâ
chan_zap.c:9045: error: âpri_event_ringâ has no member named âredirectingreasonâ
chan_zap.c:9082: error: âpri_event_ringâ has no member named âredirectingreasonâ
chan_zap.c:9083: error: âpri_event_ringâ has no member named âredirectingreasonâ
chan_zap.c:9100: error: âpri_event_ringâ has no member named âcallinganiâ
chan_zap.c:9102: error: âpri_event_ringâ has no member named âcallinganiâ
chan_zap.c:9102: error: âpri_event_ringâ has no member named âcallinganiâ
chan_zap.c:9155: error: âpri_event_ringingâ has no member named âprogressâ
chan_zap.c:9188: error: âpri_event_proceedingâ has no member named âprogressâ
chan_zap.c:9215: error: âpri_event_proceedingâ has no member named âprogressâ
chan_zap.c:9247: error: âpri_event_proceedingâ has no member named âprogressâ
chan_zap.c:9694: error: âpri_event_hangupâ has no member named âaoc_unitsâ
chan_zap.c:9697: error: âpri_event_hangupâ has no member named âaoc_unitsâ
chan_zap.c:9697: error: âpri_event_hangupâ has no member named âaoc_unitsâ
chan_zap.c:9767: error: âpri_event_hangupâ has no member named âaoc_unitsâ
chan_zap.c:9770: error: âpri_event_hangupâ has no member named âaoc_unitsâ
chan_zap.c:9770: error: âpri_event_hangupâ has no member named âaoc_unitsâ
chan_zap.c:8350: warning: unused variable âplancallinganiâ
chan_zap.c: In function âstart_priâ:
chan_zap.c:10141: error: too many arguments to function âpri_newâ
chan_zap.c: In function âhandle_pri_set_debug_fileâ:
chan_zap.c:10249: warning: implicit declaration of function âpri_set_debug_fdâ
chan_zap.c: In function âapp_zapCDâ:
chan_zap.c:10476: warning: implicit declaration of function âpri_deflectâ
chan_zap.c: In function âsetup_zapâ:
chan_zap.c:11772: error: âPRI_SWITCH_QSIGâ undeclared (first use in this function)
chan_zap.c: In function âload_moduleâ:
chan_zap.c:12059: warning: passing argument 1 of âpri_set_errorâ from incompatible pointer type
chan_zap.c:12060: warning: passing argument 1 of âpri_set_messageâ from incompatible pointer type
make[1]: *** [chan_zap.o] Error 1
make[1]: Leaving directory `/admin/voip/asterisk-1.2.4/bristuff-0.3.0-PRE-1k/asterisk-1.2.4/channels'
make: *** [subdirs] Error 1
sip:/admin/voip/asterisk-1.2.4/bristuff-0.3.0-PRE-1k/asterisk-1.2.4 #


Auf welchen error muss ich mich berufen? Auf den ersten, weil die nächsten Folgefehler sind??
Falls dem so ist, was soll mir --> #error "You need newer libpri" <-- sagen?
Ich kann doch auch nicht mehr tun, als die v1.2.2 von asterisk.org laden... Hat jemand denn bitte eine neuere Version für mich?
...
Ich habe alles im Verzeichnis bristuff (v0.3.0-PRE-1k) in den entsprechenden Unterverzeichnissen.
zaptel, libpri und zaphfc mit florz wurden alle gepatcht, die patches liefen alle 100%ig durch. Alle liefen anständig beim make-Lauf durch, nur beim letzten, beim asterisk-1.2.4, da hakt es jetzt.
Alle Versionen vorhin geladen und daher aktuell.

Hat jemand eine Idee??

Michael
 
Hat denn niemand eine Idee hierzu?

Michael
 
Schau mal ob die libpri.h in

/usr/include/
bzw.
/usr/local/include/

die selbe ist wie unter usr/src/.../libpri-1.2.2

Wenn nicht, kopiere die aus dem libpri-1.2.2 verzeichnis in usr/include/
 
Hi,

TinTin schrieb:
Schau mal ob die libpri.h in

/usr/include/
bzw.
/usr/local/include/

die selbe ist wie unter usr/src/.../libpri-1.2.2

Wenn nicht, kopiere die aus dem libpri-1.2.2 verzeichnis in usr/include/
habe es heute endlich geschafft, meinen Asterisk von SUSE 10.0-Standard-Paketen auf 1.2.4 mit Florz-Patch upzudaten.

Der von mir oben gepostete Fehler lag ganz einfach darin begründet, dass ich nur die make-Läufe gestartet hatte, aber nichts (zaptel, libpri, zaphfc) installiert hatte.
Dadurch konnte die libpri.h auch nicht die sein, die Asterisk zum make-Lauf erwartet (nämlich die neuere von libpri-1.2.2)... ;-)

Also ganz logisch eigentlich... ;-)

Nun läuft's erstmal, jetzt muss ich den dialplan für 1.2 umschreiben...

--> Gibt es da zufällig eine Seite, in der die Änderungen von 1.0 zu 1.2 zusammengefasst wurden, insbesondere im Hinblick auf die Änderungen, die im dialplan nun erfolgen müssen???

Michael
 
Kostenlos!

Zurzeit aktive Besucher

Statistik des Forums

Themen
248,465
Beiträge
2,292,055
Mitglieder
377,900
Neuestes Mitglied
krautsourced