A
A
Alexey Pomogaev2011-08-28 00:25:57
linux
Alexey Pomogaev, 2011-08-28 00:25:57

Can't compile driver on Linux?

Like this:
/home/foror/Downloads/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_init.c: In function 'RTMPInitAdapterBlock':
/home/foror/Downloads/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_init.c:99 : error: implicit declaration of function 'init_MUTEX'
/home/foror/Downloads/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_init.c:997:3: error: implicit declaration of function 'init_MUTEX_LOCKED'
make[2]: *** [/home/foror/Downloads/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module/rtmp_init.o] Error 1
make[1]: *** [_module_/home/foror/Downloads/2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module] Error 2
make [1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic-pae'
make: *** [all] Error 2
I tried to replace init_MUTEX and init_MUTEX_LOCKED with sema_init function with 1 and 0 arguments, respectively. Compiled, but when I start the device everything falls down and Linux crashes.
The device is dwa-110, the drivers are not quite native, but here linux-wless.passys.nl/query_part.php?brandname=D-Link it is in the green zone. On Windows with ralink firewood it works fine.
Downloaded this RT2501USB(RT73:RT2571W/RT2573/RT2671) from www.ralinktech.com/support.php?s=2
Ubuntu 11.04, followed these instructions help.ubuntu.com/community/WifiDocs/Driver/RalinkRT73

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
VBart, 2011-08-28
@VBart

And can you find out why you started all this if the driver is already in the kernel since 2.6.27?

I
Ilya Plotnikov, 2011-08-28
@ilyaplot

Works fine for me on ubuntu server 9. Didn't add anything extra.
Are you the same salesman who convinced me that this network card will never work on ubuntu?

S
skitales, 2011-08-28
@skitales

Look on the bourgeois Internet, for sure someone else had the same problem.

V
VladX, 2011-08-28
@VladX

Since I bought this device (about 2 years), everything has been working fine out of the box, I haven’t installed any firewood. Why do you need them?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question