Networking :: Trying to compile 2200BG driver for 2.4.26 Kernel



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

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

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.

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

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.

Next Page...
original here.