I have emerged mupen64 on my gentoo box and all is working well, but I can't get the alsasound plugin to work. The first error I get is:
I took a look at the code and looks like there is something wrong with the graphics, so I took out the gtk use flag and everything compiled fine. Now, when I run mupen64 the plugin won't show up as a choice and I get this error message:Code:linux bin # emerge mupen64-alsasnd Calculating dependencies ...done! >>> emerge (1 of 1) games-emulation/mupen64-alsasnd-0.4 to / >>> md5 src_uri ;-) alsa-plugin-0.4fix.tar.bz2 >>> Unpacking source... >>> Unpacking alsa-plugin-0.4fix.tar.bz2 to /var/tmp/portage/mupen64-alsasnd-0.4/work * Applying 0.4-gentoo.patch ... [ ok ] >>> Source unpacked. g++ -mtune=athlon-xp -march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -fmerge-all-constants -ftracer -fweb -frename-registers -DNO_DEBUG -DNDEBUG -fno-rtti -DVERSION=0.4 -DUSE_GTK `gtk-config --cflags` -c -o gtk1_gui.o gtk1_gui.cpp g++ -mtune=athlon-xp -march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -fmerge-all-constants -ftracer -fweb -frename-registers -DNO_DEBUG -DNDEBUG -fno-rtti -c -o string.o string_class.cpp g++ -mtune=athlon-xp -march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -fmerge-all-constants -ftracer -fweb -frename-registers -DNO_DEBUG -DNDEBUG -fno-rtti -c -o audio.o audio.cpp g++ -mtune=athlon-xp -march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -fmerge-all-constants -ftracer -fweb -frename-registers -DNO_DEBUG -DNDEBUG -fno-rtti -DVERSION=0.4 -c -o snd_plugin.o snd_interface.cpp g++ -mtune=athlon-xp -march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -fmerge-all-constants -ftracer -fweb -frename-registers -DNO_DEBUG -DNDEBUG -fno-rtti -c -o gui.o gui.cpp Makefile:52: please copy mupen64_alsasnd-0.4.so in the plugins/ folder of the emulator gtk1_gui.cpp: In function `void CreateGUIObject(Plugin_Graphical_Interface**, Plugin_Audio_Driver*)': gtk1_gui.cpp:59: error: ISO C++ forbids cast to non-reference type used as lvalue make: *** [gtk1_gui.o] Error 1 !!! ERROR: games-emulation/mupen64-alsasnd-0.4 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message.
Any clue as to what this error means?Code:linux bin # ./mupen64 Removing empty directories ... <init> : Avifile RELEASE-0.7.41-050226-11:35-ssp-3.4.3.20050110-0, <init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse pni syscall mp mmxext 3dnowext 3dnow <init> : 4294.97 MHz AMD Athlon(tm) processor detected <LDT keeper> : Installed fs segment: 0xb6a95000 <codec keeper> : Found 9 plugins (/usr/lib/avifile-0.7,A:40,V:87) Couldn't load plugin '/root/.mupen64/./plugins/mupen64_alsasnd-0.4.so': /root/.mupen64/./plugins/mupen64_alsasnd-0.4.so: undefined symbol: _Z15DeleteGUIObjectPP26Plugin_Graphical_Interface
By the way, check out my nice overclock



Reply With Quote
