1
Vote

CD-ROM plugin not working

description

Installed edge pcsxr from Ubuntu daily build PPA, hit this bug. Got fed up with Ubuntu and installed Arch Linux as a result of this, and then tried installing both pcsxr-git from Arch AUR, and building it myself. Same issue on all three:
__
/usr/lib/games/psemu/libDFCdrom.so: undefined symbol: mmc_run_cmd
__
or related errors (using plugins I think from 1.9.92):
__
/home/d/.pcsxr/plugins/libgpuPeteXGL2.so.2.0.9: wrong ELF class: ELFCLASS32
/home/d/.pcsxr/plugins/libDFCdrom.so: undefined symbol: mmc_run_cmd
__

Can't open the CD plugin!

Best I can figure is that this is some kind of problem with libcdio, guessing pcsxr is falling behind.

PCSXR tried at 1.9.94 and 1.9.93. libcdio version is 0.94. Kernel is 4.10.11-1-ARCH, x86_64.

comments

Solis wrote May 2 at 7:14 PM

Hello djvsh092tn3wig,

/home/d/.pcsxr/plugins/libgpuPeteXGL2.so.2.0.9: wrong ELF class: ELFCLASS32 This means your tring to
run a 32 bit plugin on a 64bit system which does not work. To use that plugin you will need

Multilib system + pcsxr 32bit + plugins 32 = work.
Multilib system + pcsxr 64bit + plugins 32 = does not work.

Pcsxr-1.9.92 came out august 2010. You should
try compiling lastest version of pcsxr. Here are instructions on how to do that.

Please note for sound the alsa sound has a bug with high compatibility mode. Use SDL or OpenAL for sound to get around that issue.

Before compiling i would delete the the old ./pcsxr directory by typing the following. (Backup your memory cards first)

rm -rf ~/.pcsxr

The newest version of pcsxr is 6484236cb028 - 18FEB2017 If you have an issue with xvideo crashing i would download pcsxr d305a9c07851 - 11NOV2016 to get around that issue.

https://pcsxr.codeplex.com/SourceControl/latest

For deb type systems you need the following dependencies.

sudo apt-get install subversion autoconf intltool libtool libsdl1.2-dev libgtk-3-dev libxv-dev libxtst-dev nasm libxxf86vm-dev build-essential libc6-dev

For Antergos Linux 64-bit/Arch i believe this is what you need.

sudo pacman -S libxv libtool sdl subversion libxtst nasm libxxf86vm gtk3 autogen autoconf-2.64 intltool

To compile pcsxr 6484236cb028 - 18FEB2017 do

cd /home/user/Downloads/pcsxr-version

cmake .
ccmake .
make
sudo make install

To compile pcsxr d305a9c07851 - 11NOV2016 follow the instructions below.

Then extract the pcsxr-version you dowloaded.

Then type in a ternimal : cd /home/yourusername/Downloads/pcsxr-version

You will need to do this to these files.

sed -i 's/\r//' '/home/user/Downloads/pcsxr-version/autogen.sh'
sed -i 's/\r//' '/home/user/Downloads/pcsxr-version/strip_fPIC.sh'
sed -i 's/\r//' '/home/user/Downloads/pcsxr-version/configure.ac'
sed -i 's/\r//' '/home/user/Downloads/pcsxr-version/po/Makefile.in.in'

then type: chmod 755 ./autogen.sh

then type: ./autogen.sh

./configure --prefix=/usr --enable-libcdio --enable-sound=sdl --enable-opengl --enable-sio1

then type: make

then type: sudo make install



To uninstall the pcsxr version you just installed.

cd /home/yourusername/Downloads/pcsxr-version

sudo make uninstall

Carlos3xC wrote Jun 12 at 10:16 AM

Hi, I tried to install the pcsxr-git from AUR too, I have Arch Linux 64-bits and the same issue about the CDROM plugin, I couldn't select any.
The exact same output

I was following your instrucctions but those autogen.sh, strip_fPIC.sh, configure.ac and Makefile.in.in doesn't exist in the folder I downloaded from PCSX-Reloaded

/usr/lib/games/psemu/libDFCdrom.so: undefined symbol: mmc_run_cmd

Also I've tried installing with pacman the pcsxr package from multilib but although plugins seems to work well, when I try to load and ISO or even start BIOS I get the "segmentation fault ('core' dumped)" error when I run it from terminal. My language is spanish so I get "Violacion del segmento ('core 'generado)"

I keep searching on the Internet but I just can't figure it out, maybe I have lack of some information. I would really aprecciate someone shed some light on this issue.

Carlos3xC wrote Jun 12 at 10:26 AM

[EDIT]
I copy-pasted djvsh092tn3wig output, my bad.
/usr/lib/games/psemu/libDFCdrom.so: undefined symbol: mmc_run_cmd

I meant I was getting the same output with pcsxr-git from AUR. I also tried the pcsxr-gtk2 package and It work once, I unistalled because I have a hiDPI screen and I coudn't configure any plugin and when I got tired of searching for other versions of pcsxr I reinstalled and video plugin didn't work.

I used pacaur for installing and uninstalling those packages.