Wireshark mailing list archives

SVN revision 36552 on Debian Lenny and gzopen64 function


From: Pascal Quantin <pascal.quantin () gmail com>
Date: Mon, 11 Apr 2011 14:28:23 +0200

Hi,

for the record, current trunk (revision 36552 as I'm speaking) does not
compile on my Debian Lenny machine. I get the following error:
cc1: warnings being treated as errors
file_access.c: In function ‘wtap_dump_file_open’:
file_access.c:1016: error: implicit declaration of function ‘gzopen64’
file_access.c:1016: error: return makes pointer from integer without a cast
make[2]: *** [libwiretap_la-file_access.lo] Error 1

After googling a little bit, I found the following suggestion that seems to
work fine:
CFLAGS="-D_LARGEFILE64_SOURCE" ./configure

I thought it could be useful to share the information with others.

Regards,
Pascal.
___________________________________________________________________________
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: