Ethereal-users: [Ethereal-users] Further probs building ethereal under Solaris 2.8/gcc 3.0

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "R. P. Channing Rodgers, M.D." <rodgers@xxxxxxxxxxx>
Date: Mon, 14 Jan 2002 16:44:10 -0500 (EST)
Dear Colleagues,

We bilt 0.8.8 under Solaris 2.6 and gcc 2.95.1, but
building 0.90 under 2.8 and gcc 3.0 produces the following
well into the make process:

   Making all in gryphon
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/depot/package/ethereal_0.9.0/include  -I/depot/include -I../.. -I../../wiretap -I../../epan -I/usr/local/include  -Wall -W -Wno-unused -g -O2 -Wno-return-type -DFUNCPROTO=15 -I../.. -I../../wiretap -I../../epan -I/usr/local/include -I/depot/package/gtk+_1.2.8/include -I/depot/package/glib_1.2.8/lib/glib/include -I/depot/package/glib_1.2.8/include -I/usr/openwin/include -c packet-gryphon.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/depot/package/ethereal_0.9.0/include -I/depot/include -I../.. -I../../wiretap -I../../epan -I/usr/local/include -Wall -W -Wno-unused -g -O2 -Wno-return-type -DFUNCPROTO=15 -I../.. -I../../wiretap -I../../epan -I/usr/local/include -I/depot/package/gtk+_1.2.8/include -I/depot/package/glib_1.2.8/lib/glib/include -I/depot/package/glib_1.2.8/include -I/usr/openwin/include -c packet-gryphon.c  -fPIC -DPIC -o .libs/packet-gryphon.lo
In file included from ../../epan/dfilter/dfilter.h:33,
                 from ../../epan/epan.h:34,
                 from ../../epan/packet.h:38,
                 from ../../plugins/plugin_api.h:190,
                 from packet-gryphon.c:31:
/depot/include/proto.h:14: parse error before "PERL_CALLCONV"
/depot/include/proto.h:14: warning: type defaults to `int' in declaration of `perl_alloc'
/depot/include/proto.h:14: warning: data definition has no type or storage class
/depot/include/proto.h:15: syntax error before "void"
/depot/include/proto.h:15: parse error before '*' token
/depot/include/proto.h:16: syntax error before "void"
/depot/include/proto.h:16: parse error before '*' token
/depot/include/proto.h:17: syntax error before "void"
/depot/include/proto.h:17: parse error before '*' token
/depot/include/proto.h:18: syntax error before "int"
/depot/include/proto.h:18: parse error before '*' token
/depot/include/proto.h:19: syntax error before "int"
/depot/include/proto.h:19: parse error before '*' token
/depot/include/proto.h:35: syntax error before "void"
/depot/include/proto.h:36: syntax error before "void"
/depot/include/proto.h:56: parse error before "START_EXTERN_C"
In file included from /depot/include/proto.h:58,
                 from ../../epan/dfilter/dfilter.h:33,
                 from ../../epan/epan.h:34,
                 from ../../epan/packet.h:38,
                 from ../../plugins/plugin_api.h:190,
                 from packet-gryphon.c:31:
/depot/include/pp_proto.h:7: parse error before "PERL_CKDEF"
[...]
/depot/include/proto.h:920: warning: parameter names (without types) in function declaration
In file included from ../../epan/epan.h:34,
                 from ../../epan/packet.h:38,
                 from ../../plugins/plugin_api.h:190,
                 from packet-gryphon.c:31:
../../epan/dfilter/dfilter.h:37: syntax error before "void"
*** Error code 1
make: Fatal error: Command failed for target `packet-gryphon.lo'
Current working directory /site5/SOURCE/INSTALL/new/ethereal_0.9.0.dir/plugins/gryphon
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /site5/SOURCE/INSTALL/new/ethereal_0.9.0.dir/plugins
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /site5/SOURCE/INSTALL/new/ethereal_0.9.0.dir
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'

Gack.  Any ideas?  Anyone succeeded on a similar platform?

Thanks and Cheerio, Rick Rodgers