ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] wirehark make faiulre on rhel4

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Wed, 8 Aug 2007 22:33:31 -0400

It seems there was a mistake in which treating warnings as errors was not turned off by default for wiretap prior to the 0.99.6 release.  Re-run your configure script as: “configure --disable-warnings-as-errors” and try building it again.

 

REF: http://www.wireshark.org/lists/wireshark-dev/200708/msg00080.html

- Chris

 


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Andrew Leung
Sent: Wednesday, August 08, 2007 5:54 PM
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] wirehark make faiulre on rhel4

 

I'm trying to build wireshark on rhel4 and the build is failing with output:
cc1: warnings being treated as errors
file_access.c: In function 'wtap_dump_file_write':
file_access.c:952: warning: passing argument 2 of 'gzwrite' discards qualifiers from pointer target type
make[3]: *** [libwiretap_la-file_access.lo] Error 1
make[3]: Leaving directory `/u/aleung/wireshark-0.99.6/wiretap'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/u/aleung/wireshark-0.99.6/wiretap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u/aleung/wireshark-0.99.6'
make: *** [all] Error 2

Any ideas? Thanks already.

Andrew


This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof.