Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03052 Compiling Major Always Mar 22, 2009, 16:04 Sep 20, 2012, 08:35
Tester AndersH View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Won't fix OS
Status [?] Closed Driver
Version 0.130 Fixed in Version Build
Fixed in Git Commit Github Pull Request #
Summary 03052: make: emit mamevers.rc fails with "error -99"
Description   To my knowledge, I have the official build tools recently downloaded and in working order.

  The following happens (after a long while):
Emitting obj/windows/mame/osd/windows/mamevers.rc...
MAKE.EXE: *** [obj/windows/mame/osd/windows/mamevers.rc] Error -99
  Long version: output from make -d
  (where make.exe is simply a copy of mingw32-make.exe):
        Must remake target `obj/windows/mame/osd/windows/mamevers.rc'.
CreateProcess(C:\PROGRAM\MINGW\MINGW-MAME-20070810\BIN\echo.exe,echo Emitting ob
j/windows/mame/osd/windows/mamevers.rc...,...)
Putting child 0x00b551d0 (obj/windows/mame/osd/windows/mamevers.rc) PID 11891168
 on the chain.
Live child 0x00b551d0 (obj/windows/mame/osd/windows/mamevers.rc) PID 11891168
Emitting obj/windows/mame/osd/windows/mamevers.rc...Main thread handle = 0x00000
014

Reaping winning child 0x00b551d0 PID 11891168
CreateProcess(C:\PROGRAM\MINGW\MINGW-MAME-20070810\BIN\sh.exe,C:/PROGRAM/MINGW/M
INGW-MAME-20070810/BIN/sh.exe -c "obj/windows/mame/build/verinfo.exe -b windows
src/version.c > obj/windows/mame/osd/windows/mamevers.rc",...)
Live child 0x00b551d0 (obj/windows/mame/osd/windows/mamevers.rc) PID 11910432
Reaping losing child 0x00b551d0 PID 11910432
MAKE.EXE: *** [obj/windows/mame/osd/windows/mamevers.rc] Error -99
Removing child 0x00b551d0 PID 11910432 from chain.

  Investigation:
  sh -c "obj/windows/mame/build/verinfo.exe -b windows src/version.c"
  does produce output on stdout.
  sh -c "obj/windows/mame/build/verinfo.exe -b windows src/version.c > testout"
  does NOT produce file testout.
  Perhaps sh returns "Error -99", however the DOS environment does not show this,
  and mingw does not appear to feature an interactive shell environment?
  Trying DOS instead,
  obj\windows\mame\build\verinfo -b windows src/version.c >obj\windows\mame\osd\windows\mamevers.rc
  does produce "mamevers.rc" properly.

  After this manual workaround, my build can continue successfully.
Steps To Reproduce Download fresh MAME src and mingw tools
make
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
? file icon mamevers_fix.diff (842 bytes) Mar 26, 2009, 08:05
[Show Content]
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.04028
Tafoid
Administrator
Mar 22, 2009, 22:26
edited on: Mar 23, 2009, 01:19
I'll leave this for Aaron or another competent Dev to comment on. That "Error -99" is not a new thing and has happened for some time, specifically for Window 98 users.

There is a discussion about how to address this here:
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=153539
User avatar
No.04077
Twisty
Senior Tester
Mar 26, 2009, 08:05
Yeah it's a Win9x issue - attached is a patch I made to bypass the problem.

patch -p0 -E <mamevers_fix.diff
User avatar
No.08924
Firewave
Senior Tester
Sep 20, 2012, 08:35
I don't think there is any more Win9x support since unicows was removed.