compiling cvs for rt73 ubuntu hardy

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4677

elitist_phoenix

19-03-2008 15:50:54

Hi there guys I've tried the search feature and i hope i'm not reposting something. But i can't get the latest driver to compile at all. Firmware is in /lib/firmware

Using ubuntu hardy with 2.6.24-12 kernel

discostu@discostu~/temp/rt2x00-cvs-2008031909$ make
CC [M] /home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.o
In file included from /home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c35
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h363 error field ‘conf’ has incomplete type
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h390 warning ‘struct ieee80211_vif’ declared inside parameter list
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h390 warning its scope is only this definition or declaration, which is probably not what you want
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h In function ‘vif_to_intf’
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h392 error dereferencing pointer to incomplete type
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h At top level
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h442 error field ‘band’ has incomplete type
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h666 error ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h667 error field ‘curr_band’ has incomplete type
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h990 warning ‘struct ieee80211_vif’ declared inside parameter list
/home/discostu/temp/rt2x00-cvs-2008031909/rt2x00.h998 warning ‘struct ieee80211_vif’ declared inside parameter list
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c In function ‘rt73usb_config_antenna_5x’
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c489 error ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c489 error (Each undeclared identifier is reported only once
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c489 error for each function it appears in.)
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c In function ‘rt73usb_config_antenna’
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c600 error ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c614 error ‘IEEE80211_BAND_2GHZ’ undeclared (first use in this function)
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c In function ‘rt73usb_link_tuner’
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c713 error ‘struct ieee80211_rx_status’ has no member named ‘band’
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c713 error ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c In function ‘rt73usb_agc_to_rssi’
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c1355 error ‘struct ieee80211_rx_status’ has no member named ‘band’
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c1355 error ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c In function ‘rt73usb_beacon_update’
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c1996 error ‘struct ieee80211_tx_control’ has no member named ‘vif’
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c At top level
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c2062 warning initialisation from incompatible pointer type
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c2066 error unknown field ‘bss_info_changed’ specified in initializer
/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.c2066 warning initialisation from incompatible pointer type
make[2] *** [/home/discostu/temp/rt2x00-cvs-2008031909/rt73usb.o] Error 1
make[1] *** [_module_/home/discostu/temp/rt2x00-cvs-2008031909] Error 2
make *** [default] Error 2

Any suggestions. Thanks in advance.

IvD

19-03-2008 16:12:33

Thanks for the tip, I have now made rt2x00 cvs officially deprecated.
It will be completely removed this weekend..

Either use rt2x00.git kernel tree or try the kernel updates from ubuntu to get more recent versions of the driver.