LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-10-2006, 10:34 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Nvidia drivers and kernel headers not found?


I get kernel header file ~version.h not found when tyring to install Nvidia driver version 1.0-8762
I also says, the most likely reason for this is that the kernel source files have not been configured.
Is there a way to get around this or, Is there a nvidia driver I can install that doesnt depend on the auto installer?
 
Old 07-10-2006, 10:43 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
You will need to go to here and grab the kernel source that matches your Slackware version. It should be inside the repository <version number>/slackware/k. Install (using the installpkg kernel-source_bla_bla.tgz command) and most likely you will be able to install nvidia drivers after that.

Good luck!
 
Old 07-10-2006, 11:28 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Thanks, Ill give that a try.
 
Old 07-10-2006, 11:37 PM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
2.4.32 or 2.6.x?
I have had problems with recent Nvidia drivers with the old 2.4.32 kernel and source.
 
Old 07-11-2006, 12:27 AM   #5
b3rx
Member
 
Registered: Mar 2006
Distribution: Slackware 13.0
Posts: 75

Rep: Reputation: 15
it depends on what kernel you are using. if you are using the 2.4.32 then use the same version for your kernel headers and source
 
Old 07-11-2006, 01:15 PM   #6
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
You should probably make sure that /usr/src/linux is a symlink to the tree with the current kernel source as well. I've had problems when upgrading to a new kernel where I forgot to update /usr/src/linux (I know this is risky in itself, but I'm a mild risk-taker).
 
Old 07-11-2006, 02:21 PM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
Quote:
Originally Posted by ciotog
You should probably make sure that /usr/src/linux is a symlink to the tree with the current kernel source as well. I've had problems when upgrading to a new kernel where I forgot to update /usr/src/linux (I know this is risky in itself, but I'm a mild risk-taker).
no, /usr/scr/linux is not used for anything.
to find the kernelsource, the symlink "/lib/modules/`uname -r`/build"
is used by most installers, also the nvidia.

egag
 
  


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
INstalling Kernel Headers to update nvidia driver plbowler Mandriva 5 09-14-2006 12:10 PM
cant installltmodem(lucent) drivers(no kernel headers found) nikoz Linux - General 5 08-17-2006 04:52 PM
nVidia, kernel headers, etc jrcreasy Debian 23 08-20-2005 06:10 PM
No kernel headers found. What? colly Linux - General 1 02-21-2004 11:01 AM
Nvidia asking for kernel headers...? Redhat 9 Zkorpio Linux - Newbie 6 12-14-2003 05:38 PM

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

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