bristuff-0.2.0.rc2b zaphfc Fehler beim Compilieren

vschellin

Neuer User
Mitglied seit
10 Jun 2004
Beiträge
30
Punkte für Reaktionen
0
Punkte
0
Bei bristuff-0.2.0-rc2b klappt zaptel / libpri / asterisk ohne Problem

Bei zaphfc bekomme ich das unten eingefügte Meter-lange Fehler-Protokoll

Mein System: AMD Athlon +2200 - 512 MB - Suse 9.0

contro0: AVM Fritz!PCI mit Capi - klappt einwandfrei mit chancapi - rein und raus
contro1: HFC Card (Conrad) - daran soll ein ISDN Telefon angeschlossen werden - wird vom Suse erkannt

Linux thales 2.4.21-99-default #2 Tue Dec 7 21:44:25 CET 2004 i686 athlon i386 GNU/Linux

Weitere Hilfe sehr willkommen, da ich bald verzweifel


Code:
thales:/usr/src/bristuff-0.2.0-rc2b/zaphfc # make clean all 
rm -f zaphfc.o *.ko *.mod.c *.mod.o .*o.cmd *~ 
cc -c zaphfc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 -W 
all -I/usr/src/linux/include  -Wall -DMODVERSIONS -include /usr/src/linux/includ 
e/linux/modversions.h  -DCONFIG_ZAPATA_BRI_DCHANS 
zaphfc.c:21:36: ../zaptel-1.0.2/zaptel.h: Datei oder Verzeichnis nicht gefunden 
In file included from zaphfc.c:22: 
zaphfc.h:271: error: `ZT_CHUNKSIZE' undeclared here (not in a function) 
zaphfc.h:272: error: `ZT_CHUNKSIZE' undeclared here (not in a function) 
zaphfc.h:273: error: `ZT_CHUNKSIZE' undeclared here (not in a function) 
zaphfc.h:274: error: `ZT_CHUNKSIZE' undeclared here (not in a function) 
zaphfc.h:281: error: field `span' has incomplete type 
zaphfc.h:282: error: field `chans' has incomplete type 
zaphfc.c: In function `hfc_shutdownCard': 
zaphfc.c:104: Warnung: implicit declaration of function `zt_unregister' 
zaphfc.c: In function `hfc_btrans': 
zaphfc.c:224: error: `ZT_CHUNKSIZE' undeclared (first use in this function) 
zaphfc.c:224: error: (Each undeclared identifier is reported only once 
zaphfc.c:224: error: for each function it appears in.) 
zaphfc.c: In function `hfc_brec': 
zaphfc.c:285: error: `ZT_CHUNKSIZE' undeclared (first use in this function) 
zaphfc.c:325: Warnung: implicit declaration of function `zt_ec_chunk' 
zaphfc.c: In function `hfc_drec': 
zaphfc.c:457: error: `ZT_CHUNKSIZE' undeclared (first use in this function) 
zaphfc.c: In function `hfc_interrupt': 
zaphfc.c:657: error: `ZT_FLAG_RUNNING' undeclared (first use in this function) 
zaphfc.c:663: Warnung: implicit declaration of function `zt_transmit' 
zaphfc.c:693: Warnung: implicit declaration of function `zt_receive' 
zaphfc.c: In function `zthfc_open': 
zaphfc.c:708: error: dereferencing pointer to incomplete type 
zaphfc.c: In function `zthfc_close': 
zaphfc.c:723: error: dereferencing pointer to incomplete type 
zaphfc.c: In function `zthfc_startup': 
zaphfc.c:751: error: dereferencing pointer to incomplete type 
zaphfc.c:758: error: dereferencing pointer to incomplete type 
zaphfc.c:758: error: `ZT_FLAG_RUNNING' undeclared (first use in this function) 
zaphfc.c:761: error: dereferencing pointer to incomplete type 
zaphfc.c:761: error: `ZT_FLAG_HDLC' undeclared (first use in this function) 
zaphfc.c:762: error: dereferencing pointer to incomplete type 
zaphfc.c:762: error: `ZT_FLAG_BRIDCHAN' undeclared (first use in this function) 
zaphfc.c:764: error: dereferencing pointer to incomplete type 
zaphfc.c: At top level: 
zaphfc.c:791: Warnung: `struct zt_lineconfig' declared inside parameter list 
zaphfc.c:791: Warnung: its scope is only this definition or declaration, which i 
s probably not what you want 
zaphfc.c: In function `zthfc_spanconfig': 
zaphfc.c:792: error: dereferencing pointer to incomplete type 
zaphfc.c:792: error: dereferencing pointer to incomplete type 
zaphfc.c: In function `zthfc_initialize': 
zaphfc.c:800: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:800: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:800: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:800: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:800: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:800: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:821: error: `ZT_LAW_ALAW' undeclared (first use in this function) 
zaphfc.c:822: error: `ZT_CONFIG_AMI' undeclared (first use in this function) 
zaphfc.c:822: error: `ZT_CONFIG_CCS' undeclared (first use in this function) 
zaphfc.c:828: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:828: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:828: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:828: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:828: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:828: error: invalid application of `sizeof' to an incomplete type 
zaphfc.c:831: error: `ZT_SIG_EM' undeclared (first use in this function) 
zaphfc.c:831: error: `ZT_SIG_CLEAR' undeclared (first use in this function) 
zaphfc.c:831: error: `ZT_SIG_FXSLS' undeclared (first use in this function) 
zaphfc.c:831: error: `ZT_SIG_FXSGS' undeclared (first use in this function) 
zaphfc.c:831: error: `ZT_SIG_FXSKS' undeclared (first use in this function) 
zaphfc.c:831: error: `ZT_SIG_FXOLS' undeclared (first use in this function) 
zaphfc.c:831: error: `ZT_SIG_FXOGS' undeclared (first use in this function) 
zaphfc.c:831: error: `ZT_SIG_FXOKS' undeclared (first use in this function) 
zaphfc.c:831: error: `ZT_SIG_CAS' undeclared (first use in this function) 
zaphfc.c:831: error: `ZT_SIG_SF' undeclared (first use in this function) 
zaphfc.c:835: Warnung: implicit declaration of function `zt_register' 
zaphfc.c: In function `hfc_findCards': 
zaphfc.c:917: Warnung: int format, long unsigned int arg (arg 8) 
make: *** [zaphfc.o] Fehler 1 
thales:/usr/src/bristuff-0.2.0-rc2b/zaphfc #
 
