Other Help Topics :: compilation problem
Hi,
I'm trying to compile the Ralink RT2860 wireless driver: http://www.ralinktech.com.tw/data....tar.bz2 on DSL 4.4.4.
I have installed gnu-utils.dsl and the kernel headers from the testing section. I have also installed a gcc dsl.
It starts compiling after a "make" command, but stops with an error complaining that "ld" doesn't accept "--as-needed" as an option.
From what I could google, it seems that ld is too old a version. I believe this program comes from the gnu-utils.dsl (newbie in compilation here), so how can I get a newer version of ld?
Or can someone direct me to the correct method to compile this driver? Thanks!
--as-needed was added in binutils 2.17.something, and is buggy there, it takes 2.18 to use it properly.
On the good side, it's not really lethal at all, just remove all mentions to --as-needed in the Makefiles and it should compile OK with the current ld you have.
(If the mention is "-Wl,--as-needed", remove the -Wl part too)
Thanks Curaga for the help. The strangest thing however is that I have not found any mention of --as-needed in any of the files I downloaded! Where could it come from?
That.. is a very good question. Totally beats me. Seems there's a newer version at ralinktech.com? (1.7.0)
Would ndiswrapper be a possibility?
I checked the files too - no mention. Something must generate it later.
Haven't tried the ndiswrapper method... because I can't get the drivers by themselves!
I have found an exe file HERE that contains the Windows thingies... so next question would be: how to get the drivers out of that file?
Next Page...
original here.