Wireshark-dev: Re: [Wireshark-dev] wirehark make faiulre on rhel4
From: Jeff Morriss <[email protected]>
Date: Thu, 09 Aug 2007 09:34:31 -0400
Andrew Leung wrote:
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
Do:

./configure --disable-warnings-as-errors

and redo the make.