LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-06-2006, 05:32 PM   #1
amw2320
LQ Newbie
 
Registered: Aug 2003
Distribution: Arch 0.7
Posts: 24

Rep: Reputation: 15
kernel compilation problem


I just installed archlinux on my laptop, but im having trouble compiling a new kernel. Does anyone have any idea what this means:

HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h:122,
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/syslimits.h:7,
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h:11,
from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function 'use_config':
scripts/basic/fixdep.c:204: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:204: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:204: error: for each function it appears in.)
scripts/basic/fixdep.c:204: warning: unused variable 's'
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:300: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:300: warning: unused variable 's'
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** [include/linux/autoconf.h] Error 2
==> ERROR: Build Failed. Aborting...

???
 
Old 09-07-2006, 04:33 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Did you install kernel source *and* kernel headers?
 
Old 09-07-2006, 02:39 PM   #3
amw2320
LQ Newbie
 
Registered: Aug 2003
Distribution: Arch 0.7
Posts: 24

Original Poster
Rep: Reputation: 15
Got it, kernel headers must have been corrupted. An update fixed it.
 
  


Reply



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
Problem with 2.6.12.1 kernel compilation coolguy_iiit Linux - Newbie 1 08-01-2006 08:44 AM
Kernel compilation problem JJX Linux - Software 4 08-31-2005 05:50 AM
kernel 2.6.12.3 compilation problem rkrishna Slackware 50 08-16-2005 11:10 AM
Kernel compilation problem LinuxLover Linux - Enterprise 3 05-11-2005 11:03 AM
Problem after 2.6.3 kernel compilation frzburn Linux - General 3 03-11-2004 07:12 AM

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

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