Hi, trying to build/run MESS for Raspberry Pi. I know this has been discussed a bit in the past, but I didn't find a lot of help in that thread. I also know that the expected experience is poor, but I wanted to see for myself. So....
RPi out of the box cannot compile latest MESS SVN without getting a compiler error (gcc 4.6). Using 4.7 I can build and link both mess and messd (the later requires 2GB of swap--use an external HD).
For 4.7 I had to add -Wno-error=narrowing -Wno-error=attributes to avoid C++11 issue with narrowing and inlining. I can post the make output if you all want to look at the warnings.
I get a segfault when I try to run mess, here's the backtrace:
Code
(gdb) run
Starting program: /home/egan/src/mess47/messd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb5452420 (LWP 3394)]
[New Thread 0xb4b83420 (LWP 3396)]
Program received signal SIGSEGV, Segmentation fault.
0x00000038 in ?? ()
(gdb) backtrace
#0 0x00000038 in ?? ()
#1 0x002b5470 in delegate_base<void, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam>::operator() (this=0x39adb2c) at src/lib/util/delegate.h:649
#2 0x0222ed58 in running_machine::call_notifiers (this=0xbeffba70, which=MACHINE_NOTIFY_PAUSE) at src/emu/machine.c:825
#3 0x0222e740 in running_machine::pause (this=0xbeffba70) at src/emu/machine.c:693
#4 0x022e88cc in ui_menu_select_game::force_game_select (machine=..., container=0x3977cb0) at src/emu/ui/selgame.c:446
#5 0x0233e4a8 in empty_state::machine_start (this=0x3974ab8) at src/emu/drivers/empty.c:32
#6 0x0219e890 in driver_device::device_start (this=0x3974ab8) at src/emu/driver.c:221
#7 0x02157fcc in device_t::start (this=0x3974ab8) at src/emu/device.c:392
#8 0x0222f61c in running_machine::start_all_devices (this=0xbeffba70) at src/emu/machine.c:1053
#9 0x0222d3a4 in running_machine::start (this=0xbeffba70) at src/emu/machine.c:278
#10 0x0222d9e0 in running_machine::run (this=0xbeffba70, firstrun=true) at src/emu/machine.c:342
#11 0x0222ba18 in machine_manager::execute (this=0x392e638) at src/emu/mame.c:216
#12 0x02145b84 in cli_frontend::execute (this=0xbefff6b0, argc=1, argv=0xbefff824) at src/emu/clifront.c:243
#13 0x010be190 in main (argc=1, argv=0xbefff824) at src/osd/sdl/sdlmain.c:332