Wireshark-dev: Re: [Wireshark-dev] buildbot failure in Wireshark (development) on Windows-7-x64
From: Anders Broman <a.broman@xxxxxxxxxxxx>
Date: Tue, 12 Apr 2011 23:39:40 +0200
Anders Broman skrev 2011-04-12 13:34:


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Anders Broman
Sent: den 12 april 2011 08:16
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] buildbot failure in Wireshark (development) on Windows-7-x64

Guy Harris skrev 2011-04-12 08:09:
On Apr 11, 2011, at 11:06 PM, Anders Broman wrote:

The problem is that inflatePrime is missing from zlib.def, we should
probably build with zlib 1.2.5 instead.
...or, if there's a *compelling* reason not to just go with 1.2.5, build 1.2.3 with a modified zlib.def that includes>inflatePrime (which appears to have been added to zlib in release 1.2.2.4, which came out on 11 July 2005).  I don't
know of a compelling reason not to just go with 1.2.5, though.
I tried to build with 1.2.5 some time back but it failed for some reason which I can't remember. So I don't think it'll>work out of the box. I may have messed it up though :-)
Building 1.2.5 seems to require
#   nmake -f win32/Makefile.msc LOC="-DASMV -DASMINF" \
#         OBJA="inffas32.obj match686.obj"               (use ASM code, x86)
E.g
Makefile.nmake

$(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
Regards
Anders
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list<wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev

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