LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-01-2002, 09:09 PM   #1
vance
Member
 
Registered: Feb 2001
Location: San Francisco
Distribution: Mandrake 8.1 modified
Posts: 80

Rep: Reputation: 15
Question where are the kernel header files?


I have mandrake 8.1 but wanted to update my kernel to 2.4.18 for video reasons. so i downloaded and installed it and all is fine except my nvidia drivers are not finding the kernel component or something like that. the troubleshooting guide suggests i rebuild my drivers and tell it where the headers are that it should be built against. can anyone make a suggestion?

thanks so much!!!
 
Old 03-01-2002, 09:36 PM   #2
LinuxGod
LQ Newbie
 
Registered: Aug 2001
Location: Cave Mountain
Distribution: Redhat Only
Posts: 29

Rep: Reputation: 15
Post

Hello,

Well you can compile them against /usr/src/linux/include
and you will see the header files for the kernel you have
downloaded.


Thanks
 
Old 03-02-2002, 12:50 PM   #3
vance
Member
 
Registered: Feb 2001
Location: San Francisco
Distribution: Mandrake 8.1 modified
Posts: 80

Original Poster
Rep: Reputation: 15
good answer!

Groovy...that worked like a charm!
 
Old 03-04-2002, 08:51 AM   #4
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 32
newbie question...

Quote:
Originally posted by LinuxGod
Hello,

Well you can compile them against /usr/src/linux/include
and you will see the header files for the kernel you have
downloaded.


Thanks
And how do I do that? I don't even seem to have the /usr/src/linux/include folder.(should I have it?)
 
Old 03-04-2002, 11:07 AM   #5
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
if you don't have that directory, then you probably didn't install the kernel sources when you installed linux. you can probably install them from your cd's, or you can download a kernel and install that. the directory is a part of the kernel source.
 
Old 03-05-2002, 01:51 AM   #6
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 32
ok, I'll try that

Since my linux box isn't connected to the net yet (this whole thing is about compiling a driver for my modem :-) )
I'll get the sources from the cd.
Let's see what happens....
 
  


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
What!? Kernel header files too old? LinuxLuvr Linux From Scratch 2 06-20-2005 08:43 AM
Kernel Header Files apocolpse SUSE / openSUSE 3 11-19-2004 12:48 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM
Kernel Header Files? kholdstayr Slackware 1 12-22-2003 04:45 PM
What/where are kernel header files? Toker Linux - General 5 09-29-2003 11:16 PM

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

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