Results 1 to 4 of 4
  1. #1
    EmuTalk Member Need4Speed's Avatar
    Join Date
    Feb 2005
    Location
    NJ
    Posts
    4

    Unhappy Alsa plugin won't load!

    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:
    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.
    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 # ./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
    Any clue as to what this error means?

    By the way, check out my nice overclock



    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    EmuTalk Member
    Join Date
    Feb 2005
    Posts
    6
    looks like it doesnt like being without a gui frontend
    try using the qt one maybe it will be happy for a quick work around

    i have a patch that allows the gtk bit to compile but it segfaults when trying
    to load the dialog
    ill look into this hopefully some more today and get a bug open on gentoo's bugzilla
    if i cant get a dev to commit it right away

  3. #3
    EmuTalk Member Need4Speed's Avatar
    Join Date
    Feb 2005
    Location
    NJ
    Posts
    4
    that would be awsome if you could...I don't have qt now and don't really want it

  4. #4
    EmuTalk Member
    Join Date
    Feb 2005
    Posts
    6
    sorry for the delay i was holding out for the dev but gave up on that

    http://bugs.gentoo.org/show_bug.cgi?id=84235

    patch can be found there

Similar Threads

  1. HOW TO get the best sound on slow computers and When using the RSP plugin
    By Hacktarux in forum General N64 Emulation Discussion
    Replies: 6
    Last Post: September 17th, 2006, 23:06
  2. Replies: 1
    Last Post: December 22nd, 2004, 10:13
  3. Update on the ALSA plugin
    By guilhermef in forum Mupen64
    Replies: 10
    Last Post: February 6th, 2004, 13:45
  4. Guilhermef's ALSA plugin 0.4
    By Martin in forum Emulation64.com News
    Replies: 0
    Last Post: October 31st, 2003, 15:43
  5. Guilhermef's ALSA plugin 0.2
    By Martin in forum Sound Plugins Archive
    Replies: 0
    Last Post: October 4th, 2003, 16:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •