What's new

mupen problems in linux

pancus

New member
I first tried the precompiled binaries and the plugins wouldn't work. So then I compiled it myself and the two plugins below (which it doesn't compile) are still complaining. Here's what is said

Code:
Couldn't load plugin '/usr/local/bin/mupen64/plugins/Glide64.so': /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6: version `CXXABI_1.2' not found (required by /usr/local/bin/mupen64/plugins/Glide64.so)
Couldn't load plugin '/usr/local/bin/mupen64/plugins/ricevideo.so': /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6: version `GLIBCPP_3.2' not found (required by /usr/local/bin/mupen64/plugins/ricevideo.so)

Also when configuring and it asks something about the user dir, if you reply no (i think, or yes, cant remember, one of them anyways) it won't compile. I'm running Gentoo.

Besides that everything is running much better. good job!
 

77587758

New member
Mupen 0.5 is normal working on my fedora core 2
but I can't select the pad plugin of "blight's SDL input plugin 0.0.10"
 

Hacktarux

Emulator Developer
Moderator
pancus: that's a very strange error you're having... i'll try to google a little bit to understand what can be cause of this problem. Do you recompiled glide64 yourself ?
It would also be nice if you could give me the error message you get while compiling with the "wrong" configure option.

77587758: can you do a "ldd -r" on the blight's plugin ? what happens when you try to select it ?
 

adwin

New member
OK, let's see. The binary is a 32bit one, and something tells me tha perhaps you are using a 64bit linux and recompiled the plugins for this platform, then, it is natural, that 64bit plugins won't load in a 32bit environment.
 

adwin

New member
Aha, sorry.
I'm seeing it now.
Recompile your GCC, and also compile gcc-config.
Recompile also libstdc++ and glibc
Don't forget to do a env-update && source /etc/profile
Don't forget to do this also after recompiling your gcc and switching to the new gcc compiler.
 

77587758

New member
Hacktarux said:
77587758: can you do a "ldd -r" on the blight's plugin ? what happens when you try to select it ?
If I select the pad plugin of "blight's SDL input plugin 0.0.10" to play games:the mupen64 crash when load roms or the game throw out :"No control"
 
OP
P

pancus

New member
I recompiled a bunch of stuff and low and behold it was my stupid box. I was very suprised when I first tried it there was errors, I kinda knew it was me :blush: Anyway excellent job and sorry for harassing eveybody with my stupidity.
 
OP
P

pancus

New member
dah :paperbag:

well everything looked good at first glance, but after getting home and doing some further probing, it's still messed up.

