SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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: 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: *** [prereq_check] Error 1
make: Leaving directory `/root/Desktop/ndiswrapper-1.11rc2/driver'
make: *** [all] Error 2
What on earth does this mean?! And what am I missing?!
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
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:
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.
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).