Install MAME from source fails errors near end of compile, no logs...
-
RetroPieSetup 4.0.2, pi3. trying a compile outside of setup now, but it will take a while and probably fail again, but at least I'll know where/why. If anyone has had the same problem, let me know if you solved it, and how.
TYVM IA
-
@gomisensei which mame?
-
lr-mame, the current one. It looks like it worked, in setup but when i run it i get the error (in retroarch)
RetroArch [ERROR] :: Failed to open libretro core: "/opt/retropie/libretrocores/lr-mame/mamearcade_libretro.so"
RetroArch [ERROR] :: Error(s): /opt/retropie/libretrocores/lr-mame/mamearcade_libretro.so: file too short
RetroArch [ERROR] :: Fatal error received in: "load_dynamic()" -
Perhaps you ran out of memory/disk space when linking. A log would help - logs are created when using RetroPie-Setup - they are stored in the logs subfolder.
-
OK, it got an error while linking, but still deleted the working directory, and installed the incomplete mamearcade_libretro.so...
Linking mamearcade_libretro.so... g++ -o ../../../../../mamearcade_libretro.so ../../../../gmake/libretro/obj/libretro/src/mame/mame.o ../../../../gmake/libre$ collect2: error: ld terminated with signal 9 [Killed] mamearcade.make:455: recipe for target '../../../../../mamearcade_libretro.so' failed make[3]: *** [../../../../../mamearcade_libretro.so] Error 1 Makefile:373: recipe for target 'mamearcade' failed make[2]: *** [mamearcade] Error 2 mamearcade.make:455: recipe for target '../../../../../mamearcade_libretro.so' failed make[3]: *** [../../../../../mamearcade_libretro.so] Error 1 Makefile:373: recipe for target 'mamearcade' failed make[2]: *** [mamearcade] Error 2 make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame/build/projects/retro/mamearcade/gmake-linux' makefile:1192: recipe for target 'linux' failed make[1]: *** [linux] Error 2 make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame' Makefile.libretro:195: recipe for target 'build' failed
i recloned the git in my home dir and am re-compiling it now, let's see what it says...
-
Looks like out of memory - you should reduce GPU mem. It doesn't detect the error since the libretro file exists (it is just incomplete). The retropie module adds additional swap, but perhaps it needs even more.
-
@BuZz said in Install MAME from source fails errors near end of compile, no logs...:
Looks like out of memory - you should reduce GPU mem. It doesn't detect the error since the libretro file exists (it is just incomplete). The retropie module adds additional swap, but perhaps it needs even more.
bah, i wish it hadn't deleted the object files, so i could just switch up my memory split and re make. Oh, well, back to the endless screens of code for 8 more hours...
any tips to speedup compile on a pi3? maybe a -j3 or something...?
-
retropie-setup uses -j2 for rpi3. can override with
sudo MAKEFLAGS=-j4 ./retropie-setup.sh
etc, but more parallelisation = more memory used during compile of course. -
thx for the help, finally got it compiled, but it mostly just crashes back to retroarch 10 seconds into startup on the games I wanted it for. ahh, well, that's why it's called experimental.
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.