Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2875] New: several warnings while building wiretap, in fil

Date: Mon, 15 Sep 2008 06:20:35 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2875

           Summary: several warnings while building wiretap, in
                    file_access.c
           Product: Wireshark
           Version: 1.1.x (Experimental)
          Platform: PC
        OS/Version: Red Hat
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: volker.badziong@xxxxxx


Build Information:
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/local/include
-DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.1.0\" -Werror -DINET6
"-D_U_=__attribute__((unused))" -g -O2 -Wall -W -Wdeclaration-after-statement
-Wendif-labels -Wpointer-arith -Wno-pointer-sign -Wcast-align
-I/usr/local/include -pthread -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -MT
libwiretap_la-file_access.lo -MD -MP -MF .deps/libwiretap_la-file_access.Tpo -c
file_access.c  -fPIC -DPIC -o .libs/libwiretap_la-file_access.o
cc1: warnings being treated as errors
file_access.c: In function 'wtap_open_offline':
file_access.c:307: warning: implicit declaration of function 'eth_fopen'
file_access.c:307: warning: assignment makes pointer from integer without a
cast
file_access.c: In function 'wtap_dump_can_compress':
file_access.c:691: warning: unused parameter 'filetype'
file_access.c: In function 'wtap_dump_file_open':
file_access.c:948: warning: unused parameter 'wdh'
file_access.c: In function 'wtap_dump_file_fdopen':
file_access.c:961: warning: unused parameter 'wdh'
make[2]: *** [libwiretap_la-file_access.lo] Error 1
make[2]: Leaving directory `/usr/src/wireshark-1.1.0/wiretap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/wireshark-1.1.0'
make: *** [all] Error 2

--
...while running 

./autogen.sh ; ./configure --without-zlib ; make

on RHEL 5.2, 2.6.18-92.1.10.el5 #1 SMP Wed Jul 23 03:56:11 EDT 2008 x86_64
x86_64 x86_64 GNU/Linux

with libpcap-0.9.8


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.