I can not compile wimgtool because I get following error:
Compiling src/mess/tools/imgtool/windows/wmain.c... Compiling src/mess/tools/imgtool/windows/wimgtool.c... Compiling src/mess/tools/imgtool/windows/attrdlg.c... Compiling src/mess/tools/imgtool/windows/assoc.c... cc1.exe: warnings being treated as errors src/mess/tools/imgtool/windows/assoc.c: In function 'win_association_exists': src/mess/tools/imgtool/windows/assoc.c:55: warning: implicit declaration of func tion 'ARRAY_LENGTH' mingw32-make: *** [obj/windows/mess/mess/tools/imgtool/windows/assoc.o] Error 1
So obj/windows/mess/mess/tools/imgtool/windows/assoc.o can not be created and is missing. Because of this error, I can not compile other tools like chdman etc. too.