Home page logo
/

wireshark logo Wireshark mailing list archives

Re: buildbot failure in Wireshark (development) on Windows-7-x64 -> Use zlib 1.2.5 for Windows
From: Mateusz Kolodziejski <matt () mattsource com>
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.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


  By Date           By Thread  

Current thread:
  • Re: buildbot failure in Wireshark (development) on Windows-7-x64 -> Use zlib 1.2.5 for Windows Mateusz Kolodziejski (Jan 28)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault