MAME 2014 and 2016 not compiling
-
Hi guys, I've tried installing lr-MAME2014 and lr-MAME2016, but both fail. I don't really understand why though, as I have a second pi that compiled both emulators without a problem. The second one is a later build, but both have been updated to the latest setup script before trying to install.
Details of the failing one are as following:
Pi Model or other hardware: Pi B3
Power Supply used: original raspberry pi one
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.1.15
Built From: retropie-4.0.2-rpi2_rpi3.img.gz
USB Devices connected: nil
Controller used: PS2
Error messages received: as per belowCould 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).
Could not successfully build lr-mame2014 - Arcade emu - MAME 0.159 port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mame2014/mame2014_libretro.so not found).
Any thoughts guys?
-
full build logs are kept in /home/pi/RetroPie-Setup/logs/ - if you extract them there will be a text file with the build error somewhere near the bottom.
-
Yeah I checked the log.gz, but all I could find at the end was the above mentioned error
-
@Evert said in MAME 2014 and 2016 not compiling:
Yeah I checked the log.gz, but all I could find at the end was the above mentioned error
that's just saying it couldn't build because there was a compile error. there will be the actual error before that. scroll up
-
Ok, I just scrolled through the entire log and was able to find the following errors:
make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/src/devices/cpu/m68000'
GCC 4.9.2 detected
fatal: No names found, cannot describe anything.Generated 1972 opcode handlers from 523 primitives
make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/src/devices/cpu/m68000'
fatal: No names found, cannot describe anything./usr/include/c++/4.9/bits/unique_ptr.h:669:5: internal compiler error: Segmentation fault
operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
Compiling src/lib/netlist/devices/nld_ne555.cpp...
The bug is not reproducible, so it is likely a hardware or OS problem.
formats.make:2845: recipe for target '../../../../gmake/libretro/obj/libretro/src/lib/formats/x07_cas.o' failed
make[2]: *** [../../../../gmake/libretro/obj/libretro/src/lib/formats/x07_cas.o] Error 1
Makefile:25: recipe for target 'formats' failed
make[1]: *** [formats] Error 2Archiving libnetlist.a...
makefile:1213: recipe for target 'linux' failed
make: *** [linux] Error 2
Removing additional swap -
@Evert are you over clocked?
-
Hi Buzz, yes it is running slightly higher, but so is the other one that is compiling both new versions of MAME.
-
@Evert Different boards are stable at different clocks etc. Also maybe you just got lucky and your overclock is not actually stable (compiling code is CPU intensive and may show up instability issues).
Disable the overclock and try again.
-
Thanks Buzz, I'll give that a go tonight and I'll let you know how I go.
-
Buzz, you were right mate. Lowered the clock speed from 1400 to 1200 and lr-mame2014 installed. Trying 2016 now as well, not expecting any issue.
I didn't have any issues running games at 1400, but it must have been a bit to high to be perfectly stable for compilation.Thanks again mate.
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.