Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-02-2003, 04:34 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 14

Rep: Reputation: 0
Question Kernel recompile for NVIDIA needed .h files?

I have downloaded my kernel sources in an attempt to install my Nvidia drivers... however it states that it can't find kernel.h and other headers it needs in the /usr/src/kernel-(my kernel number)

Sure enough there's nothing in there but .c files so how can I compile this bad boy so I get all the necessary .h files?

Old 11-02-2003, 08:09 PM   #2
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
The kernel source will have the needed files. Something must have went wrong with your download or tar file extraction.

Make sure your downloading the correct file.
Old 11-03-2003, 01:43 AM   #3
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 31
If you are with Slack, one way to get these .h files is to installpkg kernel-headers. It's on your installation CD. If you are with other distro.. there should be same sort of kernel-headers package on the CDs. That's all you need. No sources.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how2 recompile kernel 4 nvidia drivers AVD_ZM Fedora 9 12-25-2004 02:44 PM
Can't find kernel files for recompile jerrit Linux - Newbie 1 02-08-2004 06:46 PM
Kernel header files needed for Nvidia driver installation natalinasmpf Linux - Hardware 10 12-08-2003 05:55 AM
Files needed for recompile and missing Makefile Juniper34 Linux - Newbie 11 08-05-2003 12:42 AM
Laptop kernel recompile, attempt #2. Guru advise needed please.. Pcghost Linux - General 3 04-10-2003 05:15 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration