make[1]: Entering directory `/var/tmp/portage/sys-apps/iproute2-2.6.20.20070313/work/iproute-2.6.20-070313/ip' i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-mp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ip.o ip.c i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-mp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipaddress.o ipaddress.c ipaddress.c: In function `print_link_flags': ipaddress.c:102: error: `IFF_DYNAMIC' undeclared (first use in this function) ipaddress.c:102: error: (Each undeclared identifier is reported only once ipaddress.c:102: error: for each function it appears in.) make[1]: *** [ipaddress.o] Error 1 Looks like the /usr/include/net/if.h installed by sys-libs/glibc-2.3.6-r5 (the latest rev available on gentoo hardened) does not contain an IFF_DYNAMIC. Portage 2.1.2.5 (hardened/x86/2.6, gcc-3.4.6-vanilla, glibc-2.3.6-r5, 2.6.16-vs2.1.1-rc19-gentoo i686) ================================================================= System uname: 2.6.16-vs2.1.1-rc19-gentoo i686 AMD Athlon(tm) MP 2800+ Gentoo Base System release 1.12.10 Timestamp of tree: Thu, 03 May 2007 14:30:09 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-mp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LANG="en_US.UTF-8" LINGUAS="en en_US nl" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-overlay/layman/sunrise /usr/local/portage-overlay/layman/catalystframework /usr/local/portage-overlay/layman/gentoo-de /usr/local/portage-overlay/layman/zugaina /usr/local/portage-overlay/layman/savonet" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aac adns aio akode alsa ao aotuv apache2 arts audiofile avahi avi bash-completion bitmap-fonts bluetooth bzip2 crypt cups curl dbus dga divx4linux dlloader doc dri dvd dvdread encode ethereal exscalibar fbcon flac foomaticdb gif gnome gstreamer gtk gtk2 hal hardened hpn ifp ipod ipv6 ithreads jabber jack java jpeg kde kerberos kqemu ladcca libnotify live lzo mad matroska mikmod mmx modplug mozcalendar mozdevelop mozilla moznoirc mozsvg mp3 mpm-worker msn msnextras musicbrainz ncurses netjack network nfsv4 nptl nptlonly ogg oggvorbis opengl openssl oscar pam perl pic png pnp ppds pulseaudio python readline samba scim sdl slang sms sndfile speex sse ssl theora threads truetype unicode usb visualization vorbis vorbis-psy win32codecs wma x264 x86 xine xinerama xorg xpm xv xvid yahoo zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US nl" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of bug 162885 ***