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
 

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

reply to topic new topic new poll
Topic: Compiling ndiswrapper-1.51< Next Oldest | Next Newest >
joel_k Offline





Group: Members
Posts: 3
Joined: Jan. 2008
Posted: Feb. 03 2008,19:57 QUOTE

I am trying to compile the latest version of ndiswrapper to get my wirless card working.  I am running DSL-4.2.3 and have installed everything need to build the module (gnu-utils, gcc1-with-libs, linux-2.4.31). I have made oldconfig, linked to /usr/src/linux-2.4.31 (as /lib/modules/2.4.31/build points).  The build proceeds fine until I get a long list of make error 2's. The error 1 that starts them says:

gcc: installation problem, cannot exec `/KNOPPIX/usr/bin/../lib/gcc-lib/i486-linux/3.3.4/cc1': Argument list too long.

I haven't run into any error quite like this when building under other distro's. I would assume its something that has to do with the way gcc is installed in the DSL mod.  I'll poke around and see if I can learn anything on my own and maybe alter the make file, but any help would be greatly appreciated.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 04 2008,03:37 QUOTE

You could try:

1. Google on the error you pasted above and see what comes up
2. the compile-3.3.5 extension rather than gcc1-with-libs
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Feb. 04 2008,07:22 QUOTE

As lucky13 proved, that is pretty much in vain. He found out the most recent ndiswrapper, that works with 2.4 kernels that is, needs gcc 3.4 and some lib updating, which by his words would outweigh the gains clearly.

--------------
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 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Feb. 04 2008,16:17 QUOTE

Nobody reads the changelogs? The last ndiswrapper for 2.4 is 1.48:
Quote
Dropped support for 2.4 kernels (and very old 2.6 kernels)

http://ndiswrapper.sourceforge.net/joomla....llation

Nobody bothers to read the installation guide? It's not just a matter of running ./configure. You would know this if you'd read the documentation.
Quote
You need a recent kernel, at least 2.6.18 or 2.4.26, with kernel headers, and gcc-3.4 or newer. Make sure that /lib/modules/VERSION/build is a link to the kernel source, where VERSION is the version of the kernel you are running; this should be setup automatically by distribution package. If this path is not valid, kernel modules can’t be compiled. Also make sure gcc and associated packages (e.g., libc6-dev on Debian based distributions) are installed so C programs can be compiled. For help with these steps, refer to your distribution documents.

Ibid.

Update gcc and C libraries? This is a lot of work for very little improvement and how important is it to get it working *right now* depends on your level of patience. The real solution to better hardware (including wifi) support is updating the entire DSL base -- kernel, toolchain, etc.  -- and will be available soon. But if you like reinventing wheels, be sure to read the documentation (or the forums to see what's already been done and if the results were worth the effort).


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
joel_k Offline





Group: Members
Posts: 3
Joined: Jan. 2008
Posted: Feb. 05 2008,06:52 QUOTE

Well, not being inclined to give up to easy I did try several approaches.  I did miss the changelog, however I read the install and README. Build was looking for a file in linux-2.4.31/scripts called Makefile.build.  This file is used in 2.6, but not in 2.4 -- thus the helpful changelog.  I decided that I would just try dsl-3.4.11 since the card is rather old, and this worked without problem after much reading of makefiles and web on 4.2.3.
Back to top
Profile PM 
4 replies since Feb. 03 2008,19:57 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Compiling ndiswrapper-1.51

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