- --
Viewing Issue Advanced Details
[ Jump to Notes ]
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 -99Long 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.rcdoes 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
|
mamevers_fix.diff (842 bytes) Mar 26, 2009, 08:05 [Show Content] [Hide Content]diff -Nru src\osd\windows\mame.rc src_new\osd\windows\mame.rc --- src\osd\windows\mame.rc Sat Jan 5 19:47:42 2008 +++ src_new\osd\windows\mame.rc Thu Feb 28 04:00:50 2008 @@ -8,6 +8,6 @@ #define NOWINRES #include "windows.h" #include "commctrl.h" -#include "mamevers.rc" +// #include "mamevers.rc" 1 24 MOVEABLE PURE "mame.man" diff -Nru src\osd\windows\windows.mak src_new\osd\windows\windows.mak --- src\osd\windows\windows.mak Thu Feb 28 02:55:38 2008 +++ src_new\osd\windows\windows.mak Thu Feb 28 04:01:02 2008 @@ -302,7 +302,5 @@ $(RESFILE): $(WINSRC)/mame.rc $(WINOBJ)/mamevers.rc -$(WINOBJ)/mamevers.rc: $(BUILDOUT)/verinfo$(BUILD_EXE) $(SRC)/version.c - @echo Emitting $@... - @$(BUILDOUT)/verinfo$(BUILD_EXE) -b windows $(SRC)/version.c > $@ +$(WINOBJ)/mamevers.rc: | ||||
Relationships
There are no relationship linked to this issue. |
Notes
3
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 |
---|---|
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 |
No.08924
Firewave Senior Tester
Sep 20, 2012, 08:35
|
I don't think there is any more Win9x support since unicows was removed. |