LinuxQuestions.org
Register a domain and help support LQ
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-18-2003, 05:03 PM   #1
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
Unhappy kernel 2.6 - missing includes


hi ^^
I'm having some problems compiling the 2.6 kernel...
I've removed all 2.4.23 related slack packages, deleted the linux* dirs in /usr/src, extracted the sources to /usr/src/linux-2.6.0 and made a symlink linux -> linux-2.6.0.
then I did a make mrproper and tried to do make menuconfig, which produced the following errors:
Code:
bash-2.05b# make menuconfig
  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.2.3/include/limits.h:132,
                 from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/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: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:193: (Each undeclared identifier is reported only once
scripts/fixdep.c:193: 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: `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
bash-2.05b#
can somebody please help me ? =[
 
Old 12-18-2003, 05:59 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Name and size of your kernel package?


Cheers,
Tink
 
Old 12-18-2003, 06:07 PM   #3
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Original Poster
Rep: Reputation: 30
name: linux-2.6.0.tar.bz2
size: 33255278 bytes (32MB)
md5sum: c9e73737002521a347d2e6617beb56cc

hmm....should be the right one ?
could It have something to do with the fact that I removed the 2.4.23 kernel headers package ?
or do I have to make some symlinks around for the header files ? ='(
 
Old 12-18-2003, 06:13 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Weird ... should be just dandy.



Cheers,
Tink
 
  


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
kernel includes do not match current kernel rafc Linux - Newbie 5 04-23-2010 01:28 AM
Kernel includes Micro420 Linux - Software 2 03-13-2005 02:00 PM
which kernel option includes pcmcia_core and ds? mcd Slackware 16 02-20-2005 05:56 PM
make-kpkg not working, so no kernel includes genixpro Linux - Hardware 3 09-14-2004 07:56 PM
missing m4 includes for sendmail.mc ?!? Peff Fedora 4 02-14-2004 01:12 PM


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