Problems install module rt2500 under ubuntu

Live forum:


10-09-2008 16:36:25

Hi all,
I am a newbie in linux and I recently installed the last version of ubuntu into my an old notebook that don't have integrated wireless card. Because of that I bought a Gigabyte [b1a4vx1sp]GN-WMKG[/b1a4vx1sp] that I used to use in windows without any problems. Unfortunately it seems that the new version of ubuntu detect and install the drivers for this card but I have instability on the sign and by some obscure reason I cannot connect to protected wireless networks.

So I decided to search for a more appropriated driver and with a google search I found you project. I then use the ubuntu packet manager to install the source for rt2500 but when I try to follow the instructions in the README file I get an error during compilation with the follow command
module-assistant build rt2500

When I check the log I get the following information
# Install module ?
? dh_installdirs lib/modules/2.6.24-19-generic/kernel/drivers/net/wireless ?
? # Build modules ?
? /usr/bin/make KERNDIR=/usr/src/linux PATCHLEVEL=6 ?
? make[2] Entering directory `/usr/src/modules/rt2500' ?
? make[3] Entering directory `/usr/src/linux-headers-2.6.24-19-generic' ?
? CC [M] /usr/src/modules/rt2500/rtmp_main.o ?
? /usr/src/modules/rt2500/rtmp_main.c In function ‘RT2500_probe’ ?
? /usr/src/modules/rt2500/rtmp_main.c254 error implicit declaration of ?
? function ‘SET_MODULE_OWNER’ ?
? make[4] *** [/usr/src/modules/rt2500/rtmp_main.o] Error 1 ?
? make[3] *** [_module_/usr/src/modules/rt2500] Error 2 ?
? make[3] Leaving directory `/usr/src/linux-headers-2.6.24-19-generic' ?
? rt2500.ko failed to build!

Can someone help me solve this problem?
Thanks in advance


10-09-2008 19:09:25

How did you try to compile the module? Which instructions did you follow?



11-09-2008 09:53:40

I follow the instructions present in the README file that comes with the source package.
I don't have the laptop here right now so I can't tell you exactly the instructions but I remember it uses module-assistant build or something similar. But when I get home I can give you the exact instruction.


11-09-2008 18:58:36

I can't find any reference to module-assistant in the README. Are you using a tarball from our website? module-assistant is Debian (and Ubuntu) specific, and it's the recommend way to install modules on these distributions, but you can do without (and I've been for years ;)). So if you haven't, try again with the latest CVS tarball from our download section.