Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34076 - gentoo-dev-sources
Summary: gentoo-dev-sources
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 19:21 UTC by Simon Branton-Housley
Modified: 2003-11-23 06:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Branton-Housley 2003-11-21 19:21:57 UTC
when running 'make menuconfig' or 'make xconfig' in
/usr/src/linux-2.6.0-test9-gentoo/ direcetory, i get this message.  i have had
no trouble making the vanilla 2.6.0-test kernels.

Reproducible: Always
Steps to Reproduce:
1.emerge sys-kernel/gentoo-dev-sources
2.cd /usr/src/linux-2.6.0-test9-gentoo/
3.make menuconfig

Actual Results:  
I get this error message:

[root@homer pts/1] 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/i686-pc-linux-gnu/3.2.3/include/limits.h:132,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/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

Expected Results:  
pulled up curses based kernel configuration menu

[root@homer pts/1] uname -a
Linux homer 2.6.0-test9 #4 Thu Nov 20 06:31:58 MST 2003 i686 AMD Athlon(tm) XP
1900+ AuthenticAMD GNU/Linux
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2003-11-22 08:16:17 UTC
please paste your emerge info && gcc -v
Comment 2 Simon Branton-Housley 2003-11-22 09:19:58 UTC
[root@homer pts/1] emerge info && gcc -v
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache distcc"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://adelie.polymtl.ca/ http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.10/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups foomaticdb libg++ mad mikmod nls pdflib quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts aalib svga sdl gpm tcpd pam libwww ssl perl python imlib qt motif gphoto2 X gtk -gnome -kde -apm alsa acpi cdr -dvdr directfb encode esd gif gtk2 imap java jpeg mmx mozilla mpeg mysql ncurses oggvorbis opengl png samba tcltk"

Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configured with: /var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2003-11-22 09:37:45 UTC
I think this is related to you using 3.2.3 (gcc), works fine here with gcc-3.3, I shall investiagte into it some, if you care to try with gcc-3.3 (id recommend it but its completely your choice) then please post findings :)
Comment 4 Simon Branton-Housley 2003-11-23 06:48:56 UTC
After emerging gcc 3.3.2-r2 and all of its associated packages, the new kernel built fine.  Thanks for the help.