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.
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
_______________________________________________
Xmame mailing list
_______________________________________________
Xmame mailing list
--
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