LinuxQuestions.org
Review your favorite Linux distribution.
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 10-27-2010, 10:15 PM   #1
frank81
LQ Newbie
 
Registered: Oct 2010
Posts: 26

Rep: Reputation: 0
Missing kernel headers for Backtrack 3


I was trying to compile the driver for my wireless device and stumbled upon the 'missing kernel headers' error. Found the kernel header somewhere on the internet, named kernel.lzm. If I boot Backtrack 3 directly from the cd and not installing it, how do I use the kernel header? Do I need to install it, place it somewhere or just load it?
 
Old 11-02-2010, 08:28 PM   #2
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
Code:
$ apt-cache search linux-headers
and then perform this command on the one with the matching specifications of your install
Code:
$ sudo apt-get install linux-headers-<your-kernel-type>
 
Old 11-03-2010, 10:11 PM   #3
frank81
LQ Newbie
 
Registered: Oct 2010
Posts: 26

Original Poster
Rep: Reputation: 0
What do I put in for the kernel type? Do I put it kernel.lzm ?
 
Old 11-04-2010, 07:18 PM   #4
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
post the output of apt-cache search linux-headers
 
Old 12-07-2010, 02:33 AM   #5
frank81
LQ Newbie
 
Registered: Oct 2010
Posts: 26

Original Poster
Rep: Reputation: 0
Thanks for the reply & guidance.

Managed to install kernel.lzm that's required to use the "make" command.

Downloaded kernel.lzm to a directory. Switched to the directory & typed the code.
lzm2dir kernel.lzm /
 
Old 12-07-2010, 03:21 AM   #6
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Oops I may be wrong or there is something to learn here. BT3 was based on slackware so I do not think apt can be used.
Anyway if the OP's issue is resolved no problems .
 
Old 03-28-2014, 08:05 AM   #7
crabstick1111
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
help

hello i did apt-cache search linux-headers and i got loads numbers den i did sudo apt-get install linux-headers-<your-kernel-type> wat will i enter in your kerneel type?? i can post output file if u want
 
Old 03-28-2014, 09:29 AM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
in a terminal type uname -r that will tell you your running kernel.

Last edited by Drakeo; 03-29-2014 at 08:31 AM.
 
  


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
Slackware64-current missing kernel headers? UpAndUp Slackware 2 08-26-2009 08:08 PM
RHEL4 Kernel -devel/headers packages ...missing directories max_cherry Red Hat 4 01-15-2009 10:53 PM
Am I missing some stuff in /build/ ? Kernel Headers?!?!? yttrium88 Linux - Newbie 1 10-28-2006 09:40 PM
Missing Kernel Headers utku Debian 16 02-09-2005 03:20 AM
nVidia Driver won't install because Kernel Headers are missing...Whats that me then? Stevetgn Linux - Newbie 3 08-24-2003 09:27 PM

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

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