Summary: | Zsnes build fails on libsdl detection, multilib 2005.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Kloosterman <kloostec> |
Component: | [OLD] Games | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | ace, floam, games, infested |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Chris Kloosterman
2005-02-07 01:28:35 UTC
Please run 'file /usr/lib64/libSDL.so' and give us the output. kloostec@qbranch ~ $ /usr/lib64/libSDL.so Segmentation fault kloostec@qbranch ~ $ (running libsdl 1.2.8-r1, by the way) I'll recompile it with USE='debug' and without -fomit-frame-pointer in hopes of debugging... he didnt say execute the library, he said run `file` on it Sorry, early morning for me ;) kloostec@qbranch ~ $ file /usr/lib64/libSDL.so /usr/lib64/libSDL.so: symbolic link to `libSDL-1.2.so.0.7.1' kloostec@qbranch ~ $ I also have no sucess at SDL-detection, emerge-output looks like it is the same fro the point that was pasted by OP. Just before that I also get >>> Unpacking zsnes142src.tar.gz to /var/tmp/portage/zsnes-1.42/work * Applying 1.42-configure.patch ... [ ok ] acinclude.m4:10: warning: underquoted definition of AM_PATH_ZLIB run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal acinclude.m4:121: warning: underquoted definition of AM_PATH_LIBPNG /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT /usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME /usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC /usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP /usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC /usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO >>> Source unpacked. *** Bug 82639 has been marked as a duplicate of this bug. *** I updated /usr/bin/sdl-config, and changed: libdirs="-L/usr/lib64 -Wl,-rpath,${exec_prefix}/lib" to: libdirs="-L/emul/linux/x86/usr/lib -Wl,-rpath,/emul/linux/x86/usr/lib" ... and then got the same error. However, the config.log now says: configure:3104: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -mtune=athlon64 -O2 -fomit-frame-pointer -pipe -pipe -I. -Wall -I/usr/local/include -I/usr/include -D__LINUX__ -I/usr/include/SDL -D_REENTRANT -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib -L/usr/lib32 -L/lib32 conftest.c -L/emul/linux/x86/usr/lib -Wl,-rpath,/emul/linux/x86/usr/lib -lSDL -lpthread >&5 /lib32/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE' /lib32/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE' /lib32/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE' /lib32/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE' collect2: ld returned 1 exit status I have no idea what this means, so I'm stuck :P I'm having the same problem, has anyone fixed this? configure:3134: result: no configure:3172: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=k8 -pipe -fPIC -m32 -pipe -I. -Wall -I/usr/local/include -I/usr/include -D__LINUX__ -I/usr/include/SDL -D_REENTRANT confte st.c -L/usr/lib64 -Wl,-rpath,/usr/lib -lSDL -lpthread >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libSDL.so when searching for -lSDL /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libSDL.a when searching for -lSDL /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../libSDL.so when searc hing for -lSDL /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../libSDL.a when search ing for -lSDL /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libSDL.so when searching for -lSDL /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libSDL.a when searching for -lSDL /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lSDL collect2: ld returned 1 exit status emerge info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-ck3 x86_64) ================================================================= System uname: 2.6.11-ck3 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 25 2005, 02:09:52)] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.5, 1.7.9-r1, 1.5, 1.6.3, 1.8.5-r3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=k8 -pipe -fPIC" 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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -fPIC -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca// http://gentoo.mirrored.ca// ftp://gentoo.mirrored.ca/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="amd64 16bit S3TC X Xaw3d a52 aac aalib acpi aim alsa arts audiofile bash-completion bcmath berkdb bitmap-fonts blas bzip2 bzlib cairo cdio cdparanoia cdr chroot codecs crypt cups curl curlwrappers divx4linux dlloader dv dvd dvdr dvdread emul-linux encode escreen esd exif faad fam fame fb fbcon fbdev ffmpeg fftw flac flash foomaticdb fortran ftp gd gdbm gif gimp gimpprint ginac glitz gmail gmp gnuplot gphoto2 gpm gtk gtk2 gtkhtml icq idea imagemagick imap imlib imlib2 ipv6 jabber java jce jikes jp2 jpeg jpeg2k kde kdepim kdexdeltas latex lesstif libsamplerate libwww live lm_sensors lzo lzw lzw-tiff mad mime ming mjpeg mmap mng monkey motif mozilla moznocompose moznoirc moznomail mozp3p mp3 mpeg mpeg2 mpeg4 mplayer msn ncurses net network nls no_wxgtk1 nodrm noreiserfs nowin nptl nptlonly nvidia offensive ogg oggvorbis openal opengl oscar oss pam pcre pdf pdflib perl png ppds python qhull qt quicktime readline real rtc samba scanner sdl serial sftplogging smime sndfile sox speex spell ssl svg szip tcpd tetex tga theora tidy tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb usepackagedmakefiles userlocales uudeview v4l v4l2 vcdimager vidix vorbis wmf wsconvert xanim xine xinerama xml2 xosd xpm xrandr xscreensaver xv xvid xvmc yv12 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS x86 ABI is now exported whatever that means, zsnes still doesn't build, this bug ISN'T fixed It's not fixed.. reopening *** This bug has been marked as a duplicate of 88725 *** just want to confirm bug 88725 does fix this, but i had to re-emerge libsdl after setting the things in /etc/make.profile/make.defaults before emerging zsnes. |