Problems installing lr-mame2016
-
Hello, I've tried installing lr-mame2016 on a Pi 4 with Retropie 4.6 without success.
If I try to install the pre-compiled binary I get a failed to download error like this:Downloading https://files.retropie.org.uk/binaries/buster/rpi4/kms/libretrocores/lr-mame2016.tar.gz.asc ...
https://files.retropie.org.uk/binaries/buster/rpi4/kms/libretrocores/lr-mame2016.tar.gz.asc:
2020-10-28 00:02:10 ERROR 404: Not Found.
URL https://files.retropie.org.uk/binaries/buster/rpi4/kms/libretrocores/lr-mame2016.tar.gz.asc failed to download.If I try to compile it from source it also fails and ends like this:
make[3]: *** [mamearcade2016.make:477: ../../../../gmake/libretro/obj/libretro/src/osd/retro/retromain.o] Error 2
make[3]: *** Waiting for unfinished jobs....
31031 driver(s) found
make[2]: *** [Makefile:376: mamearcade2016] Error 2
make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/build/projects/retro/mamearcade/gmake-linux'
make[1]: *** [makefile:1214: linux] Error 2
make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016'
make: *** [Makefile.libretro:197: build] Error 2
Removing additional swap
/home/pi
Could not successfully build lr-mame2016 - MAME emulator - MAME 0.174 port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/mamearcade2016_libretro.so not found).Is there another option for me to install lr-mame2016? Can I perhaps change the faulty link of the pre-compiled bin?
I've seen a tip to remove OC to compile which I have tried, but it wont compile even at stock. -
@GongStar said in Problems installing lr-mame2016:
make[3]: *** [mamearcade2016.make:477: ../../../../gmake/libretro/obj/libretro/src/osd/retro/retromain.o] Error 2
make[3]: *** Waiting for unfinished jobs....
31031 driver(s) found
make[2]: *** [Makefile:376: mamearcade2016] Error 2
make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/build/projects/retro/mamearcade/gmake-linux'
make[1]: *** [makefile:1214: linux] Error 2
make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016'
make: *** [Makefile.libretro:197: build] Error 2The actual error is probably in in the previous lines, can you try and post some more lines before the error ?
We'll try to fix the binary download issue, the package is missing the signature for some reason. -
If you can't wait, I installed it from source a few hours ago. It took me around 1hr 30min.
-
@mitu There doesn't seem to be much interesting above that. I uploaded the log file to a file host. https://1fichier.com/?vphtymo17sn9jt70ne24
The only error I can find in the log though is the retromain.cpp one.
Compiling src/osd/retro/retromain.cpp...
g++ -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -MMD -MP -MP -D__LIBRETRO__ -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -DMAME_NOASM -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I../../../../../src/osd/retro/libretro-common/include -I../../../../../src/osd -I../../../../../src/emu -I../../../../../src/devices -I../../../../../src/mame -I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../3rdparty -I../../../../generated/mame/layout -I../../../../generated/resource -I../../../../../3rdparty/zlib -I../../../../../3rdparty/libflac/include -I../../../../../src/osd/retro -I../../../../../src/osd/modules/render -I../../../../../3rdparty/winpcap/Include -I../../../../../3rdparty/bgfx/include -I../../../../../3rdparty/bx/include -O2 -g -fPIC -fPIC --pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-array-bounds -Wno-cast-align -x c++ -std=c++14 -Woverloaded-virtual -Wsuggest-override -include /home/pi/RetroPie-Setup/tmp/build/lr-mame2016/src/osd/retro/retroprefix.h -o "../../../../gmake/libretro/obj/libretro/src/osd/retro/retromain.o" -c "../../../../../src/osd/retro/retromain.cpp"
Assembler messages:
Fatal error: can't create ../../../../gmake/libretro/obj/libretro/src/osd/retro/retromain.o: No such file or directory
Compiling src/osd/retro/libretro.cpp... -
It may have run out of memory when linking the core file. Which Pi4 model do you have - the 2/4/1Gb ?
-
@mitu It's the 2Gb model. I'm currently retrying the compilation, maybe it was something temporary. I have actually successfully compiled lr-mame2016 with this board previously but removed it since I thought the performance was dodgy. The compilation at that time was done with a heavy 2147Mhz OC.
-
The retry didn't work. Compilation of lr-mame2016 still fails with the same problem.
-
@GongStar Remove your overclock. It's probably not stable.Compiled fine here at 1950Mhz. I'm using a pi4 2GB model.
-
Binaries should be updated and signed now.
-
@Darksavior I have no overclock atm, it's 1500Mhz stock and it has failed to compile 3 times under this condition. It doesn't seem to be clock related since I've actually successfully compiled it even at 2147Mhz before. I have no clue why I can't compile it again. Anyhow, thanks for pushing up the updated binary. At least with that I can finally install it again. peace
-
@GongStar
I would need a full log rather than a snippet to debug. -
Sorry. I see you did. I'll check.
-
@GongStar the output of
dmesg
might be useful after the build fails. You are right there is nothing else in the log - I thought there might be something. Not sure of the issue if you have plenty of free space on card, and no overclock.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.