The Ultimate "When Will The Next Slackware Release Arrive" MegaThread
SlackwareThis Forum is for the discussion of Slackware 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.
And what would happen if I DID put the kernel source for 2.6 under /usr/src, but the header files were still 2.4???
As an example to the already given explanations, I can give this: I'm running a custom compiled 2.6 kernel (untarred to /usr/src/linux) but I have 2.4 headers. I can of course install drivers etc for 2.6, but I can't compile Ekiga (more accurately, its dependence pwlib) because it requires the V4L2 interface of the 2.6 kernel; for that, you have to install the 2.6 headers.
Edit: I meant to say, "I have 2.4 headers", corrected it.
I have been building kernels under /home for over 2 years now
and have never had one problem.
What a co-incidence. I have been building kernels under /usr/src since Slackware 9.1 (or was it 9.0?? ) was released and have never had one problem.
Quote:
Originally Posted by tuxdev
One major problem with building in /home. Build and run your kernel, then delete the original source dir, then try and build an out-of-tree module. I'd rather be able to just let my kernel source sit in a generic spot, than to be forced into leaving my kernel source alone in /home.
Exactly. I have two devices which require out-of-tree modules. A Netgear Wifi card (Madwifi modules) and an NVidia graphics card. They've always worked for me with a custom kernel compiled under /usr/src. I also use a lot of custom-compiled software. Never had any issues compiling under Slackware with this set up.
I could (and most likely DID) have done something wrong, but when I started playing w/making my own kernels, and removed the "/usr/src/linux" symlink that normally points to slackware's 10.2/2.4.31 default kernel; and then re-made a new symlink that pointed to my new kernel, I found that additional kernels over and above the one I made were no good or wouldn't even make for me. And I found that making my own packages for other app's were glitchy or wouldn't compile either.
I'm now doing a hybrid of what linus said, tho I dont like the idea of leaving my kernel in home, and I've had no problems. To each his own I guess
I have been building kernels under /usr/src and have never had one problem.
Idem
Quote:
They've always worked for me with a custom kernel compiled under /usr/src. I also use a lot of custom-compiled software. Never had any issues compiling under Slackware with this set up.
I used to have a real good English translation, but alas, I kept
it in /usr/src/linux rather than /home/goodness; and one night
while upgrading Slackware it got overwritten.
Last edited by Bruce Hill; 09-12-2006 at 03:52 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.