LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-17-2006, 04:02 AM   #1
petervdv
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
cannot find kernel-source


uname -r = 2.6.11-6mdksmp
please tell me where can I find the kernel-source?
 
Old 05-17-2006, 04:28 AM   #2
petervdv
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
urpmi kernel-source-2.6= allready installed
But I have to answer this question:
What is the location of the directory of C header files that match your running
kernel?
They 're not in /usr/src/linux/include, so where are they?
 
Old 05-17-2006, 07:18 AM   #3
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Rep: Reputation: 30
Try /usr/src/linux or usr/src/linux-2.6.11-mdk

Last edited by pilatus666; 05-17-2006 at 07:19 AM.
 
Old 05-17-2006, 07:29 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,937

Rep: Reputation: 128Reputation: 128
This is what you get with commercial distributions -- they don't usually follow the published Linux standards, such as the Linux File System Standard -- and apparently don't want you compiling software (or kernels) yourself.

Last edited by Bruce Hill; 05-17-2006 at 10:56 AM.
 
Old 05-17-2006, 09:09 AM   #5
petervdv
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you both, ok, so how do I get the headers?

The directory of kernel headers (version 2.6.11-13mdksmp) does not match your
running kernel (version 2.6.11-6mdksmp)

urpmi kernel-headers-2.6.11-6mdksmp
no package named kernel-headers-2.6.11-6mdksmp

urpmq kernel-headers
no package named kernel-headers
 
Old 05-17-2006, 10:52 AM   #6
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Rep: Reputation: 30
Why are you needing them? If they are not installed they should be on your instalation cd... (they not installed by default) Go in the GUI to the Computer setup centre (K menu->System->setings->setup your pc you'll be asked for the root password, enteret it and there chosse the Remouve Pakeges from the pakege manager and in the search box etype kernel-source hit the search and if it aperas just click on it and the pats will be shown in the pakege info box. After that just klick the exit D't remouve them!!! If it doasen't appers it seams that you don't have them installed on your system... exit and enter to the add pakeges section search in the same way as above and install it! The kernel headers all installd automaticlly when you choose to install the kernel-source pakage
If this doas'nt help hpe that some more experienced user will come around and help you out
P.S. I'm not sure about the menu entries names because I'm not using on english version of Mandriva but you'll be able to found them...

Last edited by pilatus666; 05-17-2006 at 10:54 AM.
 
Old 05-19-2006, 08:52 AM   #7
dexter11
Member
 
Registered: Apr 2005
Distribution: Mandriva
Posts: 197

Rep: Reputation: 30
Quote:
Originally Posted by petervdv
The directory of kernel headers (version 2.6.11-13mdksmp) does not match your
running kernel (version 2.6.11-6mdksmp)
Instead of trying to find the older kernel-source try to find a newer kernel. If there is a kernel-source-2.6.11-13mdksmp, then there should be a matching kernel.
 
Old 12-12-2006, 06:02 AM   #8
silin
Member
 
Registered: Sep 2005
Location: Germany
Distribution: Mandriva free 2007
Posts: 39

Rep: Reputation: 15
I'm also having troubles finding kernel source. It can't be found among the available software on the Mandriva Free 2007 CDs by giving the search words: "linux kernel source" or just "source". How are you supposed to install it then? I don't have a directory /usr/src/linux, so I think I don't have it installed already.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can I find the source for my Kernel? husten SUSE / openSUSE 5 04-17-2006 09:19 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
Where can I find kernel-2.4.20-6 source s74b Linux - Newbie 3 11-20-2004 04:51 AM
Where Can I Find Kernel Source after Installation s74b Linux - Software 4 11-19-2004 03:59 AM
Where can I find kernel-source-2.6.6? Hell-Shooter Linux - General 5 06-05-2004 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration