LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No sources in /usr/src after Installation (http://www.linuxquestions.org/questions/linux-newbie-8/no-sources-in-usr-src-after-installation-77200/)

opa_munster 07-30-2003 01:51 AM

No sources in /usr/src after Installation
 
Hi all,

I've installed Slackware 9.0.

I would like to compile the Kernel with Nvidia support.

My Problem : After the installation no files or subdirectories in /usr/src/ exist. Therefore it seems to be impossible to compile a new kernel (I expected to find a /usr/src/linux with kernel sources).

What was my mistake and how can I resolve this ?

Kind regards,

Marcus

acid_kewpie 07-30-2003 02:02 AM

just install the package from the cd's... it's never normally installed by default as it's a pretty big lump of code.

captainstorm 07-30-2003 04:39 AM

I also have a question here. I have not compiled the kernel for device supporting purpose. How to do that? Put the source together with the kernel source and compile them all?

Thank you.

opa_munster 07-31-2003 01:07 AM

I found it !
 
...in Slackware 9.0 the Kernel Sources are not included by default
(e.r in the Slackware 9.0.iso).

They have to be downloaded. At Slackware ftp-Servers you find /slackware9.0/slackware/ directory wicht contains a Directory /k. This contains the Kernel Sources wich have to be copied (or extracted) into /usr/src

I have to thank myself finding this out....


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