- Mitglied seit
- 3 Jun 2004
- Beiträge
- 440
- Punkte für Reaktionen
- 1
- Punkte
- 18
bekomme bei Eingabe von make loadNT immer folgende Fehlermeldungen:
cc -c zaphfc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 -Wall -I/usr/src/linux/include -I../zaptel -Wall -DCONFIG_ZAPATA_BRI_DCHANS
In file included from /usr/src/linux/include/asm/processor.h:18,
from /usr/src/linux/include/asm/thread_info.h:13,
from /usr/src/linux/include/linux/thread_info.h:21,
from /usr/src/linux/include/linux/spinlock.h:12,
from /usr/src/linux/include/linux/capability.h:45,
from /usr/src/linux/include/linux/sched.h:7,
from /usr/src/linux/include/linux/module.h:10,
from zaphfc.c:16:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
zaphfc.c: In function `hfc_dtrans':
zaphfc.c:308: error: structure has no member named `bytes2transmit'
zaphfc.c:331: error: structure has no member named `bytes2transmit'
zaphfc.c:362: error: structure has no member named `eoftx'
zaphfc.c:366: error: structure has no member named `eoftx'
zaphfc.c: In function `hfc_drec':
zaphfc.c:377: error: structure has no member named `bytes2receive'
zaphfc.c:378: error: structure has no member named `eofrx'
zaphfc.c:420: error: structure has no member named `eofrx'
zaphfc.c:461: error: structure has no member named `eofrx'
zaphfc.c:475: error: structure has no member named `bytes2receive'
zaphfc.c:481: error: structure has no member named `bytes2receive'
zaphfc.c: In function `hfc_interrupt':
zaphfc.c:616: error: structure has no member named `bytes2transmit'
zaphfc.c:630: error: structure has no member named `bytes2receive'
zaphfc.c:639: error: structure has no member named `bytes2receive'
zaphfc.c: In function `zthfc_startup':
zaphfc.c:711: error: `ZT_FLAG_BRIDCHAN' undeclared (first use in this function)
zaphfc.c:711: error: (Each undeclared identifier is reported only once
zaphfc.c:711: error: for each function it appears in.)
zaphfc.c: In function `hfc_findCards':
zaphfc.c:843: warning: use of cast expressions as lvalues is deprecated
zaphfc.c:843: warning: use of cast expressions as lvalues is deprecated
make: *** [zaphfc.o] Error 1
Hat jemand eine Idee, woran das liegen könnte ?
Habe mir schon mit lspci -n die Vendor- & PCI-ID meiner Acer ISDN-Surf PCI ausgeben lassen und diese in die zaphfc.c eingetragen:
tmp = pci_find_device(0x1397, 0x2bd0, multi_hfc);
Brachte aber leider keine Veränderung.
Bin für jede Hilfe dankbar !
cc -c zaphfc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 -Wall -I/usr/src/linux/include -I../zaptel -Wall -DCONFIG_ZAPATA_BRI_DCHANS
In file included from /usr/src/linux/include/asm/processor.h:18,
from /usr/src/linux/include/asm/thread_info.h:13,
from /usr/src/linux/include/linux/thread_info.h:21,
from /usr/src/linux/include/linux/spinlock.h:12,
from /usr/src/linux/include/linux/capability.h:45,
from /usr/src/linux/include/linux/sched.h:7,
from /usr/src/linux/include/linux/module.h:10,
from zaphfc.c:16:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
zaphfc.c: In function `hfc_dtrans':
zaphfc.c:308: error: structure has no member named `bytes2transmit'
zaphfc.c:331: error: structure has no member named `bytes2transmit'
zaphfc.c:362: error: structure has no member named `eoftx'
zaphfc.c:366: error: structure has no member named `eoftx'
zaphfc.c: In function `hfc_drec':
zaphfc.c:377: error: structure has no member named `bytes2receive'
zaphfc.c:378: error: structure has no member named `eofrx'
zaphfc.c:420: error: structure has no member named `eofrx'
zaphfc.c:461: error: structure has no member named `eofrx'
zaphfc.c:475: error: structure has no member named `bytes2receive'
zaphfc.c:481: error: structure has no member named `bytes2receive'
zaphfc.c: In function `hfc_interrupt':
zaphfc.c:616: error: structure has no member named `bytes2transmit'
zaphfc.c:630: error: structure has no member named `bytes2receive'
zaphfc.c:639: error: structure has no member named `bytes2receive'
zaphfc.c: In function `zthfc_startup':
zaphfc.c:711: error: `ZT_FLAG_BRIDCHAN' undeclared (first use in this function)
zaphfc.c:711: error: (Each undeclared identifier is reported only once
zaphfc.c:711: error: for each function it appears in.)
zaphfc.c: In function `hfc_findCards':
zaphfc.c:843: warning: use of cast expressions as lvalues is deprecated
zaphfc.c:843: warning: use of cast expressions as lvalues is deprecated
make: *** [zaphfc.o] Error 1
Hat jemand eine Idee, woran das liegen könnte ?
Habe mir schon mit lspci -n die Vendor- & PCI-ID meiner Acer ISDN-Surf PCI ausgeben lassen und diese in die zaphfc.c eingetragen:
tmp = pci_find_device(0x1397, 0x2bd0, multi_hfc);
Brachte aber leider keine Veränderung.
Bin für jede Hilfe dankbar !