Zaptel Probleme

voip-knowledge

Neuer User
Mitglied seit
15 Jan 2006
Beiträge
108
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich versuche jetzt schon seit einer Woche Asterisk (bristuff0.3 und florz) auf Suse 10 zu installieren,. ohne Erfolg.
Asterisk läuft eigendlich immer aber der Rest nicht. Heute habe ich es mal mit einer anderen gcc versucht, siehe da, zaphfc das erste mal ohne Error. Dafür ließ sich dann aber Asterisk nicht mehr installieren.
Jetzt habe ich das ganze wieder umgestellt (gcc auf 4.x). Ein Wunder zaphfc funktioniert, Asterisk auch, alles ohne Error. Doch jetzt geht Zaptel nicht mehr :confused:
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" zttest.c -o zttest
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o fxotune.o fxotune.c
cc -o fxotune fxotune.o -lm
ir
You do not appear to have the sources for the 2.6.13-15-default kernel installed.
make: *** [linux26] Error 1

Habt Ihr noch irgendeine Idee? Ich nicht mehr :noidea:


Danke!!!
 
Wie bereits gesagt installier Devel-Kernel und vergiss dann nicht einen link zu machen um zaphfc zu kompilieren.

ln /usr/src/linux-xxx.xx.xxx /usr/src/linux-2.6

Oder

ln /usr/src/linux-xxx.xx.xxx /usr/src/linux-2.4 wenn ein 2.4 kernel ist.

Oh und pass auf der neuste bri-stuff 0.3 verwendet asterisk 1.2.2!! D.h. ändere das auf 1.2.3 oder installier es und Patche sofort den bug hier raus:

2006-01-25 09:46 +0000 [r8632] Olle Johansson <[email protected]>

* channel.c: Issue #6349 - the "timebomb" bug. Patch by Markster
over GPRS
 
Distribution

Vielen Dank für eure schnellen Antworten.

Ich kann leider erst morgen eure Vorschläge testen.


Vielleicht könnt Ihr mir noch eine Frage beantworten:

Ich hatte jetzt so viele Probleme mit Suse 10. Gibt eine Distribution die wirklich zuverlässig arbeitet und leicht zu installieren ist?

Würde mich wirklich freuen :-)


Schönen Sonntag noch
 
Gute Frage, also viele benutzen Debian. Einige setzten auf CentOS (RedHat) und andere die mehr Hardcore sind machen es mit Gentoo.

Ich hab alle Systeme auf Gentoo, aber wir machen Emedded Systems und deshalb bevorzugen wir eine Distro die man komplett selber kompilieren muss.
 
Hallo kombjuder,

dein Link ist Gold wert. Funktioniert mit Suse 10 alles genauso gut. Wichtig sind wirklich die Links zu löschen sind.
Also wenn man nicht gerade an ggc 4.0 hängen bleibt, geht asterisk auch unter 10.0.:p

Vielen Dank
 
Doch wieder Probleme :-(

Nach meier glücklichen Mail vorhin habe ich doch wieder Probleme.

Also, die Installation war ohne Probleme und errors.

Doch bei make load:

make[1]: Entering directory `/usr/src/linux-2.6.13-15.7'

WARNING: Symbol version dump /usr/src/linux-2.6.13-15.7/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.13-15.7'
modprobe zaptel
insmod ./zaphfc.ko
insmod: error inserting './zaphfc.ko': -1 File exists
make: *** [loadlinux26] Error 1

Nach dem Neustart von Linux wirds noch schlimmer:

[chan_zap.so] => (Zapata Telephony w/PRI)
Jan 30 11:18:59 WARNING[6529]: chan_zap.c:1062 zt_open: Unable to open '/dev/zap/channel': No such file or directory
Jan 30 11:18:59 ERROR[6529]: chan_zap.c:7061 mkintf: Unable to open channel 1: No such file or directory
here = 0, tmp->channel = 1, channel = 1
Jan 30 11:18:59 ERROR[6529]: chan_zap.c:11322 setup_zap: Unable to register channel '1-2'
Jan 30 11:18:59 WARNING[6529]: loader.c:414 __load_resource: chan_zap.so: load_module failed, returning -1
Jan 30 11:18:59 WARNING[6529]: loader.c:554 load_modules: Loading module chan_zap.so failed!

Warum das?:confused:
 
Geh mal ins Zaptel-Souce Verzeichnis, wird wohl zaptel-1.2.2 heißen. Dort machst Du ein "make devices" und probierst danach noch mal die Mudule zu laden.
 
Zaptel

Mein Zaptel Ordner hat die Version 1.2.1 und liegt in Bristuff.
Wenn ich im Ordner bin und "make device" eingebe bekomm ich eine Fehlermeldung.
Wie kann ich die Module laden?
 
@knowledge

Das bedeutet, daß Du devfsd laufen hast, welches die
Devices schon von alleine erzeugt. Einfach die README.udev
durchlesen, den Hinweisen folgen, dann funzt es.

Gruß
britzelfix
 
Kostenlos!

Statistik des Forums

Themen
248,886
Beiträge
2,303,958
Mitglieder
378,564
Neuestes Mitglied
warumdas