LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Compile Question (https://www.linuxquestions.org/questions/slackware-14/compile-question-82729/)

steveh350 08-17-2003 12:22 AM

Compile Question
 
I have downloaded a copy of slackware 9 and installed it on my machine. I am having a few problems with sound but that can wait.

My first question is - How do I recompile/ compile the kernel. When I installed Slack 9 direct from the CD, it seemed to have pre-compiled kernels on it. But where are the source files?

I have tried to follow the compile instructions listed in the forum by "DaOne". When i look in /usr/src I have no linux directory.

The readme on the slack download refers to "sources" directory on the download but it does not exist on the cd?


:confused:

BittaBrotha 08-17-2003 12:48 AM

Well I always download my kernel source file and when you untar it, it normally creates a directory for the kernel name, eg: linux-2.4.21....then you can make a sym link to that directory.

Make sure you're doing all this in the /usr/src directory!

ln -s linux-2.4.21 linux, is an example of symlink

Once you done, you will have 2 new directories in /usr/src.

1 for linux-2.4.21 and one for the symlink named linux

I hope this helps.

redsea 08-17-2003 02:26 AM

I've had the same problem. Due to a problem of space, kernel sources aren't in the first CD of slackware 9; anyway you can download them from a source directory of an ftp, for example

ftp://bo.mirror.garr.it/mirrors/Slac...e-9.0/source/k

steveh350 08-17-2003 03:14 AM

Thank you guys. Found the source. Time for more reading!!!!


All times are GMT -5. The time now is 09:03 PM.