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 12-13-2010, 12:38 PM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Make Headers_Install error Slackware64


hey guys
so I was trying to make a 64bit 2.6.36.2 kernel for my multilib slackware64 setup and when doing "make headers_install" I get this error
Code:
  CHK     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:157:0,
                 from /usr/include/limits.h:145,
                 from /usr/lib64/gcc/x86_64-slackware-linux/4.5.1/include-fixed/limits.h:169,
                 from /usr/lib64/gcc/x86_64-slackware-linux/4.5.1/include-fixed/syslimits.h:7,
                 from /usr/lib64/gcc/x86_64-slackware-linux/4.5.1/include-fixed/limits.h:34,
                 from scripts/basic/fixdep.c:114:
/usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory
compilation terminated.
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
Can anyone tell me why this happened and if it can be fixed?
Thanks

EDIT: is this because it's multilib/compat32pkg?
do I need to go back to GCC for 64?

Last edited by linus72; 12-13-2010 at 12:51 PM.
 
Old 12-13-2010, 01:17 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Don't install the kernel headers unless you have a very good reason to, they can cause problems. You have to recompile other packages if you want things to work properly.
 
Old 12-13-2010, 01:30 PM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
You shouldn't be doing that anyway - the kernel headers on the system should match the ones that glibc is compiled against.
 
Old 12-13-2010, 02:21 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
oh
I guess I didnt realize that...

So, it doesnt matter if the kernel/modules etc are 2.6.36.2 and the headers are 2.6.35.7??
I just wanted the headers to match the 2.6.36.2 kernel

What would have to be recompiled to make a 2.6.36.2 header pkg?
thanks
 
Old 12-13-2010, 02:28 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Certainly glibc would, maybe other things too.
 
Old 12-13-2010, 04:13 PM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
ok
but it is OK to have different kernel, etc than headers
like I have a 2.6.36.2 kernel compiled with 2.6.35.7 headers
thats OK right?
 
Old 12-13-2010, 04:23 PM   #7
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 41
Yes, it is. Actually, this should stay like this. You'll only have to update your headers when glibc is updated, which both occur at the same time on the Slackware changelog. Alien Bob has a nice article about this in his wiki, which you should read: http://alien.slackbook.org/dokuwiki/...kernelbuilding

Last edited by rfernandez; 12-13-2010 at 04:24 PM.
 
Old 12-14-2010, 01:41 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
In some other distros, the headers package is called libc-headers instead of kernel-headers which may lead to less confusion. The bottom line is that the headers have absolutely no relation to the kernel version you are using. They have everything to do with the glibc version of your system -glibc is compiled against those headers so they should only be changed when glibc is re-compiled.
 
  


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
headers_install error suresh.j Linux - Kernel 1 08-16-2010 10:15 AM
How can I make PyQt4 slackbuild compile in Slackware64 <current>...? Alexvader Slackware 9 12-30-2009 07:45 AM
F4L + Slackware64-Current = Error. Martinezio Slackware 2 11-23-2009 09:39 AM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM
slackware64 and nvidia error message charlie_lab Slackware 5 05-22-2009 10:27 PM

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

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