i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -mfpmath=sse -ftracer -Wall -D_GNU_SOURCE -c -o wall.o wall.c i686-pc-linux-gnu-gcc -o init init.o init_utmp.o i686-pc-linux-gnu-gcc -o halt halt.o ifdown.o hddown.o utmp.o init.o: In function `capget': init.c:(.text+0x18): undefined reference to `errno' init.o: In function `capset': init.c:(.text+0x3b): undefined reference to `errno' init.o: In function `init_main': init.c:(.text+0x4b55): undefined reference to `errno' collect2: ld returned 1 exit status make: *** [init] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/var/tmp/portage/sysvinit-2.86-r3/work/sysvinit-2.86/src' Portage 2.0.53_rc7 (default-linux/x86/no-nptl/2.4, gcc-3.4.4, glibc-2.3.5-r3, 2.4.28-gentoo-r9 i686) ================================================================= System uname: 2.4.28-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.0_pre10 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.4.26-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -mfpmath=sse -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -mfpmath=sse -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.math.bme.hu http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://gentoo.spb.ru/rsync" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl acpi alsa apache2 apm arts avi bcmath berkdb bitmap-fonts bzip2 bzlib caps crypt ctype cups curl dio dvd eds emboss encode exif expat foomaticdb fortran ftp gd gif gmp gpm gstreamer idn imlib innodb java javamail jpeg junit lcms libg++ libwww mad mailwrapper mhash mikmod mmap mmx mng mp3 mpeg ncurses nls ogg oggvorbis pam pcre pdflib php png quicktime readline ruby samba slang sockets spell sse ssl sysvipc tcpd tidy tiff truetype truetype-fonts type1-fonts unicode vorbis x86 xml2 xmms zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
emerge sync, re-emerge linux-headers and try again.
*** Bug 113267 has been marked as a duplicate of this bug. ***
Yup, it works. Thank you.
Thanks for reporting back.
*** Bug 113734 has been marked as a duplicate of this bug. ***
works here too. Q: emerge glibc is not necessary now?
(In reply to comment #6) > Q: emerge glibc is not necessary now? Uhm, don't think so, was a really minor patch.