i have updated my system to gcc-3.4.1 and libstdc++-v3 and also to the linu26-headers and since then i have the problem with /lib/cpp like this example from patch: checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. make: *** Keine Targets angegeben und keine
i have updated my system to gcc-3.4.1 and libstdc++-v3 and also to the linu26-headers and since then i have the problem with /lib/cpp like this example from patch: checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss. I will also add the config.log of patch. The /lib/cpp seems to be related to the gcc-config package, but remerging it failes with this: /usr/lib/portage/bin/ebuild.sh: line 893: cd: /var/tmp/portage/gcc-config-1.3.6/work/gcc-config-1.3.6: Datei oder Verzeichnis nicht gefunden >>> Test phase [not enabled]: sys-devel/gcc-config-1.3.6 >>> Install gcc-config-1.3.6 into /var/tmp/portage/gcc-config-1.3.6/image/ category sys-devel * Compiling wrapper... In Datei, eingefügt von /usr/include/bits/posix1_lim.h:130, von /usr/include/limits.h:144, von /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:122, von /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/syslimits.h:7, von /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/limits.h:11, von /usr/include/sys/param.h:22, von /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:15: /usr/include/bits/local_lim.h:36:26: linux/limits.h: Datei oder Verzeichnis nicht gefunden In Datei, eingefügt von /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:15: /usr/include/sys/param.h:23:26: linux/limits.h: Datei oder Verzeichnis nicht gefunden /usr/include/sys/param.h:24:25: linux/param.h: Datei oder Verzeichnis nicht gefunden In Datei, eingefügt von /usr/include/signal.h:327, von /usr/include/sys/wait.h:30, von /usr/include/wait.h:1, von /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:17: /usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: Datei oder Verzeichnis nicht gefunden In Datei, eingefügt von /usr/include/errno.h:36, von /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:21: /usr/include/bits/errno.h:25:26: linux/errno.h: Datei oder Verzeichnis nicht gefunden /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:32: error: `PATH_MAX' undeclared here (not in a function) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:33: error: `PATH_MAX' undeclared here (not in a function) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:34: error: `PATH_MAX' undeclared here (not in a function) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:35: error: `PATH_MAX' undeclared here (not in a function) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c: In Funktion »check_for_target«: /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:63: error: `PATH_MAX' undeclared (first use in this function) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:63: error: (Each undeclared identifier is reported only once /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:63: error: for each function it appears in.) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:63: Warnung: unused variable `str' /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c: In Funktion »find_target_in_path«: /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:92: error: `PATH_MAX' undeclared (first use in this function) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:92: Warnung: unused variable `str' /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c: In Funktion »find_target_in_envd«: /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:125: error: `PATH_MAX' undeclared (first use in this function) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:125: Warnung: unused variable `str' /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c: In Funktion »find_wrapper_target«: /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:183: error: `PATH_MAX' undeclared (first use in this function) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:183: Warnung: unused variable `str' /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c: In Funktion »modify_path«: /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:223: error: `PATH_MAX' undeclared (first use in this function) /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:223: Warnung: unused variable `dname_data' /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.2.c:223: Warnung: unused variable `str' My emerge info: Portage 2.0.51_pre13 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,glibc-2.3.4.20040619-r0, 2.6.7-love8 i686 AMD Athlon(tm) Processor) ================================================================= System uname: 2.6.7-love8 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -Os -pipe -fomit-frame-pointer -falign-loops=16 -falign-jumps=16 -maccumulate-outgoing-args -fpeel-loops -fno-signaling-nans" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -Os -pipe -fomit-frame-pointer -falign-loops=16 -falign-jumps=16 -maccumulate-outgoing-args -fpeel-loops -fno-signaling-nans" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa anthy avi berkdb canna cdr cjk crypt directfb dvd encode escreen esd fbcon fbdev freetype freewnn gdbm gif gpm gtk gtk2 imlib imlib2 jack jack-tmpfs java javascript jpeg libg++ libwww mad mikmod motif mpeg mpeg4 nas ncurses nls nptl oggvorbis opengl oss pam pdflib perl png pnp python quicktime readline sdl skk slang spell ssl svga tcpd transcode truetype wolk-alsa wolk-bootsplash wolk-supermount x86 xine xinerama xml2 xrandr xv zlib"
the same happens when i change to gcc-3.4.1
Created attachment 35419 [details] patch's config
emerge sync and then re-emerge linux26-headers
I too have a problem, but it was resolved by removing the last lines in the limits.h include file ( line 122), because it ended telling me it couldn't find limits.h, removing the lines made it work, but I'm not to sure how right it is just to remove some lines.