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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-21-2004, 02:09 AM
|
#1
|
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350
Rep:
|
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.)
|
|
|
10-21-2004, 02:20 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Install the package called kernel-headers.
In Mandrake type in as root: urpmi kernel-headers
|
|
|
10-21-2004, 09:01 AM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350
Original Poster
Rep:
|
Forgot to mention that:
I tried it earlier, message "everything is already installed".
And isn't kernel-headers part of the sourcecode?
|
|
|
11-11-2004, 08:55 PM
|
#4
|
LQ Newbie
Registered: Apr 2004
Distribution: RH 9,
Posts: 4
Rep:
|
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.
|
|
|
11-11-2004, 10:37 PM
|
#5
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
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.
|
|
|
11-25-2004, 03:08 AM
|
#6
|
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350
Original Poster
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 02:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|