With the svga USE flag NOT set, vlc fails to compile, complaining of a missing -lvga: if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin sdl_image` -Wsign-compare -Wall -march=athlon-tbird -O2 -pipe -pipe -MT libsdl_image_plugin_a-sdl_image.o -MD -MP -MF ".deps/libsdl_image_plugin_a-sdl_image.Tpo" -c -o libsdl_image_plugin_a-sdl_image.o `test -f 'sdl_image.c' || echo './'`sdl_image.c; \ then mv -f ".deps/libsdl_image_plugin_a-sdl_image.Tpo" ".deps/libsdl_image_plugin_a-sdl_image.Po"; else rm -f ".deps/libsdl_image_plugin_a-sdl_image.Tpo"; exit 1; fi rm -f libsdl_image_plugin.a i686-pc-linux-gnu-ar cru libsdl_image_plugin.a libsdl_image_plugin_a-sdl_image.o i686-pc-linux-gnu-ranlib libsdl_image_plugin.a /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -Wsign-compare -Wall -march=athlon-tbird -O2 -pipe -pipe -Wl,-z,combreloc -o libsdl_image_plugin.so libsdl_image_plugin.a -L/usr/lib -shared -lpthread -fpic -fPIC -lSDL_image -ltiff -ljpeg -lpng -lz -lSDL -lpthread -u vlc_entry__0_8_5 i686-pc-linux-gnu-gcc -Wsign-compare -Wall -march=athlon-tbird -O2 -pipe -pipe -Wl,-z -Wl,combreloc -o libsdl_image_plugin.so -shared -fpic -fPIC -u vlc_entry__0_8_5 libsdl_image_plugin.a -L/usr/lib /usr/lib/libSDL_image.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/lib -lgcc_s /usr/lib/libXext.so -lvga -L/usr/X11R6/lib /usr/lib/libtiff.so -lc /usr/lib/libjpeg.so /usr/lib/libpng12.so -lz /usr/lib/libSDL.so /usr/lib/libaa.so -lslang -lm -lgpm /usr/lib/libcaca.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lncurses -lpthread /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lvga collect2: ld returned 1 exit status make[4]: *** [libsdl_image_plugin.so] Error 1 make[4]: Leaving directory `/var/tmp/portage/vlc-0.8.5-r5/work/vlc-0.8.5/modules/codec' make[3]: *** [all-modules] Error 1 make[3]: Leaving directory `/var/tmp/portage/vlc-0.8.5-r5/work/vlc-0.8.5/modules/codec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.5-r5/work/vlc-0.8.5/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.5-r5/work/vlc-0.8.5' make: *** [all] Error 2 !!! ERROR: media-video/vlc-0.8.5-r5 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile vlc-0.8.5-r5.ebuild, line 231: Called die !!! make of VLC failed !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1.2_pre1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r6 i686) ================================================================= System uname: 2.6.17-gentoo-r6 i686 AMD Athlon(tm) processor Gentoo Base System version 1.12.5 Last Sync: Sat, 16 Sep 2006 22:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.2 [disabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-java/java-config: 1.3.6-r1, 2.0.28-r1 dev-lang/python: 2.2.3-r6, 2.3.5, 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.2 dev-util/confcache: [Not Present] 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 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-tbird -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-z,combreloc" LINGUAS="en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext X a52 aac aalib acl acpi4linux alsa ao apache2 apm asf audiofile berkdb bitmap-fonts browserplugin bzip2 cdda cddb cdparanoia cli cpudetection crypt cups curl dbus dga dlloader dmx dri dts dv dvb dvd dvdr dvdread eds elibc_glibc emboss encode expat fame fbcon ffmpeg flac flash foomaticdb fortran freetype gd gdbm geoip gif glibc-compat20 glitz gnome gnutls gpm gstreamer gtk gtk2 hal imagemagick imlib inherit-graph innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog javascript joystick jpeg kdehiddenvisibility kerberos kernel_linux krb4 ldap libcaca libg++ libwww linguas_en lzo mad matroska mbox mhash mikmod mjpeg mmx mmxext mong mp3 mpeg musepack music mysql ncurses network nls nptl nptlonly nsplugin nvidia ogg opengl openssl pam pam_console pcre perl pic png pppd python quicktime readline real reflection remix rtc samba sasl sdl session smime speex spell spl sqlite ssl startup-notification stencil-buffer subversion svg tcpd theora tiff truetype truetype-fonts type1-fonts udev ungif unicode usb userland_GNU v4l2 vcd vhosts video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga voice vorbis win32codecs wmf x264 xchattext xfs xml xorg xosd xscreensaver xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG
This sounds like an error in SDL. Can you please give me the output of emerge -pv libsdl
That gives: [ebuild R ] media-libs/libsdl-1.2.11 USE="X aalib alsa dga fbcon libcaca opengl xv -arts -directfb -esd -ggi -nas -noaudio -noflagstrip -nojoystick -novideo -oss -svga -xinerama" 2,730 kB Ok, I think I figured it out. The problem is not with libsdl, but with sdl-image. I last compiled sdl-image almost 2 years ago, and I'm guessing I must have removed the svga USE flag at some point after that. Anyway, I remerged sdl-mixer, and then vlc was able to compile successfully. So, feel free to close if you think this is ok.
Okay, closing as invalid because of missing revdep-rebuild.