Ethereal-users: [Ethereal-users] Source build question on Solaris 10

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

From: Chris <cpj1@xxxxxxxx>
Date: Fri, 7 Apr 2006 16:46:07 -0500 (CDT)
I'm building Ethereal 0.10.14 on a Solaris 10x86 host.

The build fails on the main Makefile in the ethereal-0.10.14 directory:

gmake[2]: Entering directory `ethereal-0.10.14'
/usr/bin/perl ./make-version.pl .
Version configuration file version.conf not found.  Using defaults.
This is not a SVN build.
svnversion.h is up-to-date.
/bin/bash ./libtool --mode=link --tag=CC gcc
-D_U_="__attribute__((unused))" -Wall -Wpointer-arith -W  -g -O2
-Wno-return-type -DFUNCPROTO=15 -I/usr/local/include
-I/usr/sfw/include/gtk-1.2 -I/usr/sfw/include/glib-1.2
-I/usr/sfw/lib/glib/include  -L/usr/local/lib -R/usr/local/lib
-L/usr/local/lib -R/usr/local/lib -o ethereal -export-dynamic
capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o
capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o
conditions.o disabled_protos.o packet-range.o print.o ps.o ringbuffer.o
timestats.o util.o version_info.o alert_box.o capture.o capture_info.o
capture_loop.o capture_opts.o capture_sync.o color_filters.o file.o
fileset.o filters.o g711.o merge.o proto_hier_stats.o summary.o
gtk/libui.a wiretap/libwiretap.la epan/libethereal.la "-dlopen" self
"-dlopen" plugins/acn/acn.la "-dlopen" plugins/agentx/agentx.la "-dlopen"
plugins/artnet/artnet.la "-dlopen" plugins/asn1/asn1.la "-dlopen"
plugins/ciscosm/ciscosm.la "-dlopen" plugins/docsis/docsis.la "-dlopen"
plugins/enttec/enttec.la "-dlopen" plugins/giop/cosnaming.la "-dlopen"
plugins/giop/coseventcomm.la "-dlopen" plugins/gryphon/gryphon.la
"-dlopen" plugins/irda/irda.la "-dlopen" plugins/lwres/lwres.la "-dlopen"
plugins/megaco/megaco.la "-dlopen" plugins/mgcp/mgcp.la "-dlopen"
plugins/opsi/opsi.la "-dlopen" plugins/pcli/pcli.la "-dlopen"
plugins/profinet/profinet.la "-dlopen" plugins/rdm/rdm.la "-dlopen"
plugins/rlm/rlm.la "-dlopen" plugins/rtnet/rtnet.la "-dlopen"
plugins/rudp/rudp.la "-dlopen" plugins/v5ua/v5ua.la -lpcap -L/usr/sfw/lib
-L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -R/usr/sfw/lib -lgmodule
-lglib -lXext -lX11 -lsocket -lnsl -lm    -lnsl -lz
rm -f .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
creating .libs/etherealS.c
(cd .libs && gcc -c -fno-builtin "etherealS.c")
rm -f .libs/etherealS.c .libs/ethereal.nm .libs/ethereal.nmS
.libs/ethereal.nmT
gcc "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -g -O2
-Wno-return-type -DFUNCPROTO=15 -I/usr/local/include
-I/usr/sfw/include/gtk-1.2 -I/usr/sfw/include/glib-1.2
-I/usr/sfw/lib/glib/include -o .libs/ethereal capture-pcap-util-unix.o
capture_errs.o capture-pcap-util.o capture_stop_conditions.o
capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o
packet-range.o print.o ps.o ringbuffer.o timestats.o util.o version_info.o
alert_box.o capture.o capture_info.o capture_loop.o capture_opts.o
capture_sync.o color_filters.o file.o fileset.o filters.o g711.o merge.o
proto_hier_stats.o summary.o .libs/etherealS.o  -L/usr/local/lib
gtk/libui.a wiretap/.libs/libwiretap.so -L/usr/sfw/lib
epan/.libs/libethereal.so -lpcap -L/usr/openwin/lib /usr/sfw/lib/libgtk.so
/usr/sfw/lib/libgdk.so /usr/sfw/lib/libgmodule.so /usr/sfw/lib/libglib.so
-lXext -lX11 -lsocket -lm -lnsl -lz -R/opt/ethereal/lib -R/usr/sfw/lib
-R/usr/local/lib -R/usr/openwin/lib
Undefined                       first referenced
 symbol                             in file
RegistrationRejectReason_vals       gtk/libui.a(h225_counter.o)
register_all_protocol_handoffs      gtk/libui.a(main.o)
AdmissionRejectReason_vals          gtk/libui.a(h225_counter.o)
gsm_map_opr_code_strings            gtk/libui.a(gsm_map_stat.o)
isup_message_type_value             gtk/libui.a(voip_calls.o)
T_h323_message_body_vals            gtk/libui.a(h225_counter.o)
DisengageRejectReason_vals          gtk/libui.a(h225_counter.o)
FacilityReason_vals                 gtk/libui.a(h225_counter.o)
nt_cmd_vals                         gtk/libui.a(smb_stat.o)
dcerpc_add_conv_to_bind_table       gtk/libui.a(decode_as_dcerpc.o)
smb_cmd_vals                        gtk/libui.a(smb_stat.o)
dcerpc_get_proto_hf_opnum           gtk/libui.a(dcerpc_stat.o)
UnregRequestReason_vals             gtk/libui.a(h225_counter.o)
capture_chdlc                       capture_info.o
capture_prism                       capture_info.o
ansi_a_ios401_dtap_strings          gtk/libui.a(ansi_a_stat.o)
UnregRejectReason_vals              gtk/libui.a(h225_counter.o)
rtp_payload_type_vals               gtk/libui.a(rtp_stream_dlg.o)
RasMessage_vals                     gtk/libui.a(h225_counter.o)
t30_indicator_vals                  gtk/libui.a(t38_analysis.o)
q931_message_type_vals              gtk/libui.a(voip_calls.o)
gsm_a_dtap_msg_ss_strings           gtk/libui.a(gsm_a_stat.o)
gsm_a_dtap_msg_sm_strings           gtk/libui.a(gsm_a_stat.o)
gsm_a_dtap_msg_rr_strings           gtk/libui.a(gsm_a_stat.o)
gsm_a_dtap_msg_cc_strings           gtk/libui.a(gsm_a_stat.o)
gsm_a_dtap_msg_mm_strings           gtk/libui.a(gsm_a_stat.o)
vals_status                         gtk/libui.a(wsp_stat.o)
InfoRequestNakReason_vals           gtk/libui.a(h225_counter.o)
vals_pdu_type                       gtk/libui.a(wsp_stat.o)
gsm_a_dtap_msg_gmm_strings          gtk/libui.a(gsm_a_stat.o)
gsm_a_dtap_msg_sms_strings          gtk/libui.a(gsm_a_stat.o)
capture_ieee80211                   capture_info.o
rpc_prog_hf                         gtk/libui.a(rpc_stat.o)
dcerpc_get_proto_sub_dissector      gtk/libui.a(dcerpc_stat.o)
DisengageReason_vals                gtk/libui.a(h225_counter.o)
CommandCode_vals                    gtk/libui.a(afp_stat.o)
rpc_progs                           gtk/libui.a(rpc_stat.o)
rpc_procs                           gtk/libui.a(rpc_stat.o)
LocationRejectReason_vals           gtk/libui.a(h225_counter.o)
ReleaseCompleteReason_vals          gtk/libui.a(h225_counter.o)
GatekeeperRejectReason_vals         gtk/libui.a(h225_counter.o)
q931_cause_code_vals                gtk/libui.a(voip_calls.o)
proto_data                          print.o
dcerpc_get_proto_name               gtk/libui.a(dcerpc_stat.o)
capture_fr                          capture_info.o
capture_tr                          capture_info.o
trans2_cmd_vals                     gtk/libui.a(smb_stat.o)
rtp_payload_type_short_vals         gtk/libui.a(voip_calls.o)
BandRejectReason_vals               gtk/libui.a(h225_counter.o)
fc_fc4_val                          gtk/libui.a(fc_stat.o)
isup_message_type_value_acro        gtk/libui.a(voip_calls.o)
ansi_a_ios401_bsmap_strings         gtk/libui.a(ansi_a_stat.o)
capture_ppp_hdlc                    capture_info.o
rpc_prog_name                       gtk/libui.a(rpc_progs.o)
capture_eth                         capture_info.o
capture_enc                         capture_info.o
capture_atm                         capture_info.o
capture_raw                         capture_info.o
capture_sll                         capture_info.o
rpc_proc_name                       gtk/libui.a(rpc_stat.o)
gsm_a_bssmap_msg_strings            gtk/libui.a(gsm_a_stat.o)
capture_arcnet                      capture_info.o
capture_ap1394                      capture_info.o
register_all_protocols              gtk/libui.a(main.o)
capture_fddi                        capture_info.o
capture_clip                        capture_info.o
capture_null                        capture_info.o
capture_llap                        capture_info.o
capture_ipfc                        capture_info.o
dcerpc_hooks_init_protos            gtk/libui.a(decode_as_dcerpc.o)
dcerpc_get_transport_salt           gtk/libui.a(decode_as_dcerpc.o)
ansi_map_opr_code_strings           gtk/libui.a(ansi_map_stat.o)
dcerpc_uuids                        gtk/libui.a(decode_as_dcerpc.o)
ld: fatal: Symbol referencing errors. No output written to .libs/ethereal
collect2: ld returned 1 exit status
gmake[2]: *** [ethereal] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2

I'm using the Solaris 10 Glib/Gtk libraries, Solaris Gcc, Gnu sed/bison/flex,
GNU make, and Solaris ld.

Here's my initial config parameters.

$ ./configure --prefix=/opt/ethereal
--sysconfdir=/etc/opt/ethereal --disable-gtk2 --without-net-snmp

---------------
Chris J
cpj1@xxxxxxxx