LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-18-2006, 06:35 AM   #1
biiiep
Member
 
Registered: Aug 2003
Posts: 39

Rep: Reputation: 15
kernel headers


hallo,

i'm not sure about kernel headers, i installed slackware 10.2 with kernel 2.4 and updated to 2.6.15. now i want to compile hal, but i read in the internet that i have to update also the kernel headers in /usr/include/linux.
Now i'm not sure how to do this.
Perhaps somebody can tell me how to do this.
 
Old 02-18-2006, 02:04 PM   #2
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
im sure slack uses swaret to update which you can get from http://swaret.sourceforge.net/index.php
allso they use
http://freshmeat.net/projects/slaptget/
if you do a little reading on these web pages im sure you will find your answer.when you update your kernel you need to update your kernel headers or you wont be able to compile a lot of software
goodluck master
 
Old 02-18-2006, 02:27 PM   #3
quintessence
LQ Newbie
 
Registered: Feb 2006
Location: Bulgaria
Distribution: Slackware-Current
Posts: 4

Rep: Reputation: 0
first u need to download kernel-modules,kernel-ide,kernel-headers & kernel-source;then upgrade ur current kernel packages .. u may use 'upgradepkg packagename.tgz' / for compressed packages in .tgz / .. after that u have to configure,compile & install ur new kernel ..
 
Old 02-18-2006, 02:55 PM   #4
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
I would advise against updating the system headers (located in /usr/include/linux) unless you know what you're doing! Keeping the kernel source available after you've compiled/installed the kernel should be enough for any programs that require "kernel headers".

Try compiling hal and seeing what happens =)

- Piete.
 
Old 02-18-2006, 03:11 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,380

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
If you're not sure about kernel headers, maybe this will help.

I did say maybe ...
 
Old 02-19-2006, 04:12 AM   #6
biiiep
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
thanks for the fast replies, what i did now to solve my problem:
i installed my kernel and just made a symbolic link from /usr/include/linux to /usr/src/linux/include/linux/ .
is it enough or should i update some more things??
 
Old 02-19-2006, 04:23 AM   #7
biiiep
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
i read that's no good idea to update the kernel headers because you create an inconsitency with all the compiled and installed programs, because they were compiled with a 2.4 kernel... so i'm also confused... like the guy in the linked post above...

finally i compiled the hal with the trick above... but i'm not sure about how to handle in future. because some people say it makes the system unstable. What do i have to believe?
 
Old 02-19-2006, 04:50 AM   #8
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
believe pat
ftp://ftp.slackware.com/pub/slackwar...eaders.WARNING
 
  


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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 11:20 AM
Kernel Headers Jack0ne Linux - General 5 05-19-2005 11:45 PM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
kernel-headers for 2.6 uday Slackware 2 02-14-2004 10:03 AM

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

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