Linux - NewbieThis 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.
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.
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.
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.
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.
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?
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)
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.
Not with the kernel-binary you have installed. But you can update your kernel to k_athlon-2.4.21-286: ftp://ftp.suse.com/pub/suse/i386/upd...1-286.i586.rpm
and then install these sources. But you need to have both (binary and sources) of the same version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.