LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   kernel 2.6 - missing includes (http://www.linuxquestions.org/questions/slackware-14/kernel-2-6-missing-includes-127039/)

poison 12-18-2003 04:03 PM

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 ? =[

Tinkster 12-18-2003 04:59 PM

Name and size of your kernel package?


Cheers,
Tink

poison 12-18-2003 05:07 PM

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 ? ='(

Tinkster 12-18-2003 05:13 PM

Weird ... should be just dandy.



Cheers,
Tink


All times are GMT -5. The time now is 05:09 PM.