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

2007-08-09 Thread Fabrizio Bertocci
That's weird... I don't see anything wrong in my build... the file capture_loop.c:857 calls pcap_freecode with a struct bpf_program *, and the libpcap API expects exactly that: /usr/include/pcap.h:193 voidpcap_freecode(struct bpf_program *); Can you double check that's true also for your

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

2007-08-09 Thread Andrew Leung
I have libpcap-0.8.3-10.RHEL4 installed. The entry does popup twice if that matters: $ rpm -qa | grep pcap libpcap-0.8.3-10.RHEL4 libpcap-0.8.3-10.RHEL4 Thanks again, Andrew Fabrizio Bertocci wrote: > This sounds like a problem with libpcap. > I was able to build successfully on my system (RHEL

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

2007-08-09 Thread Fabrizio Bertocci
This sounds like a problem with libpcap. I was able to build successfully on my system (RHEL4). I have libpcap version 0.8.3-10.RHEL4: What is your output of: # rpm -qa | grep pcap ? Fabrizio Andrew Leung wrote: Thanks for the feedbak! I reran configure with --disable-warnings-as-errors and t

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

2007-08-09 Thread Andrew Leung
Thanks for the feedbak! I reran configure with --disable-warnings-as-errors and the 'make' continued much farther than before. However, it still failed (after ~20 minutes of compiling) with: capture_loop.c: In function 'capture_loop_init_filter': capture_loop.c:857: warning: passing argument 1 of

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

2007-08-09 Thread Maynard, Chris
dev/200708/msg00080.html - Chris From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Leung Sent: Wednesday, August 08, 2007 5:54 PM To: wireshark-dev@wireshark.org Subject: [Wireshark-dev] wirehark make faiulre on rhel4 I'm trying to

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

2007-08-09 Thread Jeff Morriss
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 ty

[Wireshark-dev] wirehark make faiulre on rhel4

2007-08-08 Thread Andrew Leung
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-