I configured with:
./configure --enable-ethereal=no --disable-gtktest --enable-static=no \ --disable-editcap --disable-mergecap --disable-text2pcap --disable-idl2eth
and that went OK. However, 'make' ends with:
===== ld: -lartnet: no match collect2: ld returned 1 exit status *** Error code 1
Stop in /usr/local/src/ethereal-0.9.12 (line 1930 of Makefile). *** Error code 1
Stop in /usr/local/src/ethereal-0.9.12 (line 2494 of Makefile). *** Error code 1
Stop in /usr/local/src/ethereal-0.9.12 (line 1851 of Makefile). =====
If I try 'make' again, it ends exactly the same way. Interestingly, it starts making in artnet, but there is no error there:
=====
#make
make all-recursive
Making all in tools
Making all in lemon
Making all in wiretap
make all-am
Making all in doc
Making all in epan
make all-recursive
Making all in ftypes
Making all in dfilter
Making all in plugins
Making all in artnet
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../wiretap -I/usr/local/include -DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I../.. -I../../wiretap -I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -c -o packet-artnet-static.o -D__ETHEREAL_STATIC__ ./packet-artnet.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../wiretap -I/usr/local/include -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I../.. -I../../wiretap -I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -c -D__ETHEREAL_STATIC__ ./packet-artnet.c -fPIC -DPIC -o packet-artnet-static.lo
In file included from ../../wiretap/wtap.h:35,
from ../../epan/packet.h:28,
from ../../plugins/plugin_api.h:290,
from ./packet-artnet.c:33:
/usr/include/stdio.h:307: warning: `__nonnull__' attribute directive ignored
/usr/include/stdio.h:319: warning: `__nonnull__' attribute directive ignored
/usr/include/stdio.h:322: warning: `__nonnull__' attribute directive ignored
/usr/include/stdio.h:325: warning: `__nonnull__' attribute directive ignored
/usr/include/stdio.h:328: warning: `__nonnull__' attribute directive ignored
/usr/include/stdio.h:331: warning: `__nonnull__' attribute directive ignored
/bin/sh ../../libtool --mode=link gcc -DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I../.. -I../../wiretap -I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -L/usr/local/lib -o artnet.la -rpath /usr/local/lib/ethereal/plugins/0.9.12 -module -avoid-version packet-artnet.lo
rm -fr .libs/artnet.la .libs/artnet.* .libs/artnet.*
gcc -shared -fPIC -o .libs/artnet.so packet-artnet.lo -L/usr/local/lib
creating artnet.la
(cd .libs && rm -f artnet.la && ln -s ../artnet.la artnet.la)
Making all in docsis
. . .
======
The same "__nonnull__" warnings appear in building almost every module.
Building with this configure line worked fine on NetBSD 1.6.
Any help is appreciated. I want to have tethereal on the OpenBSD box as soon as possible.
--Paul Hoffman