Wireshark-dev: Re: [Wireshark-dev] buildbot failure in Wireshark (development) on Windows-7-x64

From: Mateusz Kolodziejski <matt@xxxxxxxxxxxxxx>
Date: Mon, 28 Jan 2013 13:38:14 +0000 (UTC)
> > $(ZLIB_DLL):
> > 	xcopy $(ZLIB_DIR) zlib.tmp /D /I /E /Y
> > 	cd zlib.tmp/zlib-1.2.5
> > 	$(MAKE) /$(MAKEFLAGS) -f win32/Makefile.msc zlib1.dll 
LOC="$(LOCAL_CFLAGS)-DASMV -DASMINF" \
> > 	OBJA="inffas32.obj match686.obj"
> > 	if not exist $(ZLIB_DIR) mkdir $(ZLIB_DIR)
> >
> >
> >>> build 1.2.3 with a modified zlib.def that includes inflatePrime
> >> That's what I did to try it out...
> Building zlib-1.2.5 on win64 I get
> NMAKE : fatal error U1073: don't know how to make 'inffas8664.c'
> Using
> !if "$(WIRESHARK_TARGET_PLATFORM)" == "win32"
>      $(MAKE) /$(MAKEFLAGS) -f win32/Makefile.msc zlib1.dll LOC="-DASMV 
> -DASMINF" OBJA="inffas32.obj match686.obj"
> !else
>      $(MAKE) /$(MAKEFLAGS) -f win32/Makefile.msc zlib1.dll AS=ml64 
> LOC="-DASMV -DASMINF" OBJA="inffasx64.obj gvmat64.obj inffas8664.c"
> !endif
> 
> I guess there is a fault in Makefile.msc in zlib
> I don't know how to fix it right now.
> Regards
> Anders


Now I know this thread is a bit old - still it helped me solve my own similar 
problem with zlib - so I'm leaving a solution here, incase anyone would be 
googling for this as well.

Try:
$(MAKE) /$(MAKEFLAGS) -f win32/Makefile.msc zlib1.dll LOC="$(LOCAL_CFLAGS)-DASMV 
-DASMINF" \
"OBJA=inffas32.obj match686.obj"

This won't work:
OBJA="param1 param2"

That on the other hand does the trick:
"OBJA=param1 param2"

Regards,

Matt.