I've just upgraded gcc to 4.1.1, emerge -e system && emerge -e world, but net-analyzer/iptraf-2.7.0-r1 doesn't compile anymore : In file included from othptab.h:22, from itrafmon.c:34: addproto.h:4:1: warning: "IPPROTO_GRE" redefined In file included from /usr/include/netinet/ip6.h:23, from itrafmon.c:28: /usr/include/netinet/in.h:64:1: warning: this is the location of the previous definition gcc -O2 -march=pentium4 -pipe -fomit-frame-pointer -DUSE_IPV6 -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I/usr/include/ncurses -I../support -DVERSION=\"2.7.0\" -DPLATFORM=\"Linux/i386\" -c -o packet.o packet.c gcc -O2 -march=pentium4 -pipe -fomit-frame-pointer -DUSE_IPV6 -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I/usr/include/ncurses -I../support -DVERSION=\"2.7.0\" -DPLATFORM=\"Linux/i386\" -c -o tcptable.o tcptable.c gcc -O2 -march=pentium4 -pipe -fomit-frame-pointer -DUSE_IPV6 -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I/usr/include/ncurses -I../support -DVERSION=\"2.7.0\" -DPLATFORM=\"Linux/i386\" -c -o othptab.o othptab.c In file included from othptab.h:22, from othptab.c:30: addproto.h:4:1: warning: "IPPROTO_GRE" redefined In file included from /usr/include/netinet/ip6.h:23, from othptab.c:22: /usr/include/netinet/in.h:64:1: warning: this is the location of the previous definition In file included from othptab.c:28: tcptable.h:147: warning: 'struct OPTIONS' declared inside parameter list tcptable.h:147: warning: its scope is only this definition or declaration, which is probably not what you want tcptable.h:154: warning: 'struct OPTIONS' declared inside parameter list tcptable.h:170: warning: 'struct OPTIONS' declared inside parameter list tcptable.h:173: warning: 'struct OPTIONS' declared inside parameter list othptab.c: In function 'printothpentry': othptab.c:598: error: 'ICMP6_DST_UNREACH_NOTNEIGHBOR' undeclared (first use in this function) othptab.c:598: error: (Each undeclared identifier is reported only once othptab.c:598: error: for each function it appears in.) othptab.c:630: error: 'ICMP6_MEMBERSHIP_QUERY' undeclared (first use in this function) othptab.c:633: error: 'ICMP6_MEMBERSHIP_REPORT' undeclared (first use in this function) othptab.c:636: error: 'ICMP6_MEMBERSHIP_REDUCTION' undeclared (first use in this function) make: *** [othptab.o] Error 1 !!! ERROR: net-analyzer/iptraf-2.7.0-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile iptraf-2.7.0-r1.ebuild, line 40: Called die Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.4 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildsyspkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://cudlug.cudenver.edu/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/" LANG="fr_FR@euro" LINGUAS="fr" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/home/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://novazur.fr/gentoo-portage" USE="x86 acl acpi apache2 bash-completion bzip2 caps cdparanoia cdr cli crypt dlloader dvd dvdr encode exif gd geoip gif iconv idn imagemagick imap innodb ipv6 isdnlog jpeg lcms libwww lm_sensors maildir mime mmx mp3 mysql mysqli ncurses nls nptl nptlonly pam pcre pdflib perl php png posix pppd prelude python readline reflection sasl session simplexml snmp spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode vhosts xml xsl zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_fr userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Try w/ 3.0.0-r2.
Works. So, should be in stable branch, with gcc-4.1.1, no ?