gcc -D_GNU_SOURCE -O3 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer -Wstrict-prototypes -Wall -g -Iinclude-glibc -include include-glibc/glibc-bugs.h -I//usr/include -I../include -c -o ping6.o ping6.c In file included from traceroute6.c:247: /usr/include/netinet/udp.h:68: error: parse error before "uint16_t" /usr/include/netinet/udp.h:70: error: parse error before "len" /usr/include/netinet/udp.h:71: error: parse error before "check" traceroute6.c: In function `packet_ok': traceroute6.c:751: error: increment of pointer to unknown structure traceroute6.c:751: error: arithmetic on pointer to an incomplete type traceroute6.c:757: error: invalid use of undefined type `struct udphdr' make: *** [traceroute6] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: net-misc/iputils-021109-r3 failed. !!! Function src_compile, Line 70, Exitcode 2 annika ~ # emerge info Portage 2.0.51_rc1 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040916-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa apache2 apm audiofile avi bcmath bindist bitmap-fonts bzlib calendar cdr cross crypt ctype cups curl curlwrappers dga dio dvb dvd encode exif fastcgi fbcon fftw flac foomatic foomaticdb ftp gd gif gnutls gphoto2 gstreamer gtk gtk2 icq imap imlib imlib2 ipv6 jabber jpeg kerberos lesstif libwww lirc maildir memlimit mhash mikmod mime mmap mmx mng mozilla ncurses nocd nothemes odbc oggvorbis openal opengl oscar pam png posix postgres ppds quicktime readline scanner sdl shared sharedmem simplexml slang slp snmp sockets speex spell sse ssl svg tcpd theora tidy tiff tokenizer truetype unicode usb videos wmf x86 xinerama xml2 xmms xosd xpm xprint xv xvid yahoo zlib"
this is a bug brought on by glibc-2.3.4.20040916 i think the older glibc had u_int16_t instead of uint16_t ...
No longer an issue with latest glibc. (I suppose the ebuild update fixed it as it's still the same glibc tarball. annika ~ # emerge info Portage 2.0.51_rc1 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium-m -mfpmath=sse -pipe -ffast-math -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium-m -mfpmath=sse -pipe -ffast-math -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa apache2 apm audiofile avi bcmath bindist bitmap-fonts bzlib calendar cdr cross crypt ctype cups curl curlwrappers dga dio dvb dvd encode exif fastcgi fbcon fftw flac foomatic foomaticdb ftp gd gif gnutls gphoto2 gstreamer gtk gtk2 icq imap imlib imlib2 ipv6 jabber jpeg kerberos lesstif libwww lirc maildir memlimit mhash mikmod mime mmap mmx mng motif mozilla ncurses nocd nothemes odbc oggvorbis openal opengl oscar pam png posix postgres ppds quicktime readline scanner sdl shared sharedmem simplexml slang slp snmp sockets speex spell sse ssl svg tcpd theora tidy tiff tokenizer truetype unicode usb videos x86 xinerama xml2 xmms xosd xpm xprint xv xvid yahoo zlib"
actually it is still broken with glibc 20040918
and since we've punted the 200409XX releases, this bug 'goes away' :)
*** Bug 65862 has been marked as a duplicate of this bug. ***
and we have a new glibc snapshot again
so... are we using the patch from the duplicate?
yeah i'll probably use that
looks like lv got impatient with me and added it :)