Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: compilation problem< Next Oldest | Next Newest >
danielp Offline





Group: Members
Posts: 57
Joined: May 2007
Posted: Aug. 25 2008,11:56 QUOTE

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!
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Aug. 25 2008,13:55 QUOTE

--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)


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
danielp Offline





Group: Members
Posts: 57
Joined: May 2007
Posted: Aug. 26 2008,19:05 QUOTE

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?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Aug. 26 2008,20:03 QUOTE

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.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
danielp Offline





Group: Members
Posts: 57
Joined: May 2007
Posted: Aug. 27 2008,14:41 QUOTE

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?
Back to top
Profile PM 
6 replies since Aug. 25 2008,11:56 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: compilation problem

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code