Wireshark-dev: [Wireshark-dev] SNMPv3 USM crypto support (was: Re: [Wireshark-commits] rev 2035

From: Thomas Anders <thomas.anders@xxxxxxxxxxxxx>
Date: Tue, 09 Jan 2007 20:36:21 +0100
LEGO wrote:
> However the most important test to be done is that it does no harm
> while disabled. Weird runtime linking problems disallow me to build
> with net-snmp so I cannot test it that way. I do not think that
> net-snmp changes anything for this but verifying that everything that
> worked before works afterwards it's a must.

Running just "svn up && make" in my SVN tree yields into a coompile error:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./.. -I/usr/include
-fstack-protector-all -D_FORTIFY_SOURCE=2 -Ulinux -Dlinux=linux
-I/usr/include/rpm -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-Wcast-qual -Wno-char-subscripts -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE -I.
-I/bc/net-snmp-5.4cvs/include -DINET6 "-D_U_=__attribute__((unused))"
-Wall -Wpointer-arith -W -g -O2 -pthread -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12
-I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-fstack-protector-all -D_FORTIFY_SOURCE=2 -Ulinux -Dlinux=linux
-I/usr/include/rpm -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-Wcast-qual -Wno-char-subscripts -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE -I.
-I/bc/net-snmp-5.4cvs/include -MT packet-snmp.lo -MD -MP -MF
.deps/packet-snmp.Tpo -c packet-snmp.c  -fPIC -DPIC -o .libs/packet-snmp.o
In file included from /bc/net-snmp-5.4cvs/include/net-snmp/types.h:41,
                 from /bc/net-snmp-5.4cvs/include/net-snmp/mib_api.h:8,
                 from packet-snmp-template.c:76:
/usr/include/netinet/in.h:355: error: expected identifier or '(' before
'__extension__'


What am I missing? I'll try a proper rebuild from scratch after "make
distclean" next. BTW, how is this feature enabled/disabled? Preference
setting or compile-time decision?


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)