Compile problems on cvs-20080224

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

ThomasNovin

24-02-2008 08:22:09

Hello.

I'm running Hardy Heron so I have the very buggy rt2x00 driver supplied with the 2.4.24 kernel. My wireless is always at 1Mbit and causes lockups.

I have tried to move to a newer driver but compilation fails.

[codecuos9a33]~/src/rt2x00-cvs-2008022401$ make
CC [M] /home/thnov/src/rt2x00-cvs-2008022401/rt2400pci.o
In file included from /home/thnov/src/rt2x00-cvs-2008022401/rt2400pci.c:35:
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h:363: error: field ‘conf’ has incomplete type
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h:390: warning: ‘struct ieee80211_vif’ declared inside parameter list
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h:390: warning: its scope is only this definition or declaration, which is probably not what you want
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h: In function ‘vif_to_intf’:
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h:392: error: dereferencing pointer to incomplete type
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h: At top level:
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h:442: error: field ‘band’ has incomplete type
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h:659: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h:660: error: field ‘curr_band’ has incomplete type
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h:979: warning: ‘struct ieee80211_vif’ declared inside parameter list
/home/thnov/src/rt2x00-cvs-2008022401/rt2x00.h:987: warning: ‘struct ieee80211_vif’ declared inside parameter list
/home/thnov/src/rt2x00-cvs-2008022401/rt2400pci.c: In function ‘rt2400pci_beacon_update’:
/home/thnov/src/rt2x00-cvs-2008022401/rt2400pci.c:1513: error: ‘struct ieee80211_tx_control’ has no member named ‘vif’
/home/thnov/src/rt2x00-cvs-2008022401/rt2400pci.c: At top level:
/home/thnov/src/rt2x00-cvs-2008022401/rt2400pci.c:1569: warning: initialization from incompatible pointer type
/home/thnov/src/rt2x00-cvs-2008022401/rt2400pci.c:1573: error: unknown field ‘bss_info_changed’ specified in initializer
/home/thnov/src/rt2x00-cvs-2008022401/rt2400pci.c:1573: warning: initialization from incompatible pointer type
make[2]: *** [/home/thnov/src/rt2x00-cvs-2008022401/rt2400pci.o] Error 1
make[1]: *** [_module_/home/thnov/src/rt2x00-cvs-2008022401] Error 2
make: *** [default] Error 2
[/codecuos9a33]

ThomasNovin

24-02-2008 09:20:39

According to this thread[/url1a0ztybg] the cvs code is not compatible with 2.6.24.

Is it possible to checkout a earlier version that does support 2.6.24? My goal is to have a stable network connection with my rt2500 pcmcia card.

I've read a bit about GIT and that you can check out other versions but I don't know how to do that.

nand

24-02-2008 11:47:10

See https//bugs.launchpad.net/ubuntu/+sour ... bug/190515 for the related bugreport...

The driver is not "very buggy", it is just that it will go by default on the 1Mbps rate. Manually set it to an higher speed, e.g. 54Mbps, and everything will go as expected. Still, it remains a bug.