Changelog ffom x.mame.net # Everything from MAME/MESS 0.84 # Removed -listinfo, since it's no longer supported by the core. # The support for network play and rapidfire is no longer in vanilla MAME, so they have to be patched into the core for releases. # Builds on LinuxPPC should no longer give warnings about "PPC" being redefined. # Removed romalizer from src/unix/contrib/tools since it has been abandoned. # Reworked the makefiles so that dirtied files in src/unix are once again compiled and force the application to relink. It also seems to behave well with parallel (-j) invocations of 'make'. # Enabled messtest in src/unix/unix.mak since it should now build without errors with 'make -j'. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Try as I might I can't get this to compile. A straight ebuild rename results in this: [OSEPEND] Compiling src/unix/video-drivers/gltool.c ... src/unix/video-drivers/gltool.c: In function `loadGLLibrary': src/unix/video-drivers/gltool.c:273: error: stray '\' in program src/unix/video-drivers/gltool.c:273: error: missing terminating " character src/unix/video-drivers/gltool.c:273: error: parse error before ',' token src/unix/video-drivers/gltool.c:276: error: stray '\' in program src/unix/video-drivers/gltool.c:276: error: missing terminating " character src/unix/video-drivers/gltool.c:276: error: parse error before ')' token src/unix/video-drivers/gltool.c: In function `getGLProcAddressHelper': src/unix/video-drivers/gltool.c:423: error: stray '\' in program src/unix/video-drivers/gltool.c:423: error: missing terminating " character src/unix/video-drivers/gltool.c:423: error: parse error before ')' token src/unix/video-drivers/gltool.c:434: error: stray '\' in program src/unix/video-drivers/gltool.c:434: error: missing terminating " character src/unix/video-drivers/gltool.c:434: error: parse error before ')' token src/unix/video-drivers/gltool.c:446: error: stray '\' in program src/unix/video-drivers/gltool.c:446: error: missing terminating " character src/unix/video-drivers/gltool.c:446: error: parse error before ')' token src/unix/video-drivers/gltool.c:452: error: stray '\' in program src/unix/video-drivers/gltool.c:452: error: missing terminating " character src/unix/video-drivers/gltool.c:452: error: parse error before ')' token make: *** [xmame.obj/unix.xgl/video-drivers/gltool.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: games-emulation/xmame-0.84.1 failed. !!! Function src_compile, Line 175, Exitcode 2 !!! emake failed (xgl) and making the change outlined here: http://www.mail-archive.com/xmame%40toybox.twisted.org.uk/msg07163.html results in this: [OSEPEND] Compiling src/unix/video-drivers/gltool.c ... src/unix/video-drivers/gltool.c: In function `loadGLLibrary': src/unix/video-drivers/gltool.c:273: error: missing terminating " character src/unix/video-drivers/gltool.c:273: error: parse error before ',' token src/unix/video-drivers/gltool.c:276: error: missing terminating " character src/unix/video-drivers/gltool.c:276: error: parse error before ')' token src/unix/video-drivers/gltool.c: In function `getGLProcAddressHelper': src/unix/video-drivers/gltool.c:423: error: missing terminating " character src/unix/video-drivers/gltool.c:423: error: parse error before ')' token src/unix/video-drivers/gltool.c:434: error: missing terminating " character src/unix/video-drivers/gltool.c:434: error: parse error before ')' token src/unix/video-drivers/gltool.c:446: error: missing terminating " character src/unix/video-drivers/gltool.c:446: error: parse error before ')' token src/unix/video-drivers/gltool.c:452: error: missing terminating " character src/unix/video-drivers/gltool.c:452: error: parse error before ')' token make: *** [xmame.obj/unix.xgl/video-drivers/gltool.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: games-emulation/xmame-0.84.1 failed. !!! Function src_compile, Line 175, Exitcode 2 !!! emake failed (xgl) Can anyone make sense of that?
After spending almost all of Monday working on this and only half succeeding I thought I'd update this with what I've found. The main issue essentially was a screwup on my part. I only made half the change required, only removing one of the slashes in the Makefile instead of both. Fixing that up resulted in xmame compiling just fine. I'll attach a patch for this but I suspect it'll probably be easier to do with some sed-fu but my skills in that area are severely lacking, even more so than my diff/patch skills. That's only half the story though. xmess.xgl still won't compile properly. That's an upstream bug though which has already been brought to the attention of the devs. Lawrence Gold made a post on the mailing list indicating that he'd look into it.
Created attachment 35890 [details, diff] makefile.unix libglut fix
It might not be a bad idea to find a way to compile xml2info (src/xml2info) in the ebuild since many if not all Linux frontends will probably start requiring it in the path to build gamelists. Dunno how gcc -O1 -o /usr/games/bin/xml2info src/xml2info.c translates into ebuild speak though.
Disregard my previous comment - looks like Lawrence is adding it to the makefile for the next for 0.85.
*** This bug has been marked as a duplicate of 60217 ***
Closing to clean up after bugzilla upgrade. reopen if closed in error. Thanks.
clean up bug list after bugzilla update