Wireshark-dev: [Wireshark-dev] Compile error using svn revision 25628
From: "John Smith" <[email protected]>
Date: Sun, 29 Jun 2008 08:21:28 +0200
HI,

I get the following make error when trying to build svn revision 25628 :


 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/local/include
-DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.0.99\" -Werror
-DINET6 "-D_U_=__attribute__((unused))" -Wshadow -Wpointer-arith
-Wcast-qual -W -Wall -W -Wdeclaration-after-statement -Wendif-labels
-Wpointer-arith -Wcast-align -I/usr/local/include -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -MT libwiretap_la-pcapng.lo -MD -MP -MF
.deps/libwiretap_la-pcapng.Tpo -c pcapng.c  -fPIC -DPIC -o
.libs/libwiretap_la-pcapng.o
pcapng.c: In function `pcapng_read_packet_block':
pcapng.c:633: warning: cast discards qualifiers from pointer target type
pcapng.c:637: warning: cast discards qualifiers from pointer target type
pcapng.c: In function `pcapng_read_simple_packet_block':
pcapng.c:761: warning: cast discards qualifiers from pointer target type
pcapng.c:765: warning: cast discards qualifiers from pointer target type
make[2]: *** [libwiretap_la-pcapng.lo] Error 1
make[2]: Leaving directory `/usr/local/src/wireshark/wireshark/wiretap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/wireshark/wireshark'
make: *** [all] Error 2



Regards,


John Smith