LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2003, 01:51 AM   #1
opa_munster
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
Question 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
 
Old 07-30-2003, 02:02 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just install the package from the cd's... it's never normally installed by default as it's a pretty big lump of code.
 
Old 07-30-2003, 04:39 AM   #3
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
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.
 
Old 07-31-2003, 01:07 AM   #4
opa_munster
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Exclamation 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....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/src SeattleSux Linux - Newbie 3 12-23-2004 10:29 PM
debian installation problem /usr/src ashishuttarwar Linux - Software 3 10-11-2004 04:46 PM
/usr/src/??? iain.ross Linux - Software 5 08-24-2004 02:18 PM
where are located the ethernet-card driver sources code in OpenBSD /usr/src/...? maqelgav *BSD 5 06-09-2004 03:02 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration