Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-users: [Ethereal-users] still stuck on solaris build

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

From: "Glenn Newell" <Glenn.Newell@xxxxxxxxxxxx>
Date: Fri, 8 Jul 2005 16:33:48 -0700
Thanks to those who replied to me yesterday. I got my RH 7.2 build
finished by adding the --disable-gtk2 as suggested.

I'm still stuck on solaris 8 however. Even with the suggested
--without-plugins I was still getting:

/usr/local/bin/gcc -DINET6 -DSOLARIS8_INET6
"-D_U_=__attribute__((unused))" -Wall -W -g -O2 -Wno-return-type
-DFUNCPROTO=15 -I/usr/local/include
-I/depot/glib-1.2.10/include/glib-1.2
-I/depot/glib-1.2.10/lib/glib/include
-I/remote/ncs23/gnewell/ethereal-src/sun4-OS8/include -o .libs/tethereal
pcap-util-unix.o capture_stop_conditions.o capture_ui_utils.o cfile.o
clopts_common.o conditions.o disabled_protos.o packet-range.o
pcap-util.o print.o ps.o ringbuffer.o timestats.o util.o version_info.o
tap-ansi_astat.o tap-bootpstat.o tap-dcerpcstat.o tap-gsm_astat.o
tap-h225counter.o tap-h225rassrt.o tap-httpstat.o tap-iostat.o
tap-iousers.o tap-mgcpstat.o tap-protocolinfo.o tap-protohierstat.o
tap-rpcstat.o tap-rpcprogs.o tap-sctpchunkstat.o tap-sipstat.o
tap-smbsids.o tap-smbstat.o tap-stats_tree.o tap-wspstat.o
capture_opts.o tethereal-tap-register.o tethereal.o  -L/usr/local/lib
-L/remote/ncs23/gnewell/ethereal-src/sun4-OS8/lib
wiretap/.libs/libwiretap.so -L/depot/glib-1.2.10/lib
epan/.libs/libethereal.so /depot/glib-1.2.10/lib/libgmodule.so
/depot/glib-1.2.10/lib/libglib.so -lm -lpcap -lsocket -lnsl -lz
-R/remote/ncs23/gnewell/ethereal-src/sun4-OS8/lib
-R/depot/glib-1.2.10/lib -R/usr/local/lib
Undefined                       first referenced
 symbol                             in file
libiconv_close                      epan/.libs/libethereal.so
libiconv_open                       epan/.libs/libethereal.so
libiconv                            epan/.libs/libethereal.so
register_all_plugin_tap_listeners   tethereal.o
ld: fatal: Symbol referencing errors. No output written to
.libs/tethereal
collect2: ld returned 1 exit status

A search of this list suggested that -liconv was needed so I copied and
pasted the above gcc command and added -liconv, but still no joy:

> /usr/local/bin/gcc -DINET6 -DSOLARIS8_INET6
"-D_U_=__attribute__((unused))" -Wall -W -g -O2 -Wno-return-type
-DFUNCPROTO=15 -I/usr/local/include
-I/depot/glib-1.2.10/include/glib-1.2
-I/depot/glib-1.2.10/lib/glib/include
-I/remote/ncs23/gnewell/ethereal-src/sun4-OS8/include -o .libs/tethereal
pcap-util-unix.o capture_st
ditions.o disabled_protos.o packet-range.o pcap-util.o print.o ps.o
ringbuffer.o timestats.o util.o version_info.o tap-ansi_astat.o
tap-bootpstat.o tap-dcerpcstat.o tap-gsm_astat.o tap-h225counter.o
tap-h225rassrt.o tap-httpstat.o tap-iostat.o tap-iousers.o
tap-mgcpstat.o tap-protocolinfo.o tap-protohierstat.o tap-rpcstat.o
tap-rpcprogs.o tap-sctpchunkstat.o tap-sipstat.o tap-smbsids.o
tap-smbstat.o tap-stats_tree.o tap-wspstat.o capture_opts.o
tethereal-tap-register.o tethereal.o  -L/usr/local/lib
-L/remote/ncs23/gnewell/ethereal-src/sun4-OS8/lib
wiretap/.libs/libwiretap.so -L/depot/glib-1.2.10/lib
epan/.libs/libethereal.so /depot/glib-1.2.10/lib/libgmodule.so
/depot/glib-1.2.10/lib/libglib.so -lm -lpcap -lsocket -lnsl -liconv -lz
-R/remote/ncs23/gnewell/ethereal-src/sun4-OS8/lib
-R/depot/glib-1.2.10/lib -R/usr/local/lib
Undefined                       first referenced
 symbol                             in file
register_all_plugin_tap_listeners   tethereal.o
ld: fatal: Symbol referencing errors. No output written to
.libs/tethereal
collect2: ld returned 1 exit status

Any more suggestions?

My complete ./configure line for solaris 8 is:

./configure --prefix=/remote/ncs23/gnewell/ethereal-src/sun4-OS8
--without-ucd-snmp
--with-pcap=/remote/ncs23/gnewell/ethereal-src/sun4-OS8
--disable-ethereal --disable-gtktest --disable-glibtest --disable-gtk2
--without-plugins

Thanks,
Glenn