Wireshark mailing list archives

Re: Compilation error Red Hat 3.4.3-9.EL4


From: Anders Broman <a.broman () bredband net>
Date: Fri, 29 Apr 2011 08:19:19 +0200

Guy Harris skrev 2011-04-29 08:05:
On Apr 28, 2011, at 10:48 PM, Anders Broman wrote:

It seems like Wireshark no longer compiles if zlib is 1.2.1:

file_wrappers.c: In function `file_seek':
file_wrappers.c:893: warning: implicit declaration of function `inflatePrime'
make: *** [libwiretap_la-file_wrappers.lo] Error 1

file_wrappers.c:
        893: (void)inflatePrime(strm, here->data.zlib.bits, ret>>   (8 - here->data.zlib.bits));

Should we require a newer version of zlib?
Perhaps - or, at least, require it to support reading gzipped files.

According to some research I did a while ago, the routines used for access to gzipped files:

        inflateInit2() - added in 0.4 (date unknown, but prior to 11 April 1995)
        inflate() - there since Day One?
        inflateEnd() - there since Day One?
        inflatePrime() - added in 1.2.2.4 (11 July 2005)
        inflateSetDictionary() - added in 1.2.2.1 (31 October 2004)
        inflateReset() - there since at least 0.9 (1 May 1995)
So we should require at least 1.2.2.4 then?  It's 6 years old after all.
Regards
Anders
___________________________________________________________________________
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

___________________________________________________________________________
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


Current thread: