-   Slackware (
-   -   make menuconfig error (

multios 01-30-2007 05:48 PM

make menuconfig error
I have a new 11.0 install and wanted to compile a kernel for my needs.
I have done this before (several times), but this problem(s) confuses me. I searched "fixdep", but I don't have a previous config file.
It looks like other problems also.
Here is the output with my two commands included:

bash-3.1# make mrproper
bash-3.1# make menuconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:11,
from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: 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: 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[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

bash-3.1# uname -a
Linux mybox 2.6.18 #4 Wed Sep 27 23:05:46 CDT 2006 i686 athlon-4 i386 GNU/Linux

Are there several items that didn't get installed? I know gcc is:
bash-3.1# gcc --version
gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO


Thanks for help.

gilead 01-30-2007 05:55 PM

/usr/include/linux/limits.h is in the kernel-headers- package. Have you checked to see if that is installed?

multios 01-30-2007 06:11 PM

No I didn't. Since I'm not running 2.4, I didn't know I needed the headers.
Thanks, I will check and install them.

Just installed them and make menuconfig is running :)
Thanks gilead, I never would have thought of that.

gilead 01-30-2007 07:42 PM

No problem - glad it's working :)

gnashley 01-31-2007 02:37 AM

These are what you need: kernel-headers, make, gcc, binutils, perl.
If you use menuconfig make sure you have the ncurses package installed. The libs included in aaa_libs are not enough for lxdialog to compile. You also need tcl for menuconfig.

multios 01-31-2007 09:50 AM

Thanks for all that. I wrote those down for next time.
I am trying to keep the installation as small as I can since I only have 5G to play with for now.
I got a kernel made, but with several problems, but that is for another topic :)

Thanks again.

All times are GMT -5. The time now is 12:54 PM.