Here's the relavent clip from an emerge atempt: DELAY -c -o drivers/fbdev.o /var/tmp/portage/svgalib-1.9.18/work/svgalib-1.9.18/src/drivers/fbdev.c In file included from /var/tmp/portage/svgalib-1.9.18/work/svgalib-1.9.18/src/drivers/fbdev.c:11: /var/tmp/portage/svgalib-1.9.18/work/svgalib-1.9.18/include/vga.h:541:1: warning: "ROP_XOR" redefined In file included from /var/tmp/portage/svgalib-1.9.18/work/svgalib-1.9.18/src/drivers/fbdev.c:4: /usr/include/linux/fb.h:272:1: warning: this is the location of the previous definition In file included from /var/tmp/portage/svgalib-1.9.18/work/svgalib-1.9.18/src/drivers/fbdev.c:12: /var/tmp/portage/svgalib-1.9.18/work/svgalib-1.9.18/src/libvga.h:106: error: redefinition of `struct info' make[1]: *** [drivers/fbdev.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.18/work/svgalib-1.9.18/staticlib' make: *** [staticlib/libvga.a] Error 2 !!! ERROR: media-libs/svgalib-1.9.18 failed. !!! Function src_compile, Line 46, Exitcode 2 !!! Failed to build static libraries! Reproducible: Always Steps to Reproduce: 1. emerge svgalib 2. compile terminates with above error Actual Results: It fails to compile Expected Results: It should have compiled emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3) ================================================================= System uname: 2.6.3 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -mmmx -msse -m3dnow -mfpmath=sse,387 -ftracer -funroll-loops -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -mmmx -msse -m3dnow -mfpmath=sse,387 -ftracer -funroll-loops -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache digest fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/overlay" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aalib acpi acpi4linux alsa arts artswrappersuid avi berkdb cdr clamav crypt cups dga dvd dvdr encode faad foomaticdb gdbm ggi gif gpm gtk gtk2 gtkhtml guile imagemagick imlib java javascript jpeg kde lcms libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nptl oggvorbis openssh oss pam pdflib perl pic png python qt quicktime radeon readline samba sdl slang sox spell sse ssl svga tcltk tcpd tiff transcode truetype usb v4l video_cards_radeon x x86 xml xml2 xmms xv zlib"
what version of kernel headers ? you probably need to update them
I have the same problem, my kernel headers are 2.6.0. I think this is the cause.
1) "emerge sync" 2) rm /var/tmp/portage/svgalib* -Rfv 3) Try merging it now. 4) If that fails, upgrade your headers and repeat from 2)
Problem resolved... The short story is, I had to backlevel libtool to 1.4.2-r3. There is an apparent serious bug in libtool-1.5.3 and later. Other packages that will now emerge correctly, faad2 (required for mplayer) and the new xmms-1.2.10... The proper steps are, emerge libtool-1.4.2-r3 then gtk-1. Then go emerge svgalib or the other mentioned packages. This is one time the being on the bleeding ~x86 shot me in the foot... Cheers.