Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-24-2005, 04:51 PM
|
#1
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Rep:
|
error when "make"ing stuff
i get the following error
make -C driver
make[1]: Entering directory `/home/Rich/Desktop/ndiswrapper-1.1/ndiswrapper-1.1/driver'
Can't find kernel sources in /lib/modules/2.4.21-183-athlon/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/Rich/Desktop/ndiswrapper-1.1/ndiswrapper-1.1/driver'
make: *** [all] Error 2
when i tried to make ndiswrapper.
have managed to avoid compilation until now, but i really need this to be solved.
|
|
|
05-24-2005, 06:27 PM
|
#2
|
Member
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384
Rep:
|
Sounds like you don't have the kernel sources installed. I'd try installing the kernel source package from your distribution and following the instructions in the error message, i.e. adding the parameter "KSRC=/path/to/kernel-sources" onto the end of the make command.
|
|
|
05-25-2005, 03:41 AM
|
#3
|
LQ Newbie
Registered: May 2005
Location: Schwaebisch Hall, Germany
Distribution: Debian
Posts: 2
Rep:
|
kernel-source and kernel-headers are needed to make thinks work !
|
|
|
05-25-2005, 04:59 AM
|
#4
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Original Poster
Rep:
|
OK, so how would i do that? i am using suse 9.0
Sorry for my complete incompetence 
|
|
|
05-25-2005, 05:20 AM
|
#5
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Open YaST -> Software -> Install and Remove Software,
select filter 'Search' and type 'kernel'. In the appearing list, select 'kernel-source' and install the package.
If you have updated your kernel via YOU previously, you need to run YOU again, to update the kernel source as well.
|
|
|
05-25-2005, 05:20 AM
|
#6
|
Member
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879
Rep:
|
It is usually a regular program package - search for the kernel source/kernel headers in Yast.
|
|
|
05-25-2005, 07:47 AM
|
#7
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Original Poster
Rep:
|
ok well i tried searching but it didnt find anything. i tried adding a new source of installation (from ftp.suse.com) but that diddnt work (gave an error)
would it be ok to simply download the rpm and install it on its own?
SuSE 9.X ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/kernel-source-2.4.21-286.i586.rpm
would be the one i would have i think. i want to know if its alright before i go round to my brothers house with broadband (40 mb is too much for dialup)
|
|
|
05-25-2005, 07:54 AM
|
#8
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Yes, you can certainly download the kernel and install it with rpm or YaST manually. But make sure that the kernel sources have exactly the same version as your binary kernel. The example you gave wouldn't fit.
kernel-source-2.4.21-286.i586.rpm <> /lib/modules/2.4.21-183-athlon
|
|
|
05-25-2005, 09:13 AM
|
#9
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Original Poster
Rep:
|
damn. you sure it wont work?
i cant find "kernel-source-2.4.21-183.i586.rpm" on google
|
|
|
All times are GMT -5. The time now is 07:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|