I tried to compile libsdl: [ebuild U ] media-libs/libsdl-1.2.10 [1.2.9-r1] USE="X -aalib -alsa -arts -dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -opengl -oss -svga -xinerama xv" 0 kB This failed: /usr/bin/nasm -f elf -i ./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmx_main.asm -o build/.libs/mmx_main.o ./src/hermes/mmx_main.asm:14: error: symbol `hidden' not defined before use ./src/hermes/mmx_main.asm:15: error: symbol `hidden' not defined before use make: *** [build/mmx_main.lo] Fehler 1 make: *** Warte auf noch nicht beendete Prozesse... i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/SDL_video.c -o build/SDL_video.o >/dev/null 2>&1 ./build-scripts/strip_fPIC.sh /usr/bin/nasm -f elf -i ./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmxp2_32.asm -fPIC -DPIC -o build/.libs/mmxp2_32.o /usr/bin/nasm -f elf -i ./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmxp2_32.asm -o build/.libs/mmxp2_32.o ./src/hermes/mmxp2_32.asm:25: error: symbol `hidden' not defined before use ./src/hermes/mmxp2_32.asm:26: error: symbol `hidden' not defined before use ./src/hermes/mmxp2_32.asm:27: error: symbol `hidden' not defined before use ./src/hermes/mmxp2_32.asm:28: error: symbol `hidden' not defined before use ./src/hermes/mmxp2_32.asm:29: error: symbol `hidden' not defined before use make: *** [build/mmxp2_32.lo] Fehler 1 i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/loadso/dlopen/SDL_sysloadso.c -o build/SDL_sysloadso.o >/dev/null 2>&1 i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/audio/disk/SDL_diskaudio.c -o build/SDL_diskaudio.o >/dev/null 2>&1 i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/dummy/SDL_nullvideo.c -o build/SDL_nullvideo.o >/dev/null 2>&1 i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/dummy/SDL_nullevents.c -o build/SDL_nullevents.o >/dev/null 2>&1 i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/audio/dummy/SDL_dummyaudio.c -o build/SDL_dummyaudio.o >/dev/null 2>&1 !!! ERROR: media-libs/libsdl-1.2.10 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile libsdl-1.2.10.ebuild, line 155: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. On this machine, I upgraded to gcc 4.1.1 a short time earlier. [14:35:38 vz6tml@dewup-ww02:~] $ emerge --info Portage 2.1.1_pre1-r1 (default-linux/x86/2005.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.15-gentoo-r3.05 i686) ================================================================= System uname: 2.6.15-gentoo-r3.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.12.0_pre19 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/Gentoo/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache collision-protect distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS=" http://localhost/~vz6tml/gentoo-files http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files http://localhost/gentoo-files/ http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/ http://localhost/~vz6tml/gentoo-files/ http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/ http://alexander.skwar.name/~askwar/stuff/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de:80/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://localhost:60081/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://localhost:60082/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://localhost:60083/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://localhost:60084/ http://distfiles.gentoo.org/ " LANG="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j11" PKGDIR="/Gentoo/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'" PORTAGE_TMPDIR="/Gentoo/portage/tmp" PORTDIR="/Gentoo/portage/tree" PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc" SYNC="rsync://localhost:10873/gentoo-portage" USE="x86 7zip GAPING_SECURITY_HOLE X acl apache apache2 artworkextra async avi bash-completion berkdb bitmap-fonts ccache ck-server cli crypt css cups dbus dri dvd encode exif fam fat firefox font-server foomaticdb gd gdbm gif gmail gmailtimestamps gnome gpm gs gtk gtk2 hal hfs hpn i8x0 iconv id3 imagemagick imlib imlib2 isdnlog java javascript jfs jikes jpeg kde kdeenablefinal kdehiddenvisibility lame libg++ libwww linuxthreads-tls lm_sensors lynxkeymap lzo lzw lzw-tiff mad mailbox maildir matroska mmx motif mozsvg mp3 mpeg mpm-worker msdav mysql mysqli ncurses network nfs nis nls no-old-linux no-suexec nodrm nomusic nptl nptlonly ntlm offensive ogg oggvorbis pam pcre pdflib perl php png posix postfix pppd python qt quicktime rar rdesktop readline real recode reflection reiserfs samba sapdb screen sdl sendfile session sftp smp sockets spell spl sse sse2 ssl stream subtitles symlink sysvipc tcpd tiff transcode truetype truetype-fonts unicode usb userlocales utf8 vhosts vim vim-pager vim-with-x vorbis webdav win32codecs xattr xfs xinetd xml2 xmms xorg xprint xv xvid yp zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_vmmouse input_devices_void kernel_linux linguas_de userland_GNU video_cards_ati video_cards_vesa video_cards_vga video_cards_vmware" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
what version of nasm do you have ?
[09:21:08 vz6tml@dewup-ww02:/dev/shm] $ emerge -vpt nasm These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] dev-lang/nasm-0.98.39-r1 USE="-build -doc" 0 kB
and if you upgrade to nasm-0.98.39-r3 does libsdl work ?
Hmm, for some reason (which I don't remember), I had nasm > r1 package.masked. After upgrading to r3, libsdl got compiled just fine.