LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-21-2004, 11:08 PM   #1
Oh Cisco
Member
 
Registered: Jul 2004
Location: Phoenix
Distribution: debian etch
Posts: 95

Rep: Reputation: 15
Where is kernel header files located?


I am trying to install the driver for a modem and the instructions said I needed the kernel header files, so I did a uname -r and 2.4.18-bf2.4 came up. I used synaptic and retrieved the kernel-headers-2.4.18-bf2.4.
The next step is asking me to correct in Makefile path to local linux kernel header files and shows this:

KERNEL_INCLUDES=/path/to/linux/include

Where is the local linux kernel header files it is asking for?
 
Old 10-22-2004, 07:11 AM   #2
kawdk
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Debian
Posts: 34

Rep: Reputation: 15
You can make this:
debian:~# apt-get install kernel-headers-$(uname -r)
debian:~# cd /usr/src
debian:/usr/src# ln -sf kernel-headers-$(uname -r) linux

I think its the most correct way to install kernel-headers.
 
  


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
What!? Kernel header files too old? LinuxLuvr Linux From Scratch 2 06-20-2005 09:43 AM
Kernel Header Files apocolpse SUSE / openSUSE 3 11-19-2004 01:48 PM
C Header Files. Where are they located?? RoaCh Of DisCor Linux - Software 1 08-09-2004 01:16 PM
where are header files located? Anubis Programming 2 07-04-2004 04:12 AM
Where are the standard header files located? CodeWarrior Programming 3 12-25-2003 11:33 PM

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

All times are GMT -5. The time now is 04:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration