LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-17-2004, 11:51 PM   #1
_mu_
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian, Slackware
Posts: 29

Rep: Reputation: 15
kernel 2.6.1 make error


Hi, I was all set to compile my kernel (2.6.1) when I got this error:

HOSTCC scripts/fixdep
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.2/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.2/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.2/include/limits.h:11,
from scripts/fixdep.c:105:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/netinet/in.h:212,
from scripts/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
scripts/fixdep.c: In function 'use_config':
scripts/fixdep.c:193: error: 'PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:193: error: (Each undeclared identify is reported only once
scripts/fixdep.c:193: error: for each function it appears in.)
scripts/fixdep.c:193: warning: unused variable 's'
scripts/fixdep.c: In function 'parse_dep_file':
scripts/fixdep.c:289: error: 'PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:289: warning: unused variable 's'
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts/fixdep] Error 2

So far I have had to swaret gcc and make to compile the kernel which is no troubles as I like to install the bare minimum at first then install the rest later. But I was wondering whether I might not have not installed something that is needed also to compile the kernel. If anyone can offer some advice or has some suggestion that would be great. Thanks
 
Old 01-18-2004, 06:43 AM   #2
kadaver
Member
 
Registered: Nov 2003
Location: Beautiful Northern-sweden (Luleå)
Posts: 90

Rep: Reputation: 15
You seem to be missing some of the kernel header files, wich are pretty essential for compiling the kernel. Try reinstalling the sources, if that doesn't work, download them again and install.
And if it still doesn't work, take two aspirins and call me in the morning =)
 
Old 01-18-2004, 08:24 AM   #3
_mu_
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian, Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
Yeh it was just the kernel-headers and ncurses I had to install. Thanks
 
Old 02-03-2004, 10:33 PM   #4
jesola
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by _mu_
Yeh it was just the kernel-headers and ncurses I had to install. Thanks
How do you do that?
I have the same problem.

Thanks.

(my linux knowledge is very poor)
 
  


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
Kernel 2.4.31 make menuconfig error technician Slackware 4 07-21-2005 10:11 PM
make bzImage - error with kernel 2.4.26 2mk-master Linux - Newbie 2 03-02-2005 03:28 PM
Kernel make-kpkg error TaNeK Debian 7 01-09-2005 12:24 PM
Kernel 2.6.9 make error (after bootsplash patch) jai_joy Linux - Newbie 7 12-06-2004 02:19 PM
error during make install with kernel 2.4.23 Bruce Hill Slackware 9 12-26-2003 07:47 PM

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

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