Some compilation errors with current CVS and SuSE 80

mrcool at stupidgamerz.com mrcool
Mon Dec 15 07:19:11 PST 2003


Sorry to bother everybody some more...  12/15/03 CVS trying to compile
drivers... SuSE 8.0 First thing after a fresh install.  Stock kernel, etc. 
(2.4.18-4GB, kernel pcmcia).  I did turn on all "prism2_download" items and
pci busmastering in drivers/modules/hostap_config.h .  Im sure this will be
easy for you C++ programmers...  

  "make pccard" gives:

gcc -I/usr/src/linux/include  -O2 -D__KERNEL__ -DMODULE -Wall -g -c 
-fomit-frame-pointer -o driver/modules/hostap_cs.o driver/modules/hostap_cs.c
In file included from driver/modules/hostap_wlan.h:6,
                 from driver/modules/hostap_cs.c:31:
driver/modules/hostap_compat.h:54: warning: `yield' redefined
/usr/src/linux/include/linux/sched.h:500: warning: this is the location of
the previous definition
In file included from driver/modules/hostap_cs.c:200:
driver/modules/hostap_hw.c: In function `prism2_txexc':
driver/modules/hostap_hw.c:2386: union has no member named `addr'
driver/modules/hostap_hw.c:2386: union has no member named `addr'
driver/modules/hostap_hw.c:2387: union has no member named `addr'
driver/modules/hostap_hw.c:2388: warning: implicit declaration of function
`wireless_send_event'
driver/modules/hostap_hw.c:2388: `IWEVTXDROP' undeclared (first use in this
function)
driver/modules/hostap_hw.c:2388: (Each undeclared identifier is reported only
once
driver/modules/hostap_hw.c:2388: for each function it appears in.)
make: *** [driver/modules/hostap_cs.o] Error 1

  "make pci" gives:

gcc -I/usr/src/linux/include  -O2 -D__KERNEL__ -DMODULE -Wall -g -c 
-fomit-frame-pointer -o driver/modules/hostap_pci.o
driver/modules/hostap_pci.c
In file included from driver/modules/hostap_wlan.h:6,
                 from driver/modules/hostap_pci.c:24:
driver/modules/hostap_compat.h:54: warning: `yield' redefined
/usr/src/linux/include/linux/sched.h:500: warning: this is the location of
the previous definition
In file included from driver/modules/hostap_pci.c:163:
driver/modules/hostap_hw.c: In function `prism2_tx_80211':
driver/modules/hostap_hw.c:1869: label `tx_stats' used but not defined
driver/modules/hostap_hw.c: In function `prism2_rx':
driver/modules/hostap_hw.c:2017: warning: implicit declaration of function
`hfa384x_events_no_bap1'
driver/modules/hostap_hw.c: In function `prism2_txexc':
driver/modules/hostap_hw.c:2386: union has no member named `addr'
driver/modules/hostap_hw.c:2386: union has no member named `addr'
driver/modules/hostap_hw.c:2387: union has no member named `addr'
driver/modules/hostap_hw.c:2388: warning: implicit declaration of function
`wireless_send_event'
driver/modules/hostap_hw.c:2388: `IWEVTXDROP' undeclared (first use in this
function)
driver/modules/hostap_hw.c:2388: (Each undeclared identifier is reported only
once
driver/modules/hostap_hw.c:2388: for each function it appears in.)
make: *** [driver/modules/hostap_pci.o] Error 1


This is a test machine i built just for the purpose of testing the DWL 520
Rev. E1 that aparently does not have the firmware on the card, but needs to
be loaded with the driver.  Am I correct in the presumption that the 0.1.2
driver doesnt have the code to load the driver without the firmware present?

Anyway... what have i done wrong to create this error?

thanks

Jerryf




More information about the Hostap mailing list