Wireshark-users: Re: [Wireshark-users] Wiresahrk on OpenBSD 4.5
From: stan <[email protected]>
Date: Sun, 16 Aug 2009 18:49:12 -0400
On Mon, Aug 17, 2009 at 09:12:31AM -0600, Stephen Fisher wrote:
> On Aug 16, 2009, at 12:37 PM, stan wrote:
> > Has anyoone managed to build the current wiresaahrk on OpenBSD 4.5?  
> > I am
> > having compile time failures.
> I haven't tried Wireshark on OpenBSD in a few years, but will ask:  
> what are the errors you're getting?

Here is where it starts to go wrong:

 gcc -DHAVE_CONFIG_H -I. -I../.. -I./../.. -I./.. -I/usr/local/include
 -DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.2.1\" -DINET6
 "-D_U_=__attribute__((unused))" -g -O2 -Wall -W -Wendif-labels
 -Wpointer-arith -Wcast-align -Wformat-security -I/usr/local/include
 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include
 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
 -I/usr/X11R6/include/pixman-1 -I/usr/local/include
 -I/usr/local/include/libpng -I/usr/X11R6/include/freetype2 -pthread
 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -MT
 libdissectors_la-packet-dect.lo -MD -MP -MF
 .deps/libdissectors_la-packet-dect.Tpo -c packet-dect.c  -fPIC -DPIC -o
 packet-dect.c:1113:43: macro "setbit" passed 3 arguments, but takes just 2
 packet-dect.c:1114: error: syntax error before '{' token
 packet-dect.c:55: warning: `scrt' defined but not used
 packet-dect.c:80: warning: `proto_dect' defined but not used

 I am using gmake, on OpenBSD 4.5  which has GCC 3.3.5 as the default, and
 I am trying to build wiresahark 1.2.1

 Any help at all would be appreciated.
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C