Sowohl unter Debian als auch unter Linux bekomm ich folgende Fehler beim Kompilieren des ZAPHFC Paktes:
Code:
make -C /usr/src/linux-2.6 SUBDIRS=/tmp/bristuff-0.2.0-RC8r/zaphfc ZAP= modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
CC [M] /tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.o
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:27:20: zaptel.h: Datei oder Verzeichnis nicht gefunden
In file included from /tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:28:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.h:274: error: `ZT_CHUNKSIZE' undeclared here (not in a function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.h:275: error: `ZT_CHUNKSIZE' undeclared here (not in a function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.h:282: error: field `span' has incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.h:283: error: field `chans' has incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »hfc_shutdownCard«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:130: Warnung: implicit declaration of function `zt_unregister'
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »hfc_btrans«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:254: error: `ZT_CHUNKSIZE' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:254: error: (Each undeclared identifier is reported only once
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:254: error: for each function it appears in.)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »hfc_brec«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:319: error: `ZT_CHUNKSIZE' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:380: Warnung: implicit declaration of function `zt_ec_chunk'
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »hfc_interrupt«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:719: error: `ZT_FLAG_RUNNING' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:724: Warnung: implicit declaration of function `zt_transmit'
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:758: Warnung: implicit declaration of function `zt_receive'
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »zthfc_open«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:777: error: dereferencing pointer to incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:784: Warnung: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:555)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »zthfc_close«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:792: error: dereferencing pointer to incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:800: Warnung: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:567)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »zthfc_startup«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:820: error: dereferencing pointer to incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:827: error: dereferencing pointer to incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:827: error: `ZT_FLAG_RUNNING' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:830: error: dereferencing pointer to incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:830: error: `ZT_FLAG_HDLC' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:831: error: dereferencing pointer to incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:831: error: `ZT_FLAG_BRIDCHAN' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:833: error: dereferencing pointer to incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: Auf höchster Ebene:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:861: Warnung: `struct zt_lineconfig' declared inside parameter list
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:861: Warnung: its scope is only this definition or declaration, which is probably not what you want
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »zthfc_spanconfig«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:862: error: dereferencing pointer to incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:862: error: dereferencing pointer to incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »zthfc_initialize«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:870: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:870: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:870: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:870: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:870: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:870: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:899: error: `ZT_LAW_ALAW' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:900: error: `ZT_CONFIG_AMI' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:900: error: `ZT_CONFIG_CCS' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:906: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:906: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:906: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:906: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:906: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:906: error: invalid application of `sizeof' to an incomplete type
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_EM' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_CLEAR' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_FXSLS' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_FXSGS' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_FXSKS' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_FXOLS' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_FXOGS' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_FXOKS' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_CAS' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:909: error: `ZT_SIG_SF' undeclared (first use in this function)
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:913: Warnung: implicit declaration of function `zt_register'
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c: In Funktion »hfc_findCards«:
/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.c:1009: Warnung: Verarbeiten des Argumentes 2 von »request_irq« von inkompatiblem Zeigertyp
make[2]: *** [/tmp/bristuff-0.2.0-RC8r/zaphfc/zaphfc.o] Fehler 1
make[1]: *** [_module_/tmp/bristuff-0.2.0-RC8r/zaphfc] Fehler 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-386'
make: *** [linux26] Fehler 2