SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
In file included from /usr/include/bits/posix1_lim.h:153,
/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,
/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: *** [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
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
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.
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