ok this trick got rid of the autorelease errors now i get this:
Scottietrek:~/xmame-0.100 scott$ xmame.sdl /Users/scott/Documents/
MacMAME\ User\ Data/ROMs/\#/88games.zip
warning: no mixer plugins available
info: trying to parse: /usr/share/xmame/xmamerc
info: trying to parse: /Users/scott/.xmame/xmamerc
info: trying to parse: /usr/share/xmame/xmame-SDLrc
info: trying to parse: /Users/scott/.xmame/xmame-SDLrc
info: trying to parse: /usr/share/xmame/rc/88gamesrc
info: trying to parse: /Users/scott/.xmame/rc/88gamesrc
loading rom 0: 861m01.k18
loading rom 1: 861m02.k16
loading rom 2: 861d01.d9
loading rom 3: 861a08.a
loading rom 4: 861a08.c
loading rom 5: 861a08.b
loading rom 6: 861a08.d
loading rom 7: 861a09.a
loading rom 8: 861a09.c
loading rom 9: 861a09.b
loading rom 10: 861a09.d
loading rom 11: 861a05.a
loading rom 12: 861a05.e
loading rom 13: 861a05.b
loading rom 14: 861a05.f
loading rom 15: 861a05.c
loading rom 16: 861a05.g
loading rom 17: 861a05.d
loading rom 18: 861a05.h
loading rom 19: 861a06.a
loading rom 20: 861a06.e
loading rom 21: 861a06.b
loading rom 22: 861a06.f
loading rom 23: 861a06.c
loading rom 24: 861a06.g
loading rom 25: 861a06.d
loading rom 26: 861a06.h
loading rom 27: 861a04.a
loading rom 28: 861a04.b
loading rom 29: 861a04.c
loading rom 30: 861a04.d
loading rom 31: 861.g3
loading rom 32: 861a07.a
loading rom 33: 861a07.b
loading rom 34: 861a07.c
loading rom 35: 861a07.d
done
SDL: Using a mode with a resolution of: 608x448x16
Initialized low quality filter: bitmap depth = 16, color format = RGB
565
info: requesting stereo 16bit sound at 44100 hz
info: sysdep_dsp: using coreaudio plugin
info: dsp: using timer-based audio
Illegal instruction
On Oct 1, 2005, at 3:24 AM, smf wrote:
It works it's way through based on dependencies & what needs
compiling.
If you build everything as standard then change the makefile it
won't build m68kmake again.
But you'll need to trick it into building the file with main() in
after you change it with:
$ touch filewithmainin.c
So that it builds it with the new CFLAGS.
I don't have the source here so I can't tell you where it is but
grep should be able to help.
In the src directory should be another directory with the xmame
code in. Go to that directory
and grep for it.
You could just find the main function in the xmame source and
change it to SDL_main.
Phill
----- Original Message ----- From: "Scott Wagner"
<[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, October 01, 2005 8:54 AM
Subject: Re: [Xmame] Runtime errors
Sorry kind of redundent but where in the make file does it tell
gcc what to build and when. Does it just step down the unix.mak
or is there a predefined order.
On Oct 1, 2005, at 2:38 AM, smf wrote:
The problem here is that mame needs the cflags, but m68kmame
doesn't.
You can work around this by building everything with the standard
cflags, then change them to the one for sdl and touch the file
with main() in.
Phill
----- Original Message ----- From: "Scott Wagner"
<[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, October 01, 2005 8:10 AM
Subject: Re: [Xmame] Runtime errors
Ok instead of putting this as a cflags i put it in the linker.
As LD was the original problem. Here was the problem Lets hope
it works.
Scottietrek:~/xmame-0.100 scott$ make -f makefile.unix
M68K make src/cpu/m68000/m68kmake.c...
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
make: *** [xmame.obj/cpu/m68000/m68kmake] Error 1
It seemed more like this was supposed to be a part of the linking.
On Sep 30, 2005, at 8:32 PM, Carl M. Fongheiser wrote:
On Fri, 2005-09-30 at 18:53 -0500, Scott Wagner wrote:
Ok i have done a little research on these pool errors . It
seems to
be a normal issue. but my app still does not run. I am going
to try
yet another opt levels. I have tried -0s and none i am going
to try
-3s now. anyway here is the error.
The problem is that SDL needs to run code before main() gets
going on
Mac OS X. You can fix this (in a hacked fashion) by adding:
CFLAGS+= -Dmain=SDL_main
somewhere in the Makefile after the other lines that set CFLAGS.
Carl Fongheiser
[EMAIL PROTECTED]
_______________________________________________
Xmame mailing list
[email protected]
http://toybox.twisted.org.uk/mailman/listinfo/xmame
_______________________________________________
Xmame mailing list
[email protected]
http://toybox.twisted.org.uk/mailman/listinfo/xmame
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/115 - Release Date:
29/09/2005
_______________________________________________
Xmame mailing list
[email protected]
http://toybox.twisted.org.uk/mailman/listinfo/xmame
_______________________________________________
Xmame mailing list
[email protected]
http://toybox.twisted.org.uk/mailman/listinfo/xmame
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/115 - Release Date:
29/09/2005
_______________________________________________
Xmame mailing list
[email protected]
http://toybox.twisted.org.uk/mailman/listinfo/xmame
Thank You
Scott Wagner
[EMAIL PROTECTED]
_______________________________________________
Xmame mailing list
[email protected]
http://toybox.twisted.org.uk/mailman/listinfo/xmame