Previous Thread
Next Thread
Print Thread
Page 18 of 44 1 2 16 17 18 19 20 43 44
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Hmmm, are you using the latest version of SDL 1.2 (1.2.15)? Because GLhandleARB is defined as "void *" in SDL 1.2.15's SDL_opengl.h, but yours appears to use "unsigned int" instead. Note that for Mac OS X 10.9 SDL 1.2.15 is kinda mandatory.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2009
Posts: 78
Member
Offline
Member
Joined: Jul 2009
Posts: 78
Installed newer SDL, MESS compiled. Thanks a lot! :-)

Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
Yeah, SDL 1.2.14 and earlier will crash on OS X 10.8 and later.

Joined: Feb 2014
Posts: 27
D
Member
Offline
Member
D
Joined: Feb 2014
Posts: 27
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

Looking for tips on how to proceed. Thanks.

Joined: Aug 2012
Posts: 74
Member
Offline
Member
Joined: Aug 2012
Posts: 74
Getting the following error trying to build latest:

Code
process_begin: CreateProcess(NULL, python src/emu/cpu/h8/h8make.py src/emu/cpu
8/h8.lst o obj/windows64/emu/cpu/h8/h8.inc, ...) failed.
Generating H8-300H source file...
make (e=2): The system cannot find the file specified.
src/emu/cpu/cpu.mak:650: recipe for target 'obj/windows64/emu/cpu/h8/h8.inc' f
led
make: *** [obj/windows64/emu/cpu/h8/h8.inc] Error 2
make: *** Waiting for unfinished jobs....
process_begin: CreateProcess(NULL, python src/emu/cpu/h8/h8make.py src/emu/cpu
8/h8.lst h obj/windows64/emu/cpu/h8/h8h.inc, ...) failed.
make (e=2): The system cannot find the file specified.
src/emu/cpu/cpu.mak:654: recipe for target 'obj/windows64/emu/cpu/h8/h8h.inc'
iled
make: *** [obj/windows64/emu/cpu/h8/h8h.inc] Error 2

Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
datajerk: If you get it to run, we'd love to know how you did it. Seriously smile

arcadefan: you don't have Python in your $PATH. Run the setenv.bat file in the MinGW package first (worked for me on Win 8.1 with the August mega-update applied), or follow the instructions on the tools download page.

Joined: Aug 2012
Posts: 74
Member
Offline
Member
Joined: Aug 2012
Posts: 74
Okay got past that error. Now this happens:

Code
obj/windows64/ume/ume/drivlist.o:drivlist.c:(.rdata+0x15c0): undefined reference
 to `driver_alphaone'
obj/windows64/ume/ume/drivlist.o:drivlist.c:(.rdata+0x15c8): undefined reference
 to `driver_alphaonea'
obj/windows64/ume/ume/drivlist.o:drivlist.c:(.rdata+0x23350): undefined referenc
e to `driver_metalmx'
obj/windows64/ume/ume/drivlist.o:drivlist.c:(.rdata+0x23538): undefined referenc
e to `driver_mhavoc'
obj/windows64/ume/ume/drivlist.o:drivlist.c:(.rdata+0x23540): undefined referenc
e to `driver_mhavoc2'
obj/windows64/ume/ume/drivlist.o:drivlist.c:(.rdata+0x23548): undefined referenc
e to `driver_mhavocp'
obj/windows64/ume/ume/drivlist.o:drivlist.c:(.rdata+0x23550): undefined referenc
e to `driver_mhavocrv'
collect2.exe: error: ld returned 1 exit status
makefile:897: recipe for target 'ume64.exe' failed
make: *** [ume64.exe] Error 1

Would doing a clean build help? I only resumed the build after I fixed the $PATH variable.

Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
Yeah, I'd suggest a clean build with that error. Note that UME is supported more by Haze than by MAMEdev/MESSdev, so you might ask at his place if problems persist.

Joined: Aug 2012
Posts: 74
Member
Offline
Member
Joined: Aug 2012
Posts: 74
Okay that worked thanks!
I'll runany further problems by Haze if they come up as I exclusively use UME.

Joined: Aug 2012
Posts: 27
E
Member
Offline
Member
E
Joined: Aug 2012
Posts: 27
Build failure ume64 on Linux rev 32220:

Compiling src/mess/drivers/besta.c...
Compiling src/mess/drivers/br8641.c...
src/mess/drivers/besta.c: In member function �virtual void besta_state::machine_reset()�:
src/mess/drivers/besta.c:123:44: error: �memset� used with constant zero length parameter; this could be due to transposed parameters [-Werror=memset-transposed-args]
memset(m_mpcc_regs, sizeof(m_mpcc_regs), 0); // should initialize to defined values
^
Compiling src/mess/drivers/busicom.c...
cc1plus: all warnings being treated as errors
Compiling src/mess/video/busicom.c...
makefile:922: recipe for target 'obj/sdl64/mess/drivers/besta.o' failed
make: *** [obj/sdl64/mess/drivers/besta.o] Error 1

Page 18 of 44 1 2 16 17 18 19 20 43 44

Link Copied to Clipboard
Who's Online Now
2 members (Kale, 1 invisible), 233 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,320
Posts121,923
Members5,074
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com