SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
I have Suse 10 and believe I have installed from YAST all the bits and bobs to complie stuff.
basically I checked everything in YAST starting with kernel except stuff like Xen. Hope this is all I need to do?
Anyway, as usual, messing with wireless (not) lans and get to the point of trying to install the latest ndiswrapper (the only thing I have had any success with at all) and I get the following:
natoma:~/Desktop/ndiswrapper-1.11rc2 # make
make -C driver
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.11rc2/driver'
Can't find kernel sources in /lib/modules/2.6.13-15.8-default/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.11rc2/driver'
make: *** [all] Error 2
natoma:~/Desktop/ndiswrapper-1.11rc2 #
What on earth does this mean?! And what am I missing?!
This means that you also need to install the kernel sources for the particular kernel you are using. They should be easily available. Look for a kernel-source type file in YAST.
Unfortunately I am not very familiar with YAST or Suse, so I do not know the naming conventions used for kernel sources.
I would try getting a kernel from kernel.org,
go to /usr/src/
thier should be a folder called linux
add the kernel sources to /usr/src/linux-2.15.xx (what ever version you have)and link the linux folder to the new folder
Code:
ln -s linux-2.15.xx linux
compile your kernel, add it to the boot loader and then try your make make install.
I have had problems with the kernel that comes with some distros. (SUSE, Mandrake, Fedora)Well not reall so much Fedora, but still some issues.
Ack! Now that I am thinking about it a bit more, I have made a slight error. What you really need is not necessarily the source, but the kernel headers for your currently installed kernel.
To play it safe, I would get both the kernel headers and the kernel source from Suse and install them. Yes, you could grab the kernel from kernel.org, but I am pretty sure that Suse does some things a little different with their kernels that are put out for production, and by installing both the headers and sources from Suse you are sure to get the ones that were actually used to build the kernel you are running right now.
If you grab a new kernel source from kernel.org and build your own, then build this software against it, then J3N7iL's advice above is more appropriate.
Yes, Wells you are right. The SuSE kernel is quite different, it has its own peculiarities, and it's safer to use one of the kernels that SuSE has available, unless you know very well how to buil it in SuSE.
So, mcmorj you need to install the kernel-source package via YaST. You have to make sure that you are installing the kernel-source that matches your current kernel. Type the following command to know the kernel you are running:
Code:
uname -r
With this information go to YaST -> Software Management, in Selections go to Kernel Development, you should see the package kernel-source, check this one and Accept. YaST will install if for you.
you don't need to do any of that with suse. just install ndiswrapper not km_ndiswrapper. then install the driver for the card. no kernel recompile needed.
Thanks for the responses.
My enquiry was more general I guess.
The most I know about Kernels is Kernel Saunders Kentucky Fried Chicken!
What has been offered here is just waaaaaaaay over my head.
I have gone to the SUSE10 install CDs, installed everything I can find named kernel source.
What seens to be suggested is:
This isn't sufficient - I need to install something else?
I further need to compile it? (Which I cannot do at the moment anyway?
If I type make install and it all goes west - whats annoying the make install command? (any make install command, not just for ndiswrapper).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.