Hi zusammen,
der zaphfc lässt sich unter aktuellem Kernel nicht bauen:
-------------------------------------------------------------------------
boss:/usr/src/bristuff/zaphfc# make
make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/bristuff/zaphfc ZAP=-I/usr/src/bristuff/zaptel modules
make[1]: Entering directory `/usr/src/linux-2.6.17.1'
CC [M] /usr/src/bristuff/zaphfc/zaphfc.o
/usr/src/bristuff/zaphfc/zaphfc.c: In Funktion »hfc_dtrans«:
/usr/src/bristuff/zaphfc/zaphfc.c:396: error: structure has no member named `bytes2transmit'
/usr/src/bristuff/zaphfc/zaphfc.c:419: error: structure has no member named `bytes2transmit'
/usr/src/bristuff/zaphfc/zaphfc.c:436: error: structure has no member named `eoftx'
/usr/src/bristuff/zaphfc/zaphfc.c:455: error: structure has no member named `eoftx'
/usr/src/bristuff/zaphfc/zaphfc.c:459: error: structure has no member named `eoftx'
/usr/src/bristuff/zaphfc/zaphfc.c: In Funktion »hfc_drec«:
/usr/src/bristuff/zaphfc/zaphfc.c:471: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:472: error: structure has no member named `eofrx'
/usr/src/bristuff/zaphfc/zaphfc.c:506: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:511: error: structure has no member named `eofrx'
/usr/src/bristuff/zaphfc/zaphfc.c:521: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:527: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c: In Funktion »hfc_interrupt«:
/usr/src/bristuff/zaphfc/zaphfc.c:721: error: structure has no member named `bytes2transmit'
/usr/src/bristuff/zaphfc/zaphfc.c:722: error: structure has no member named `maxbytes2transmit'
/usr/src/bristuff/zaphfc/zaphfc.c:736: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:739: error: structure has no member named `eofrx'
/usr/src/bristuff/zaphfc/zaphfc.c:741: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:744: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:746: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:749: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:755: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c: In Funktion »zthfc_startup«:
/usr/src/bristuff/zaphfc/zaphfc.c:831: error: `ZT_FLAG_BRIDCHAN' undeclared (first use in this function)
/usr/src/bristuff/zaphfc/zaphfc.c:831: error: (Each undeclared identifier is reported only once
/usr/src/bristuff/zaphfc/zaphfc.c:831: error: for each function it appears in.)
make[2]: *** [/usr/src/bristuff/zaphfc/zaphfc.o] Fehler 1
make[1]: *** [_module_/usr/src/bristuff/zaphfc] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.17.1'
make: *** [linux26] Fehler 2
boss:/usr/src/bristuff/zaphfc#
-------------------------------------------------------------------------
Was mache ich falsch ?
Liegt es an meiner Kernelkonfig ?
Die Daten:
Debian Sarge
gcc 3.3.5
alles stable (keine backports) ausser der Kernel von kernel.org
Ist es grundsätzlich besser keinen so aktuellen Kernel mit bristuff zu verwenden ?
gruss
mntux
der zaphfc lässt sich unter aktuellem Kernel nicht bauen:
-------------------------------------------------------------------------
boss:/usr/src/bristuff/zaphfc# make
make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/bristuff/zaphfc ZAP=-I/usr/src/bristuff/zaptel modules
make[1]: Entering directory `/usr/src/linux-2.6.17.1'
CC [M] /usr/src/bristuff/zaphfc/zaphfc.o
/usr/src/bristuff/zaphfc/zaphfc.c: In Funktion »hfc_dtrans«:
/usr/src/bristuff/zaphfc/zaphfc.c:396: error: structure has no member named `bytes2transmit'
/usr/src/bristuff/zaphfc/zaphfc.c:419: error: structure has no member named `bytes2transmit'
/usr/src/bristuff/zaphfc/zaphfc.c:436: error: structure has no member named `eoftx'
/usr/src/bristuff/zaphfc/zaphfc.c:455: error: structure has no member named `eoftx'
/usr/src/bristuff/zaphfc/zaphfc.c:459: error: structure has no member named `eoftx'
/usr/src/bristuff/zaphfc/zaphfc.c: In Funktion »hfc_drec«:
/usr/src/bristuff/zaphfc/zaphfc.c:471: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:472: error: structure has no member named `eofrx'
/usr/src/bristuff/zaphfc/zaphfc.c:506: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:511: error: structure has no member named `eofrx'
/usr/src/bristuff/zaphfc/zaphfc.c:521: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:527: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c: In Funktion »hfc_interrupt«:
/usr/src/bristuff/zaphfc/zaphfc.c:721: error: structure has no member named `bytes2transmit'
/usr/src/bristuff/zaphfc/zaphfc.c:722: error: structure has no member named `maxbytes2transmit'
/usr/src/bristuff/zaphfc/zaphfc.c:736: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:739: error: structure has no member named `eofrx'
/usr/src/bristuff/zaphfc/zaphfc.c:741: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:744: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:746: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:749: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c:755: error: structure has no member named `bytes2receive'
/usr/src/bristuff/zaphfc/zaphfc.c: In Funktion »zthfc_startup«:
/usr/src/bristuff/zaphfc/zaphfc.c:831: error: `ZT_FLAG_BRIDCHAN' undeclared (first use in this function)
/usr/src/bristuff/zaphfc/zaphfc.c:831: error: (Each undeclared identifier is reported only once
/usr/src/bristuff/zaphfc/zaphfc.c:831: error: for each function it appears in.)
make[2]: *** [/usr/src/bristuff/zaphfc/zaphfc.o] Fehler 1
make[1]: *** [_module_/usr/src/bristuff/zaphfc] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.17.1'
make: *** [linux26] Fehler 2
boss:/usr/src/bristuff/zaphfc#
-------------------------------------------------------------------------
Was mache ich falsch ?
Liegt es an meiner Kernelkonfig ?
Die Daten:
Debian Sarge
gcc 3.3.5
alles stable (keine backports) ausser der Kernel von kernel.org
Ist es grundsätzlich besser keinen so aktuellen Kernel mit bristuff zu verwenden ?
gruss
mntux