LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-16-2003, 07:10 AM   #1
Kaitain
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Rep: Reputation: 0
Thumbs down Kernel headers - MDK9.2. Again.


I hit upon the same problem getting my nvidia drivers to work in 9.2 as everyone else. Have already downloaded and installed the kernel sources package, which gets the nvidia drivers working... but only on one monitor.

If I try to get TwinView working, the x-server bails with a load of unresolved symbol errors. Reading the docs in the kernel sources package, it seems the kindly souls at Mandrake have separated the header files from the source and hidden the former from me:
Quote:
kernel-headers contains the headers for the source code of Linux kernel.
All source code necessary to compile a new kernel is included in two
packages kernel-headers, and kernel-source. You will need to install
both kernel-headers (needed for general Linux compilation), and
kernel-source in order to compile a new kernel.
I didn't believe it, but the configurations scripts for the kernel fail, never mind trying to actually compile it!

Q: Is there a copy of the kernel headers package floating around somewhere (for free, preferably) or am I going to have to download a vanilla source and build my own from scratch?

If the latter, does anyone know what config/patches MDK use? I'll make my own blasted headers rpm...
 
Old 12-16-2003, 09:19 AM   #2
dingding66
Member
 
Registered: Jan 2003
Location: Utah, USA
Distribution: Mandrake 9.2
Posts: 51

Rep: Reputation: 15
urpmi glibc-devel
 
Old 12-17-2003, 06:31 PM   #3
Kaitain
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Original Poster
Rep: Reputation: 0
glibc-devel was already installed. It has nothing to do with kernel headers.
 
Old 12-17-2003, 07:49 PM   #4
dingding66
Member
 
Registered: Jan 2003
Location: Utah, USA
Distribution: Mandrake 9.2
Posts: 51

Rep: Reputation: 15
OK. sorry then. I had looked through the mdk expert list archives and that was the answer that was given to someone there.
 
Old 12-18-2003, 05:05 AM   #5
Kaitain
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Original Poster
Rep: Reputation: 0
No it's fine. I did have to go away and check that Mandrake hadn't moved things where they shouldn't. the glibc-devel package contains all the C and C++ library headers; without them it's unlikely you'll compile much more than "hello world".

Basically, I'm on the lookout for a package called kernel-headers-2.4.22.10mdk-1-1mdk.rpm

Without it, life is a little bit tougher. Think I'm going to give up and compile my own. I'll grab a spec file from the Mandrake rpm devel boards to bundle it up. Anyone else want a copy?
 
  


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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 11:20 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
no kernel headers? Bullzeye Linux - Newbie 3 08-26-2003 12:01 PM
Kernel Headers?? ryanstrayer Linux - General 3 01-24-2002 05:42 AM

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

All times are GMT -5. The time now is 10: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