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: (5) </ [1] 2 3 4 5 >/

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

reply to topic new topic new poll
Topic: Trying to compile 2200BG driver for 2.4.26 Kernel, ^M characters throughout source< Next Oldest | Next Newest >
ccshortfuse Offline





Group: Members
Posts: 13
Joined: May 2006
Posted: Sep. 12 2006,15:15 QUOTE

Hi all,
I figured, after reading through all the posts about wireless drivers, that I'd give compiling the driver a go.  
Well, it seems the source code, has spurious ^M characters littered through the source, causing multiple headaches when I'm trying to compile.

Now be gentle, I'm dusting off my Linux knowledge which has been on ice for 10 or so years. (and I REALLY like DSL).  

My question is this......
Is there a way to clear the ^M out of the source, globally??  Or do i have to do this by hand, on a per error basis??

Also, any tips/tricks on compiling would be appreciated.  

Thanks

/Fuse
Back to top
Profile PM 
ccshortfuse Offline





Group: Members
Posts: 13
Joined: May 2006
Posted: Sep. 12 2006,18:01 QUOTE

UMMMMMMMMMM
Nevermind,  I had an epiphany and gave my hunch a look see.

Evidently, you don't want to expand any tarball using a windbloze box, because I copied the tarball into DSL and expanded it from there and NO ^M characters.

My apologies.  Guess some of the dust is clearing.  

I'd still like to have any pointers though.

thanks

/Fuse
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 12 2006,18:33 QUOTE

Heh, 7zip could work for your compression needs.

You'll typically need one of the gcc* with the kernelsource extensions available in myDSL.

Also, I'd suggest grabbing gcc 2.95 (from apt if no one has packaged it yet) since the kernel was built with that version.

When you go around to testing your newly built module, I'd suggest for you to use insmod first, before you go around packaging/remastering.
Back to top
Profile PM 
ccshortfuse Offline





Group: Members
Posts: 13
Joined: May 2006
Posted: Sep. 12 2006,19:05 QUOTE

Thanks for the reply.

I'm not thinking quite that far with regards to packaging etc etc...

I'm going to try to get it to work 1st, then I'll worry about that type of stuff.  I don't know whether I have to compile the ieee80211 source before the 2200 stuff because I'm sure there is some form of dependency lurking about.  
I have gcc from the DSL systems page.  Perhaps 2.95 would help as well.  

I'm going from the stance of 'If you've never tried something, and  are unwilling to try. Then you'll NEVER have done it.'  Kind of a learn as you go deal.

I've got the kernelsource.dsl package, but when I tried a compile, just using that source, it complained about no Rules.make file (??) So I grabbed the source from Kernel.org.

Again, thanks for the pointers and should you think of anything else. Chime in.  I'm all for as much knowledge as you are willing to give.

/Fuse
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 12 2006,19:37 QUOTE

Please don't use the source from kernel.org - it's not the same as DSL's and can cause problems.

There should be a .config file you can use in that package though.
Back to top
Profile PM 
21 replies since Sep. 12 2006,15:15 < Next Oldest | Next Newest >

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

Pages: (5) </ [1] 2 3 4 5 >/
reply to topic new topic new poll
Quick Reply: Trying to compile 2200BG driver for 2.4.26 Kernel

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