Code:
zaphfc.c:21:36: ../zaptel-1.0.2/zaptel.h: Datei oder Verzeichnis nicht gefunden
In file included from zaphfc.c:22:

Das dürfte des Rätsels Lösung sein... die Datei zaptel.h fehlt.
 
Ist die runtergeladene Asterisk-Version denn tatsächlich 1.0.2 oder schon 1.0.3?
 
Es ist die Version 1.0.3 und es war wriklich die Zeile 22 - Danke ecco -
Es funktioniert soweit - Jetzt werde ich eine ISDN Telefon anschließen und die nächsten Probleme lösen.

Nochmals Danke an dieses tolle Forum

ecco - you saved my day
 
@vschellin: Gern geschehn... :) Hast du eine Ahnung wie es passiert ist?

@skydata: äääääähmm... hat das hier irgenwer vermutet oder behauptet? :shock:
 
case closed

Ich habe nicht die ./install.sh im bristuff-0.2.0-rc2b ausgeführt , sondern einzeln die Teile wie zaptel, libpri, asterix und zaphfc heruntergeladen und manuell die makes ausgeführt.

zaptel, libpri, asterix liegen bereits in der Version 1.0.3 vor, wogegen das aktuelle zaphfc noch von 1.0.2 ausgeht.

Mal wieder: Kleiner Ursache große Wirkung
 
Kann man denn einfach symlinks 1.0.2->1.0.3 erstellen und die Scripte dann weiternutzen? Oder geht da was anderes schief?

Lars
 
Kann klappen, aber da die Patches natürlich für eine bestimmte Version erstellt wurden, kann (muss aber natürlich nicht) es zu Problemen kommen.
 
Tjo, klappt natürlich nicht...

Wo gibt es denn noch die Pakete für 1.0.2?

Lars
 
Digium hat ihre Pfade angepasst, musst also im download.sh vom bristuff

die wget Zeilen folgendermassen anpassen:
Code:
wget ftp://ftp.digium.com/pub/zaptel/old/zaptel-1.0.2.tar.gz
wget ftp://ftp.digium.com/pub/libpri/old/libpri-1.0.2.tar.gz
wget ftp://ftp.digium.com/pub/asterisk/old-releases/asterisk-1.0.2.tar.gz

Bei mir hat das wunderbar geklappt dann :)
 
In der aktuellen bristuff-0.2.0-rc2b (17-Dec-2004 17:10) sind die Pfade im Download-Script schon entspr. abgeändert
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,827
Beiträge
2,219,005
Mitglieder
371,520
Neuestes Mitglied
fredl_2
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.