Code:
linuxbox plugins # ldd -r /usr/local/bin/mupen64/plugins/Glide64.so      
/usr/local/bin/mupen64/plugins/Glide64.so: /usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by /usr/local/bin/mupen64/plugins/Glide64.so)
/usr/local/bin/mupen64/plugins/Glide64.so: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by /usr/local/bin/mupen64/plugins/Glide64.so)
        linux-gate.so.1 =>  (0xffffe000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7002000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6f81000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6f67000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6f51000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0xb6f4a000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0xb6f3f000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6f06000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6ecc000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6ec8000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6eb4000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6e32000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb6db3000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb6d36000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb6cd3000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb6cc1000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb6bf3000)
        libm.so.6 => /lib/libm.so.6 (0xb6bd0000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libgcc_s.so.1 (0xb6bc7000)
        libc.so.6 => /lib/libc.so.6 (0xb6ab0000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb69e1000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb69dd000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb69d5000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb69d2000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb69c0000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb694d000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6925000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6920000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6917000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb690f000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6900000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb68d8000)
        /lib/ld-linux.so.2 (0x80000000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb616f000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb616d000)
        libaa.so.1 => /usr/lib/libaa.so.1 (0xb6153000)
        libcaca.so.0 => /usr/lib/libcaca.so.0 (0xb6145000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb6103000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb60e3000)
        libz.so.1 => /lib/libz.so.1 (0xb60d2000)
        libgpm.so.1 => /lib/libgpm.so.1 (0xb60cc000)
symbol _Znaj, version GLIBCPP_3.2 not defined in file libstdc++.so.5 with link time reference   (/usr/local/bin/mupen64/plugins/Glide64.so)
symbol _ZdaPv, version GLIBCPP_3.2 not defined in file libstdc++.so.5 with link time reference  (/usr/local/bin/mupen64/plugins/Glide64.so)
symbol __cxa_begin_catch, version CXXABI_1.2 not defined in file libstdc++.so.5 with link time reference        (/usr/local/bin/mupen64/plugins/Glide64.so)
symbol __cxa_end_catch, version CXXABI_1.2 not defined in file libstdc++.so.5 with link time reference  (/usr/local/bin/mupen64/plugins/Glide64.so)
symbol _Znwj, version GLIBCPP_3.2 not defined in file libstdc++.so.5 with link time reference   (/usr/local/bin/mupen64/plugins/Glide64.so)
symbol _ZdlPv, version GLIBCPP_3.2 not defined in file libstdc++.so.5 with link time reference  (/usr/local/bin/mupen64/plugins/Glide64.so)
symbol __gxx_personality_v0, version CXXABI_1.2 not defined in file libstdc++.so.5 with link time reference     (/usr/local/bin/mupen64/plugins/Glide64.so)

and oddly.

Code:
linuxbox plugins # ldd -r /usr/local/bin/mupen64/plugins/ricevideo.so 
        linux-gate.so.1 =>  (0xffffe000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7ac3000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7a42000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7a28000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7a12000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0xb7a0b000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0xb7a00000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb79c7000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb798d000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7989000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7985000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7903000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7884000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7807000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb77a4000)
        libstdc++.so.5 => /usr/lib/libstdc++-v3/libstdc++.so.5 (0xb76e7000)
        libm.so.6 => /lib/libm.so.6 (0xb76c4000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libgcc_s.so.1 (0xb76bb000)
        libc.so.6 => /lib/libc.so.6 (0xb75a4000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb74d6000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb74d1000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb74c9000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb74c6000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb74b4000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7441000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb741a000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7414000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb740b000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7403000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb73f4000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb73cd000)
        /lib/ld-linux.so.2 (0x80000000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb6c63000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb6c61000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 (0xb6b93000)
        libaa.so.1 => /usr/lib/libaa.so.1 (0xb6b79000)
        libcaca.so.0 => /usr/lib/libcaca.so.0 (0xb6b6b000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb6b29000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb6b17000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb6af7000)
        libz.so.1 => /lib/libz.so.1 (0xb6ae6000)
        libgpm.so.1 => /lib/libgpm.so.1 (0xb6ae0000)

but when i run it, it spits out this and the plugins are not listed in the config

Code:
Couldn't load plugin '/usr/local/bin/mupen64/plugins/Glide64.so': /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6: version `CXXABI_1.2' not found (required by /usr/local/bin/mupen64/plugins/Glide64.so)
Couldn't load plugin '/usr/local/bin/mupen64/plugins/ricevideo.so': /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6: version `GLIBCPP_3.2' not found (required by /usr/local/bin/mupen64/plugins/ricevideo.so)

and

Code:
linuxbox plugins # gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)

I recompiled gcc, gcc-config, glibc, libstdc++, updated and still boom. It must be my stupid system but I am really confused by this now. Any gentoo people here with some advice?
 

adwin

New member
Hello,
I see you are using Gentoo.
I am on Gentoo myslef.
Installing gcc, you should do a:
# ACCEPT_KEYWORDS="your-arch" emerge gcc
or just emerge gcc if you have stable arch in your make.conf.
You MUST also do an
# emerge libstdc++-v3 after a gcc emerge.
If you want, give me ssh access tou your box and I'll do it for you.
Message me : [email protected]
or ICQ: 282192048
 

adwin

New member
Ah, I forgot.
Of course, it is recommended to emerge stable versions.
IF you emerge gcc-3, you MUST also emerge libstdc++-v3.
but if you use gcc-4, that is no longer required.
 
OP
P

pancus

New member
I did a bunch of reading and found that it may be glibc with nptl enabled.

[ebuild R ] sys-libs/glibc-2.3.5-r1 -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl +nptlonly -pic -profile (-selinux) -userlocales 15,628 kB

I'm guessing the nptlonly isn't helping either.
 

aminalshmu

linux gaming enthusiast
Code:
[ebuild   R   ] sys-libs/glibc-2.3.5-r1  -build -erandom -glibc-compat20 +glibc-omitfp -hardened
 -linuxthreads-tls (-multilib) -nls +nptl +nptlonly +pic -profile (-selinux) +userlocales

as you can see, i'm running gentoo with glibc compiled with nptl-only use flags. i had no problem with any of the plugins with the binary mupen64, and no problem compiling it either. must be something else...
 
OP
P

pancus

New member
Finally fixed it. Decided to go through the libraries myself and look for anything screwed up and sure enough there were some files that we symlinked incorrectly. Dunno how it happened, but all is good now. :party:
 

Top