Ethereal-dev: [Ethereal-dev] Ethereal 0.10.6 fails to link on Solaris 8

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: Tue, 05 Oct 2004 12:21:58 -0400
I attempted to build ethereal 0.10.6 on Solaris 8 with the following configure line:

env CC=gcc 'CFLAGS=-O3 -mcpu=ultrasparc' ./configure --prefix=/usr/local/stow/ethereal-0.10.6 --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

Ethereal 0.10.3 linked without issue using the same library versions (X11R6.6, glib 1.2.10, and gtk+ 1.2.10).

I receive the following errors during linking (full output of configure and make is attached along with config.log):

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 conditions.o disabled_protos.o pcap-util.o print.o ps.o range.o ringbuffer.o timestats.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.6/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
register_all_protocol_handoffs      gtk/libui.a(main.o)
gsm_a_dtap_msg_gmm_strings          gtk/libui.a(gsm_a_stat.o)
isup_message_type_value             gtk/libui.a(isup_stat.o)
capture_ipfc                        capture.o
gsm_a_bssmap_msg_strings            gtk/libui.a(gsm_a_stat.o)
ansi_a_ios401_bsmap_strings         gtk/libui.a(ansi_a_stat.o)
hf_frame_number                     print.o
capture_llap                        capture.o
nt_cmd_vals                         gtk/libui.a(smb_stat.o)
dcerpc_get_proto_sub_dissector      gtk/libui.a(dcerpc_stat.o)
smb_cmd_vals                        gtk/libui.a(smb_stat.o)
RegistrationRejectReason_vals       gtk/libui.a(h225_counter.o)
dcerpc_get_proto_hf_opnum           gtk/libui.a(dcerpc_stat.o)
UnregRejectReason_vals              gtk/libui.a(h225_counter.o)
vals_status                         gtk/libui.a(wsp_stat.o)
proto_frame                         print.o
register_all_protocols              gtk/libui.a(main.o)
capture_tr                          capture.o
gsm_a_dtap_msg_sm_strings           gtk/libui.a(gsm_a_stat.o)
capture_fddi                        capture.o
InfoRequestNakReason_vals           gtk/libui.a(h225_counter.o)
rpc_proc_name                       gtk/libui.a(rpc_stat.o)
rpc_prog_name                       gtk/libui.a(rpc_progs.o)
capture_ppp_hdlc                    capture.o
rtp_payload_type_vals               gtk/libui.a(rtp_stream_dlg.o)
gsm_a_dtap_msg_cc_strings           gtk/libui.a(gsm_a_stat.o)
gsm_a_dtap_msg_sms_strings          gtk/libui.a(gsm_a_stat.o)
gsm_a_dtap_msg_mm_strings           gtk/libui.a(gsm_a_stat.o)
rpc_prog_hf                         gtk/libui.a(rpc_stat.o)
hf_frame_packet_len                 print.o
trans2_cmd_vals                     gtk/libui.a(smb_stat.o)
rpc_progs                           gtk/libui.a(rpc_stat.o)
rpc_procs                           gtk/libui.a(rpc_stat.o)
DisengageRejectReason_vals          gtk/libui.a(h225_counter.o)
AdmissionRejectReason_vals          gtk/libui.a(h225_counter.o)
capture_raw                         capture.o
capture_null                        capture.o
capture_sll                         capture.o
capture_eth                         capture.o
dcerpc_uuids                        gtk/libui.a(dcerpc_stat.o)
LocationRejectReason_vals           gtk/libui.a(h225_counter.o)
FacilityReason_vals                 gtk/libui.a(h225_counter.o)
hf_frame_arrival_time               print.o
capture_arcnet                      capture.o
gsm_a_dtap_msg_rr_strings           gtk/libui.a(gsm_a_stat.o)
capture_ap1394                      capture.o
capture_clip                        capture.o
isup_message_type_value_acro        gtk/libui.a(isup_stat.o)
hf_frame_capture_len                print.o
gsm_a_dtap_msg_ss_strings           gtk/libui.a(gsm_a_stat.o)
DisengageReason_vals                gtk/libui.a(h225_counter.o)
capture_chdlc                       capture.o
GatekeeperRejectReason_vals         gtk/libui.a(h225_counter.o)
ansi_a_ios401_dtap_strings          gtk/libui.a(ansi_a_stat.o)
proto_data                          print.o
capture_atm                         capture.o
capture_ieee80211                   capture.o
RasMessage_vals                     gtk/libui.a(h225_counter.o)
capture_prism                       capture.o
fc_fc4_val                          gtk/libui.a(fc_stat.o)
ReleaseCompleteReason_vals          gtk/libui.a(h225_counter.o)
ansi_map_opr_code_strings           gtk/libui.a(ansi_map_stat.o)
gsm_map_opr_code_strings            gtk/libui.a(gsm_map_stat.o)
BandRejectReason_vals               gtk/libui.a(h225_counter.o)
h323_message_body_vals              gtk/libui.a(h225_counter.o)
UnregRequestReason_vals             gtk/libui.a(h225_counter.o)
vals_pdu_type                       gtk/libui.a(wsp_stat.o)
dcerpc_get_proto_name               gtk/libui.a(dcerpc_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.6'
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/stow/src/ethereal-0.10.6
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /usr/local/stow/src/ethereal-0.10.6
make: *** [ethereal.time] Error 1




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

Attachment: ethereal.script.bz2
Description: BZip2 compressed data