i686-pc-linux-gnu-gcc -I/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include -I/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include -I/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG -I/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/ -c -o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/fdflush.o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/fdflush.c In file included from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/fdflush.c:24: /usr/include/stdio.h:645: error: stray '\10' in program /usr/include/stdio.h:645: error: syntax error before "FILE" /usr/include/stdio.h:645: error: syntax error before "long" In file included from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/libbb.h:49, from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/busybox.h:54, from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/fdflush.c:29: /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/pwd_.h:58: warning: declaration of `__stream' shadows a global declaration /usr/include/stdio.h:645: warning: shadowed declaration is here /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/pwd_.h:95: warning: declaration of `__stream' shadows a global declaration /usr/include/stdio.h:645: warning: shadowed declaration is here In file included from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/libbb.h:50, from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/busybox.h:54, from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/fdflush.c:29: /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/grp_.h:58: warning: declaration of `__stream' shadows a global declaration /usr/include/stdio.h:645: warning: shadowed declaration is here /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/grp_.h:95: warning: declaration of `__stream' shadows a global declaration /usr/include/stdio.h:645: warning: shadowed declaration is here In file included from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/libbb.h:52, from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/busybox.h:54, from /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/fdflush.c:29: /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/shadow_.h:71: warning: declaration of `__stream' shadows a global declaration /usr/include/stdio.h:645: warning: shadowed declaration is here /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/shadow_.h:74: warning: declaration of `__stream' shadows a global declaration /usr/include/stdio.h:645: warning: shadowed declaration is here /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include/shadow_.h:88: warning: declaration of `__stream' shadows a global declaration /usr/include/stdio.h:645: warning: shadowed declaration is here make: *** [/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/util-linux/fdflush.o] Error 1 !!! ERROR: sys-apps/busybox-1.00-r4 failed.
emerge --info, please...
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.11 i686) ================================================================= System uname: 2.6.11.11 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 2 2005, 11:01:46)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.4.3-r4, 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-pipe -O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.pair.com/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirrors.tds.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://eglimp/gentoo-portage" USE="x86 X aalib acpi alsa apm arts avi berkdb bitmap-fonts crypt cups curl directfb emboss encode esd fam flac foomaticdb fortran gd gdbm ggi gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx mmx2 mmxext motif mp3 mpeg mtrr ncurses nls ogg oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline samba sdl slang speex spell sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
You forgot to reopen the bug.
sorry i had to have something to comment to open the bug again and i had nothing to say, so i assumed a dev would reopen it, thanks.
odd ... can you post your /usr/include/stdio.h file as an attachment please
Created attachment 62870 [details] /usr/include/stdio.h from my computer
oh err, i missed the original error /usr/include/stdio.h:645: error: stray '\10' in program /usr/include/stdio.h:645: error: syntax error before "FILE" is that file slightly corrupted or something ?
I don't see how. I emerged a bunch of other stuff after that one failed. Should I upgrade to a newer gcc? Will it install a newer stdio.h?
re-emerge glibc, not a bug in busybox afaik