Crystalspace won't compile. It fails when linking against lib3ds.a. Reproducible: Always Steps to Reproduce: 1. emerge crystalspace 2. 3. Actual Results: MkDir1 ./out/linux/optimize/plugins/mesh/impexp/3ds C++ ./out/linux/optimize/plugins/mesh/impexp/3ds/ie3ds.o LinkPlugin ie3ds.so /usr/bin/ld: /usr/lib64/lib3ds.a(file.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib64/lib3ds.a: could not read symbols: Bad value collect2: ld returned 1 exit status g++ -o ie3ds.so ./out/linux/optimize/plugins/mesh/impexp/3ds/ie3ds.o -lm - ldl -lnsl -L/usr/local/lib -shared ./out/linux/optimize/libs/libcrystalspace.a - lpthread -lz -L/usr/lib64 -l3ds -lm -lm -ldl -lnsl -L/usr/local/lib \ -Wl,-soname,ie3ds.so ...failed LinkPlugin ie3ds.so ... Copy ie3ds.csplugin (cut) LinkPlugin cscursor.so Copy cscursor.csplugin ...failed updating 1 target(s)... ...updated 1194 target(s)... !!! ERROR: dev-games/crystalspace-0.99_pre20050823 failed. !!! Function src_compile, Line 52, Exitcode 1 !!! compile failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Compile and link. Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2. 6.12-gentoo-r9 x86_64) ================================================================= System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 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="-march=k8 -O2 -pipe" 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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.esoft.dk/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.esoft.dk/gentoo-portage" USE="amd64 3ds X Xaw3d a52 aac aalib alsa arts artworkextra audiofile avi bash- completion berkdb bidi bitmap-fonts bl bluetooth bonobo cddb cdparanoia cdr cjk crypt cups curl dga dts dv dvd dvdr edl eds emul-linux-x86 encode esd ethereal faad fam fame ffmpeg flac flash foomaticdb fortran gatos gd gdbm ggi gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile howl ieee1394 imagemagick imap imlib innodb ipv6 jack java jpeg jpeg2k kde kdeenablefinal lcms libcaca libg++ libsamplerate libwww live lm_sensors logitech-mouse lzo lzw lzw-tiff mad maildir matroska mikmod mjpeg mng motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg music mysql nas ncurses net network nls nptl odbc offensive ogg oggvorbis openal opengl oss pam pam_chroot pam_console pam_timestamp pdflib perl physfs png pnp portaudio postgres povray python qt quicktime readline real rtc ruby samba sasl scanner sdl slang sndfile snmp speex spell ssl subversion svg tcltk tcpd tetex tga theora tidy tiff truetype truetype-fonts type1-fonts usb v4l v4l2 videos vorbis wmf xanim xchatdccserver xine xinerama xml xml2 xmms xosd xpm xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
*** Bug 107423 has been marked as a duplicate of this bug. ***
Actual PIC issue was media-libs/lib3ds - please re-emerge that package and try again. Thanks, malc.