LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2004, 02:09 AM   #1
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
How to get kernel headers?


To install Nvidias graphic-driver kernel-headers are needed, but they don't exist nowadays.
I am trying out several distros - mandrake 10.1, Suse 9.1 pro, Ubuntu (well, that's Debian so it shouldn't work), Mepis, WhiteBox .... None of them has these kernel headers, only in Slackware 10 could they be compiled.
I have the kernel source, at least Mandrake 10.1 has kernel.h in /boot, but that doesn't help, trying to download from Nvidia gives nothing.
So what am I to do? I need Nvidias driver for tv-out. (I could of course use Slackware but then Slack simply refuces to give me sound, I also find Slack's setup rather messy.)
(Could also be interresting to know why these headers aren't included any more when they obviously are important - this wasn't a problem with slightly older versions.)
 
Old 10-21-2004, 02:20 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Install the package called kernel-headers.

In Mandrake type in as root: urpmi kernel-headers
 
Old 10-21-2004, 09:01 AM   #3
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Original Poster
Rep: Reputation: 127Reputation: 127
Forgot to mention that:
I tried it earlier, message "everything is already installed".
And isn't kernel-headers part of the sourcecode?
 
Old 11-11-2004, 08:55 PM   #4
mikeZig
LQ Newbie
 
Registered: Apr 2004
Distribution: RH 9,
Posts: 4

Rep: Reputation: 0
I'm having the same problem! I'm trying to install a rocket raid 1640 on fedora core2, and just cannot find any headers. I've tried:

yum -y search kernel-header-$(uname -r)

and that tells me no info is available. I've also tried

apt-get install kernel-headers-$(uname -r)

and again no luck . I would really like to see a solution for this if one exists. Sorry if it is not appropriate for me to join in on the discussion here, but I've been bangin my head on this for some time now.
 
Old 11-11-2004, 10:37 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
these drivers need the headers from the source directory of the "current running kernel"
and that directory needs to be where the kernel was compiled originally..

if you are running some stock kernel then the package to install is "kernel-source" or something to that effect

there are some kernel interface headers in /usr/include/linux but they are headers to the kernel interface symbols in glibc not the includes to the current running kernel.
 
Old 11-25-2004, 03:08 AM   #6
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Original Poster
Rep: Reputation: 127Reputation: 127
My problem was not the kernelheaders - problem was my head...
The Nvidia-drivers for kernel 2.4 and 2.6 have the same name, I tried to install the driver for 2.4 on a 2.6 system...
 
  


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
Kernel Headers for 2.6 devinWhalen Mandriva 7 04-23-2004 09:35 AM
kernel-headers warmongr Red Hat 6 03-19-2004 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 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
Open Source Consulting | Domain Registration