LinuxQuestions.org
Help answer threads with 0 replies.
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 06-29-2004, 03:31 PM   #1
init
Member
 
Registered: Oct 2003
Location: Portland, Maine
Distribution: Gentoo 2004_2 2.6.7r14
Posts: 160

Rep: Reputation: 30
kernel headers 2.4.x used when compiling 2.6.7??


I am kinda new to kernel configs ........ I have done it many times now because I am a bit anal when it comes to my computer. But My situation is this. Im just a bit confused

I installed slack 10 bare.i kernel just to get up and running. Downloaded 2.6.7 and when through the hole deal and got a few 2.6.7 kernels running. I finally got one I like with minimal errors so I did a pkgtool and removed all things having to do with 2.4.x the stock kernel with slack 10. All is well for a while untill I realize that my HDD DMA error is due to not having the right support in the kernel (i think....) so I go to recompile yet again of course with errors because I removed my kernel headers.

Building a 2.6.7 kernel with 2.4.x headers is this a bad idea???? Cause this is what I have done thus far

What are the headers for exactly?

Were does one find kernel headers for 2.6.7 in tgz format or any format for that matter.

A kick in the right direction would be great.
 
Old 06-29-2004, 03:44 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
No, you can compile kernel 2.6.7 with 2.4.x headers because it does not need it to compile. kernel-headers are standart files used by programs to compile. There are mainly .h C file in wich there are some definition for standart functions, constant and more.

I succeed to compile a 2.6 test module with kernel-header 2.4.x package installed. And I think some programs may fail to compile with kernel-header 2.6.xx.
 
Old 06-29-2004, 04:18 PM   #3
w3edr5t
Member
 
Registered: Jul 2003
Location: Oslo/Norway
Distribution: Slackware
Posts: 33

Rep: Reputation: 16
Kernel headers are included on cd2 as a package.

But before you use it read the warning file:
/testing/packages/linux-2.6.7/kernel-headers.WARNING

That say:

This package of 2.6.7 based /usr/include/linux and /usr/include/asm headers
is being provided by request for some people who need it in order to compile
ASDL modem drivers for 2.6.7. As a general rule, installing kernel headers
that are newer than the kernel glibc was compiled with *may* cause problems,
so unless you need these for a particular reason it's best to stick with the
2.4.26 kernel-headers package for now.

Good luck!

-P.
 
  


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
libraries/headers locations question (compiling) shilo Slackware 1 10-04-2005 01:01 PM
Cross-COmpiling with MinGW32 headers Adam15906 Linux - Software 2 09-16-2005 10:51 PM
Error Compiling Linux-2.4.26 Headers AFI_Flame Linux From Scratch 3 06-04-2004 05:30 PM
Compiling after new 2.6.6 headers Tuttle Slackware 5 06-03-2004 04:22 PM
Problem compiling apache 2.0, ssl headers and gcc may be keys. eblakely Red Hat 0 04-16-2004 03:12 PM


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