Ethereal-dev: Re: [Ethereal-dev] Second 0.10.7 prerelease available

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

From: James Walden <james.walden@xxxxxxx>
Date: Mon, 18 Oct 2004 16:51:23 -0400
The prerelease of 0.10.7 fails to link on my SPARC Solaris 8 system.
> uname -a
SunOS at204m02 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-250

The final linking of Ethereal with libtools fails on multiple missing symbols. Many capture_ symbols like capture_atm and capture_eth are missing during the link. I found the capture_ symbols in the epan/dissectors/*.lo object files and in epan/dissectors/.libs/libdissectors.al, but none of those files are given in the link line for Ethereal. I don't know much about libtool, so I'm not sure why these weren't included.

Here's my configure line (config.log is attached):

env CC=gcc 'CFLAGS=-O3 -mcpu=ultrasparc' ./configure --prefix=/usr/local/stow/ethereal-0.10.7 --x-includes=/usr/local/include --x-libraries=/usr/local/lib --disable-gtk2 --with-gtk-prefix=/usr/local/stow/gtk+-1.2.10 --with-glib-prefix=/usr/local/stow/glib-1.2.10 --with-zlib=/usr/local/lib --with-pcre=/usr/local/lib

Here's the error from make:

/bin/bash ./libtool --mode=link gcc -DINET6 -DSOLARIS8_INET6 -D_U_="__attribute__((unused))" -Wall -W -O3 -mcpu=ultrasparc -Wno-return-type -DFUNCPROTO=15 -I/usr/local/include -I/usr/local/stow/gtk+-1.2.10/include/gtk-1.2 -I/usr/local/stow/glib-1.2.10/include/glib-1.2 -I/usr/local/stow/glib-1.2.10/lib/glib/include -I/usr/local/lib/include -I/usr/local/lib/include -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib/lib -L/usr/local/lib -R/usr/local/lib -o ethereal -export-dynamic pcap-util-unix.o capture_stop_conditions.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 alert_box.o capture.o capture_combo_utils.o color_filters.o file.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/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/rdm/rdm.la "-dlopen" plugins/rlm/rlm.la "-dlopen" plugins/rtnet/rtnet.la "-dlopen" plugins/rudp/rudp.la "-dlopen" plugins/v5ua/v5ua.la -L/usr/local/lib/lib -lpcre -L/usr/local/lib/lib -R/usr/local/lib/lib -lz -R/usr/local/lib:/usr/lib -lpcap -L/usr/local/stow/gtk+-1.2.10/lib -lgtk -lgdk -L/usr/local/stow/glib-1.2.10/lib -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lnsl -L/usr/local/lib/lib -R/usr/local/lib/lib -lz -R/usr/local/lib:/usr/lib -lpcre
mkdir .libs
rm -f .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
creating .libs/etherealS.c
(cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions "etherealS.c")
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
rm -f .libs/etherealS.c .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
gcc -DINET6 -DSOLARIS8_INET6 "-D_U_=__attribute__((unused))" -Wall -W -O3 -mcpu=ultrasparc -Wno-return-type -DFUNCPROTO=15 -I/usr/local/include -I/usr/local/stow/gtk+-1.2.10/include/gtk-1.2 -I/usr/local/stow/glib-1.2.10/include/glib-1.2 -I/usr/local/stow/glib-1.2.10/lib/glib/include -I/usr/local/lib/include -I/usr/local/lib/include -o .libs/ethereal pcap-util-unix.o capture_stop_conditions.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 alert_box.o capture.o capture_combo_utils.o color_filters.o file.o filters.o g711.o merge.o proto_hier_stats.o summary.o .libs/etherealS.o -L/usr/local/lib -L/usr/local/lib/lib gtk/libui.a wiretap/.libs/libwiretap.so -L/usr/local/stow/glib-1.2.10/lib epan/.libs/libethereal.so -lpcap -L/usr/local/stow/gtk+-1.2.10/lib /usr/local/stow/gtk+-1.2.10/lib/libgtk.so /usr/local/stow/gtk+-1.2.10/lib/libgdk.so /usr/local/stow/glib-1.2.10/lib/libgmodule.so /usr/local/stow/glib-1.2.10/lib/libglib.so -ldl -lXext -lX11 -lsocket -lm -lnsl -lz /usr/local/stow/pcre-4.5/lib/libpcre.so -R/usr/local/stow/ethereal-0.10.7/lib -R/usr/local/stow/gtk+-1.2.10/lib -R/usr/local/stow/glib-1.2.10/lib -R/usr/local/stow/pcre-4.5/lib -R/usr/local/lib -R/usr/local/lib/lib -R/usr/local/lib:/usr/lib
Undefined                       first referenced
 symbol                             in file
rpc_prog_hf                         gtk/libui.a(rpc_stat.o)
smb_cmd_vals                        gtk/libui.a(smb_stat.o)
hf_frame_capture_len                print.o
capture_llap                        capture.o
isup_message_type_value             gtk/libui.a(isup_stat.o)
AdmissionRejectReason_vals          gtk/libui.a(h225_counter.o)
vals_pdu_type                       gtk/libui.a(wsp_stat.o)
trans2_cmd_vals                     gtk/libui.a(smb_stat.o)
capture_ap1394                      capture.o
capture_tr                          capture.o
proto_data                          print.o
UnregRequestReason_vals             gtk/libui.a(h225_counter.o)
RegistrationRejectReason_vals       gtk/libui.a(h225_counter.o)
capture_ieee80211                   capture.o
capture_prism                       capture.o
fc_fc4_val                          gtk/libui.a(fc_stat.o)
capture_fddi                        capture.o
LocationRejectReason_vals           gtk/libui.a(h225_counter.o)
dcerpc_get_transport_salt           gtk/libui.a(decode_as_dcerpc.o)
dcerpc_get_proto_sub_dissector      gtk/libui.a(dcerpc_stat.o)
isup_message_type_value_acro        gtk/libui.a(isup_stat.o)
capture_chdlc                       capture.o
register_all_protocol_handoffs      gtk/libui.a(main.o)
hf_frame_arrival_time               print.o
RasMessage_vals                     gtk/libui.a(h225_counter.o)
gsm_a_dtap_msg_rr_strings           gtk/libui.a(gsm_a_stat.o)
dcerpc_add_conv_to_bind_table       gtk/libui.a(decode_as_dcerpc.o)
rpc_prog_name                       gtk/libui.a(rpc_progs.o)
gsm_a_dtap_msg_ss_strings           gtk/libui.a(gsm_a_stat.o)
gsm_map_opr_code_strings            gtk/libui.a(gsm_map_stat.o)
dcerpc_get_proto_hf_opnum           gtk/libui.a(dcerpc_stat.o)
rtp_payload_type_vals               gtk/libui.a(rtp_stream_dlg.o)
hf_frame_number                     print.o
ansi_a_ios401_dtap_strings          gtk/libui.a(ansi_a_stat.o)
capture_raw                         capture.o
capture_sll                         capture.o
capture_eth                         capture.o
DisengageReason_vals                gtk/libui.a(h225_counter.o)
dcerpc_get_proto_name               gtk/libui.a(dcerpc_stat.o)
capture_null                        capture.o
gsm_a_bssmap_msg_strings            gtk/libui.a(gsm_a_stat.o)
gsm_a_dtap_msg_sms_strings          gtk/libui.a(gsm_a_stat.o)
proto_frame                         print.o
InfoRequestNakReason_vals           gtk/libui.a(h225_counter.o)
ReleaseCompleteReason_vals          gtk/libui.a(h225_counter.o)
dcerpc_hooks_init_protos            gtk/libui.a(decode_as_dcerpc.o)
gsm_a_dtap_msg_gmm_strings          gtk/libui.a(gsm_a_stat.o)
capture_clip                        capture.o
BandRejectReason_vals               gtk/libui.a(h225_counter.o)
capture_atm                         capture.o
capture_arcnet                      capture.o
h323_message_body_vals              gtk/libui.a(h225_counter.o)
FacilityReason_vals                 gtk/libui.a(h225_counter.o)
capture_ppp_hdlc                    capture.o
gsm_a_dtap_msg_mm_strings           gtk/libui.a(gsm_a_stat.o)
nt_cmd_vals                         gtk/libui.a(smb_stat.o)
ansi_a_ios401_bsmap_strings         gtk/libui.a(ansi_a_stat.o)
dcerpc_uuids                        gtk/libui.a(decode_as_dcerpc.o)
UnregRejectReason_vals              gtk/libui.a(h225_counter.o)
register_all_protocols              gtk/libui.a(main.o)
GatekeeperRejectReason_vals         gtk/libui.a(h225_counter.o)
hf_frame_packet_len                 print.o
vals_status                         gtk/libui.a(wsp_stat.o)
DisengageRejectReason_vals          gtk/libui.a(h225_counter.o)
gsm_a_dtap_msg_sm_strings           gtk/libui.a(gsm_a_stat.o)
gsm_a_dtap_msg_cc_strings           gtk/libui.a(gsm_a_stat.o)
rpc_proc_name                       gtk/libui.a(rpc_stat.o)
ansi_map_opr_code_strings           gtk/libui.a(ansi_map_stat.o)
rpc_progs                           gtk/libui.a(rpc_stat.o)
capture_ipfc                        capture.o
rpc_procs                           gtk/libui.a(rpc_stat.o)
ld: fatal: Symbol referencing errors. No output written to .libs/ethereal
collect2: ld returned 1 exit status
make[3]: *** [ethereal] Error 1
make[3]: Leaving directory `/usr/local/stow/src/ethereal-0.10.7'
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/stow/src/ethereal-0.10.7
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /usr/local/stow/src/ethereal-0.10.7
make: *** [ethereal.time] Error 1

Attachment: config.log.bz2
Description: BZip2 compressed data