Results 1 to 10 of 28
I get this kind of error. I have the modules and the kernel.
I tried to do make KSRC = /lib/modules/2.6.3-7mdk/build
Its not working. Any quick suggestions?
Entering directory ~/home/royel/ndiswrapper-1.8/driver
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-25-2006 #1Just Joined!
- Join Date
- Jan 2006
- Posts
- 8
ndiswrapper installation for my wireless card
I get this kind of error. I have the modules and the kernel.
I tried to do make KSRC = /lib/modules/2.6.3-7mdk/build
Its not working. Any quick suggestions?
Entering directory ~/home/royel/ndiswrapper-1.8/driver
Can't find kernet sources in /lib/modules/2.6.3-7mdk/build
give the path to kernel sources with KSRC=<path>argument to
make
make[1]:***[prereq_check]error |
make[1]:Leaving directory ~/home/royel/ndswrapper-1.8/driver
make: ***[install]Error 2
hELP IS APPRECIATED
- 01-25-2006 #2
This may sound like a silly question, but do you have the kernel sources installed? Check either by using the MCC's "add/remove software tool" or by urpmi.
Life is complex, it has a real part and an imaginary part.
- 01-25-2006 #3Just Joined!
- Join Date
- Jan 2006
- Posts
- 8
I did urpmi ---.rpm
and it says everything is already installed
- 01-26-2006 #4
I am not familiar with that syntax in the command, but to make sure your kernel sources are installed, look at the output from:
Code:ls -l /usr/src/linux
or for an easy install of ndiswrapper, use urpmi to get it for you....Life is complex, it has a real part and an imaginary part.
- 01-26-2006 #5Just Joined!
- Join Date
- Jan 2006
- Posts
- 8
Okay, lets break it down;
1)In which folder do I tar ndiswrapper-1.8.tar.gz file?
2)In the website:
http://ndiswrapper.sourceforge.net/m...p/Installation
Prerequisites
You need a recent kernel at least 2.6.6 or 2.4.26 with source. Under Red Hat or Mandrake, the sources can be installed using the package kernel-source<kernel-version>.rpm. Make sure there is a link to the kernel source from the modules directory. /lib/modules/VERSION/build should be a link to the kernel source, where VERSION is the version of the kernel you are running. If there is no link, you'll get an error at the make install step. To create a link, assuming the kernel sources are present, use the command
ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build
I tried ,but it failed
it says no such input file or directory
should the
linux-<kernel-version> = kernel2.6.3-7mdk?
or
linux-<kernel-version> = 2.6.3-7mdk?
I still dont understand this /usr/src/linux-<kernel-version>
And also is linux the keyword?
or is it for particular linux? is it different for mandrake or fedora? or same?
- 01-26-2006 #6
it should be the same, but can you please paste out here the results from these commands:
note the funny looking aprostrophies near the uname command is the character above the ~ key.Code:ls -l /usr/src/linux <-- to see if sources are installed ls /lib/modules/`uname -r`
Life is complex, it has a real part and an imaginary part.
- 01-28-2006 #7Just Joined!
- Join Date
- Jan 2006
- Posts
- 8
ls -l /usr/src/linux ---> No such file or directory; for this command I was in my root directory
Originally Posted by AlexK
ls /lib/modules/`uname -r`-->
kernel/ modules.ccwmap modules.description and bunches of others
any idea?
- 01-29-2006 #8
this just shows you don't have the kernel sources installed.....
Now, either by using MCC's "Add/remove software" tool or urpmi, install the kernel source or kernel development package.Life is complex, it has a real part and an imaginary part.
- 04-25-2006 #9Just Joined!
- Join Date
- Apr 2006
- Posts
- 10
I dont mean to bring back an old Thread, but i am having a very similar problem in attempting to install ndiswrapper. Im currently using Mandrake 10.1, and i dont seem to have these Kernel files set. I dont seem to understand this add/remove software thing for the kernel files...if im right haha.
I would appreciate any kind of help.
*note: I am a newbie to Linux, but im just a little too confuzzled :P
Thanks again
- 04-26-2006 #10
Well, it is quite simple
launch the Mandrake Control Center (MCC), there should be a icon or something for installing and removing software. Go there, tell it to search and search for kernel sources or kernel headers. It should be available under the development sub-menu...
Note, I ahven't used Mandrake for ages now, so I might be a little confused to where the icons reside and what exactly they are called.Life is complex, it has a real part and an imaginary part.


Reply With Quote
