The time now is Sun 17 Jan 2021, 14:37
All times are UTC - 4 |
Author |
Message |
Locky

Joined: 01 Mar 2006 Posts: 24
|
Posted: Tue 20 May 2008, 07:07 Post subject:
Ndiswrapper compile |
|
Hello,
I have NOP 4 based on dingo. I have downloaded the dev_400.sfs file. I would like to compile a new version of ndiswrapper for my wireless card. I know the latest build of ndiswapper supports it and it doesn't work at the moment. Tips before my first compile with puppy?
make uninstall
make
sudo make install
cd xxx/ndiswrapper-xxx/
ndiswrapper -i XXX.inf
Does this look right with dev_400.sfs loaded?
It gave the following error after the make uninstall and then the make command.
sh-3.00# make
make -C driver
make[1]: Entering directory `/root/build/ndiswrapper-1.51/driver'
Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.21.7/build, is it configured?. Stop.
make[1]: Leaving directory `/root/build/ndiswrapper-1.51/driver'
make: *** [all] Error 2
sh-3.00#
The file /lib/modules/2.6.21.7/build does not exist. How do I specify the kernel version or is there an option I should add to the make command?
I looked in the make file but could not see where to modify.
Note I have already posted this in the NOP thread but perhaps this is a more appropriate place to get feedback.
Thanks
Locky
Last edited by Locky on Thu 19 Jun 2008, 12:47; edited 1 time in total
|
Back to top
|
|
 |
Locky

Joined: 01 Mar 2006 Posts: 24
|
Posted: Thu 05 Jun 2008, 16:54 Post subject:
|
|
bump please reply
|
Back to top
|
|
 |
Everitt
Joined: 19 Dec 2006 Posts: 331 Location: Leeds,UK or Birmingham, UK
|
Posted: Thu 05 Jun 2008, 18:40 Post subject:
|
|
As you've discovered ndiswrapper is kernel dependant, which is hardly supprising considering what it does. Unfortunately the kernel source is pretty big, so can't really be inclued in the devx.sfs file. (Hey, it's already bigger than the basic form of our beloved OS!)
The files you need are in the kernel source sfs. If I recall correctly the 2.6.21.7 build uses the same kernel as the 3.x series, so the file you'll need is ftp://ibiblio.org/pub/linux/distributions/puppylinux/sfs_modules-3/kernel-src_301.sfs.
Put it with devx_400.sfs, and rename to kernel-src_400.sfs, reboot and try again.
One other note, in Puppy you're running as root, so there is no need for sudo.
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
[ Time: 0.0640s ][ Queries: 12 (0.0156s) ][ GZIP on ] |