emerge libswf Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/libswf-0.99 to / >>> md5 files ;-) libswf-0.99.ebuild >>> md5 files ;-) files/digest-libswf-0.99 >>> md5 src_uri ;-) dist.99.linux.tar.Z >>> Unpacking source... >>> Unpacking dist.99.linux.tar.Z to /var/tmp/portage/libswf-0.99/work >>> Source unpacked. gcc swftest.c -o swftest libswf.a -lm libswf.a(swfimage.o)(.text+0x672): In function `swf_definebitmap': : warning: the use of `mktemp' is dangerous, better use `mkstemp' /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swflib.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfio.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfutil.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swffont.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfbutton.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfimage.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfgeom.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfshape.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfrw.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfapprox.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfsound.o)' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: i386 architecture of input file `libswf.a(swfchardef.o)' is incompatible with i386:x86-64 output libswf.a(swflib.o)(.text+0xec): In function `ss_0173': : undefined reference to `_IO_stderr_' libswf.a(swflib.o)(.text+0x721): In function `ss_0242': : undefined reference to `_IO_stderr_' libswf.a(swflib.o)(.text+0x836): In function `swf_endsymbol': : undefined reference to `_IO_stderr_' libswf.a(swfio.o)(.text+0x126): In function `swf_openfile': : undefined reference to `_IO_stdout_' libswf.a(swfio.o)(.text+0x149): In function `swf_openfile': : undefined reference to `_IO_stderr_' libswf.a(swfio.o)(.text+0x44f): In function `swf_closefile': : undefined reference to `_IO_stderr_' libswf.a(swfio.o)(.text+0x530): In function `swf_closefile': : undefined reference to `_IO_stdout_' libswf.a(swfio.o)(.text+0x5a0): In function `swf_setframe': : undefined reference to `_IO_stderr_' libswf.a(swfio.o)(.text+0x822): In function `ss_0345': : undefined reference to `_IO_stderr_' libswf.a(swfutil.o)(.text+0x1b0): In function `ss_0324': : undefined reference to `_IO_stderr_' libswf.a(swffont.o)(.text+0x126): In function `swf_getfontinfo': : undefined reference to `_IO_stderr_' libswf.a(swffont.o)(.text+0x199): In function `swf_setfont': : undefined reference to `_IO_stderr_' libswf.a(swffont.o)(.text+0x380): more undefined references to `_IO_stderr_' follow libswf.a(swfimage.o)(.text+0x7c): In function `ss_0004': : undefined reference to `fprintf' libswf.a(swfimage.o)(.text+0x87): In function `ss_0004': : undefined reference to `malloc' libswf.a(swfimage.o)(.text+0xc0): In function `ss_0168': : undefined reference to `free' libswf.a(swfimage.o)(.text+0xf9): In function `ss_0226': : undefined reference to `free' libswf.a(swfimage.o)(.text+0x104): In function `ss_0226': : undefined reference to `free' libswf.a(swfimage.o)(.text+0x130): In function `ss_0222': : undefined reference to `fopen' libswf.a(swfimage.o)(.text+0x144): In function `ss_0222': : undefined reference to `_IO_stderr_' libswf.a(swfimage.o)(.text+0x149): In function `ss_0222': : undefined reference to `fprintf' libswf.a(swfimage.o)(.text+0x152): In function `ss_0222': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x15a): In function `ss_0222': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x162): In function `ss_0222': : undefined reference to `fclose' libswf.a(swfimage.o)(.text+0x1e4): In function `ss_0337': : undefined reference to `ss_0120' libswf.a(swfimage.o)(.text+0x1ed): In function `ss_0337': : undefined reference to `ss_0354' libswf.a(swfimage.o)(.text+0x1f3): In function `ss_0337': : undefined reference to `ss_0355' libswf.a(swfimage.o)(.text+0x1f9): In function `ss_0337': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x200): In function `ss_0337': : undefined reference to `ss_0345' libswf.a(swfimage.o)(.text+0x205): In function `ss_0337': : undefined reference to `ss_0173' libswf.a(swfimage.o)(.text+0x20a): In function `ss_0337': : undefined reference to `ss_0121' libswf.a(swfimage.o)(.text+0x228): In function `ss_0333': : undefined reference to `ss_0120' libswf.a(swfimage.o)(.text+0x231): In function `ss_0333': : undefined reference to `ss_0354' libswf.a(swfimage.o)(.text+0x237): In function `ss_0333': : undefined reference to `ss_0355' libswf.a(swfimage.o)(.text+0x23e): In function `ss_0333': : undefined reference to `ss_0351' libswf.a(swfimage.o)(.text+0x246): In function `ss_0333': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x24f): In function `ss_0333': : undefined reference to `ss_0345' libswf.a(swfimage.o)(.text+0x257): In function `ss_0333': : undefined reference to `ss_0173' libswf.a(swfimage.o)(.text+0x25c): In function `ss_0333': : undefined reference to `ss_0121' libswf.a(swfimage.o)(.text+0x278): In function `ss_0332': : undefined reference to `ss_0120' libswf.a(swfimage.o)(.text+0x281): In function `ss_0332': : undefined reference to `ss_0354' libswf.a(swfimage.o)(.text+0x287): In function `ss_0332': : undefined reference to `ss_0355' libswf.a(swfimage.o)(.text+0x28e): In function `ss_0332': : undefined reference to `ss_0345' libswf.a(swfimage.o)(.text+0x294): In function `ss_0332': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x29b): In function `ss_0332': : undefined reference to `ss_0345' libswf.a(swfimage.o)(.text+0x2a3): In function `ss_0332': : undefined reference to `ss_0173' libswf.a(swfimage.o)(.text+0x2a8): In function `ss_0332': : undefined reference to `ss_0121' libswf.a(swfimage.o)(.text+0x2fb): In function `ss_0097': : undefined reference to `fopen' libswf.a(swfimage.o)(.text+0x30f): In function `ss_0097': : undefined reference to `_IO_stderr_' libswf.a(swfimage.o)(.text+0x314): In function `ss_0097': : undefined reference to `fprintf' libswf.a(swfimage.o)(.text+0x322): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x32a): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x34a): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x354): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x36a): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x3a2): more undefined references to `ss_0375' followlibswf.a(swfimage.o)(.text+0x3a8): In function `ss_0097': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x3ae): In function `ss_0097': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x3c5): In function `ss_0097': : undefined reference to `_IO_stderr_' libswf.a(swfimage.o)(.text+0x3ca): In function `ss_0097': : undefined reference to `fprintf' libswf.a(swfimage.o)(.text+0x3e5): In function `ss_0097': : undefined reference to `malloc' libswf.a(swfimage.o)(.text+0x3f5): In function `ss_0097': : undefined reference to `malloc' libswf.a(swfimage.o)(.text+0x40e): In function `ss_0097': : undefined reference to `fread' libswf.a(swfimage.o)(.text+0x413): In function `ss_0097': : undefined reference to `ss_0120' libswf.a(swfimage.o)(.text+0x41c): In function `ss_0097': : undefined reference to `ss_0354' libswf.a(swfimage.o)(.text+0x430): In function `ss_0097': : undefined reference to `ss_0351' libswf.a(swfimage.o)(.text+0x435): In function `ss_0097': : undefined reference to `ss_0173' libswf.a(swfimage.o)(.text+0x43a): In function `ss_0097': : undefined reference to `ss_0121' libswf.a(swfimage.o)(.text+0x46f): In function `ss_0097': : undefined reference to `fread' libswf.a(swfimage.o)(.text+0x4ce): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x4d4): In function `ss_0097': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x4da): In function `ss_0097': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x4f5): In function `ss_0097': : undefined reference to `ss_0120' libswf.a(swfimage.o)(.text+0x4fe): In function `ss_0097': : undefined reference to `ss_0354' libswf.a(swfimage.o)(.text+0x506): In function `ss_0097': : undefined reference to `ss_0355' libswf.a(swfimage.o)(.text+0x50c): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x512): In function `ss_0097': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x518): In function `ss_0097': : undefined reference to `ss_0344' libswf.a(swfimage.o)(.text+0x51e): In function `ss_0097': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x527): In function `ss_0097': : undefined reference to `ss_0345' libswf.a(swfimage.o)(.text+0x530): In function `ss_0097': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x539): In function `ss_0097': : undefined reference to `ss_0345' libswf.a(swfimage.o)(.text+0x53f): In function `ss_0097': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x546): In function `ss_0097': : undefined reference to `ss_0345' libswf.a(swfimage.o)(.text+0x54b): In function `ss_0097': : undefined reference to `ss_0173' libswf.a(swfimage.o)(.text+0x550): In function `ss_0097': : undefined reference to `ss_0121' libswf.a(swfimage.o)(.text+0x55e): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x567): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x571): In function `ss_0097': : undefined reference to `ss_0375' libswf.a(swfimage.o)(.text+0x57b): In function `ss_0097': : undefined reference to `ss_0370' libswf.a(swfimage.o)(.text+0x582): In function `ss_0097': : undefined reference to `ss_0120' libswf.a(swfimage.o)(.text+0x599): In function `ss_0097': : undefined reference to `ss_0354' libswf.a(swfimage.o)(.text+0x5a4): In function `ss_0097': : undefined reference to `ss_0355' libswf.a(swfimage.o)(.text+0x5ac): In function `ss_0097': : undefined reference to `ss_0341' libswf.a(swfimage.o)(.text+0x5b4): In function `ss_0097': : undefined reference to `ss_0355' libswf.a(swfimage.o)(.text+0x5bc): In function `ss_0097': : undefined reference to `ss_0355' libswf.a(swfimage.o)(.text+0x5cf): In function `ss_0097': : undefined reference to `ss_0341' libswf.a(swfimage.o)(.text+0x5d9): In function `ss_0097': : undefined reference to `ss_0345' libswf.a(swfimage.o)(.text+0x5de): In function `ss_0097': : undefined reference to `ss_0173' libswf.a(swfimage.o)(.text+0x5e3): In function `ss_0097': : undefined reference to `ss_0121' libswf.a(swfimage.o)(.text+0x5ec): In function `ss_0097': : undefined reference to `fclose' libswf.a(swfimage.o)(.text+0x601): In function `ss_0179': : undefined reference to `getenv' libswf.a(swfimage.o)(.text+0x672): In function `swf_definebitmap': : undefined reference to `mktemp' libswf.a(swfimage.o)(.text+0x68c): In function `swf_definebitmap': : undefined reference to `malloc' libswf.a(swfimage.o)(.text+0x6ab): In function `swf_definebitmap': : undefined reference to `sprintf' libswf.a(swfimage.o)(.text+0x6c7): In function `swf_definebitmap': : undefined reference to `sprintf' libswf.a(swfimage.o)(.text+0x6d0): In function `swf_definebitmap': : undefined reference to `system' libswf.a(swfimage.o)(.text+0x6d6): In function `swf_definebitmap': : undefined reference to `free' libswf.a(swfimage.o)(.text+0x6eb): In function `swf_definebitmap': : undefined reference to `unlink' libswf.a(swfimage.o)(.text+0x70d): In function `swf_definebitmap': : undefined reference to `_IO_stderr_' libswf.a(swfimage.o)(.text+0x712): In function `swf_definebitmap': : undefined reference to `fprintf' libswf.a(swfgeom.o)(.text+0xc98): In function `swf_perspective': : undefined reference to `_IO_stderr_' libswf.a(swfgeom.o)(.text+0xdc4): In function `swf_ortho': : undefined reference to `_IO_stderr_' libswf.a(swfgeom.o)(.text+0xe98): In function `swf_ortho2': : undefined reference to `_IO_stderr_' libswf.a(swfshape.o)(.text+0x2b): In function `ss_0055': : undefined reference to `_IO_stderr_' libswf.a(swfshape.o)(.text+0x47): In function `ss_0055': : undefined reference to `_IO_stderr_' libswf.a(swfrw.o)(.text+0x2a): more undefined references to `_IO_stderr_' followcollect2: ld returned 1 exit status make: *** [swftest] Error 1 !!! ERROR: media-libs/libswf-0.99 failed. !!! Function src_compile, Line 556, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge libswf 2. 3. Actual Results: !!! ERROR: media-libs/libswf-0.99 failed. !!! Function src_compile, Line 556, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: ebuild just try to use lib32 emul or something else emerge info Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r10 x86_64) ================================================================= System uname: 2.6.12-gentoo-r10 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=nocona -march=nocona -pipe -fomit-frame-pointer -mfpmath=sse"CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=nocona -march=nocona -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/" LANG="it_IT.UTF-8" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acpi alsa apache2 arts audiofile authdaemon avi bash-completion bcmath berkdb bidi bitmap-fonts bluetooth bmp bonobo bzip2 caps cdda cddb cdio cdr cgi chroot cpudetection crypt cups curl dbm dbus directfb dts dv dvd dvdr dvdread eds emacs emboss encode esd ethereal evo exif fam fame fbcon ffmpeg fftw firefox flac flash foomaticdb fortran freetype ftp gb gcj gd gdbm gif gimp gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal ieee1394 imagemagick imap imlib ithreads java jpeg junit libcaca libclamav libedit libg++ libwww live lm_sensors logrotate lzo lzw lzw-tiff mad maildir matroska mikmod mjpeg mms motif mozilla mp3 mpeg msn mule mx mysql ncurses nls nsplugin ogg oggvorbis opengl pam pdflib perl php pic png ppds python qmail qt quicktime quotas rdesktop readline real recode samba scanner sdl session slang sndfile spamassassin speex spell ssl stream svg symlink tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vhosts vorbis wifi wxgtk1 wxwindows xine xml xml2 xmms xpm xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
yes i can confirm this bug. I will research about this later
See bug# 87285 comment# 11 You might find this info helpful.
*** This bug has been marked as a duplicate of 96458 ***