strip -R .comment -R .note bin-i386/diet-i bin-i386/diet gcc -O2 -pipe -fforce-addr -fno-stack-protector -fno-stack-protector-all -D__dietlibc__ -fno-stack-protector-all -fno-stack-protector -o bin-i386/elftrunc contrib/elftrunc.c bin-i386/diet gcc -O2 -pipe -fforce-addr -fno-stack-protector -fno-stack-protector-all -D__dietlibc__ -fno-stack-protector-all -fno-stack-protector -o bin-i386/dnsd contrib/dnsd.c /var/tmp/portage/dietlibc-0.29/temp/ccZwx7R9.o: In function `handle': dnsd.c:(.text+0x264): undefined reference to `sendto' dnsd.c:(.text+0x2ab): undefined reference to `socket' /var/tmp/portage/dietlibc-0.29/temp/ccZwx7R9.o: In function `recv4': dnsd.c:(.text+0x5b5): undefined reference to `recvmsg' /var/tmp/portage/dietlibc-0.29/temp/ccZwx7R9.o: In function `recv6': dnsd.c:(.text+0x654): undefined reference to `recvmsg' /var/tmp/portage/dietlibc-0.29/temp/ccZwx7R9.o: In function `main': dnsd.c:(.text+0x7a5): undefined reference to `socket' dnsd.c:(.text+0x7be): undefined reference to `socket' dnsd.c:(.text+0x81f): undefined reference to `bind' dnsd.c:(.text+0x880): undefined reference to `bind' dnsd.c:(.text+0x928): undefined reference to `setsockopt' dnsd.c:(.text+0x954): undefined reference to `setsockopt' dnsd.c:(.text+0x9aa): undefined reference to `setsockopt' dnsd.c:(.text+0x9df): undefined reference to `setsockopt' dnsd.c:(.text+0xa15): undefined reference to `setsockopt' /var/tmp/portage/dietlibc-0.29/temp/ccZwx7R9.o:dnsd.c:(.text+0xa39): more undefined references to `setsockopt' follow collect2: ld returned 1 exit status make: *** [bin-i386/dnsd] Error 1 !!! ERROR: dev-libs/dietlibc-0.29 failed. !!! Function src_compile, Line 51, Exitcode 2 !!! emake failed -------------------------------------------------------------------------------- [ebuild U ] dev-libs/dietlibc-0.29 [0.28] -debug 0 kB -------------------------------------------------------------------------------- Gentoo Base System version 1.6.14 Portage 2.0.54-r2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r3, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] 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-r1 sys-devel/binutils: 2.16.1-r2 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 -pipe -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/texmf/dvipdfm/config / /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/co nfig/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail /etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distclean distlocks genpkgindex sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo " MAKEOPTS="-j4" PKGDIR="/usr/portage/packages/hardened/x86" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/portage/packages" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="berkdb bindist crypt dlloader hardened jpeg mp3 mpeg ncurses nls ogg pam pic png readline ssl t cpd tiff userlocales vcd vorbis x86 xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSY NC_OPTS
*** This bug has been marked as a duplicate of 111880 ***