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

Ethereal-dev: [Ethereal-dev] Make Problem

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

From: "Jim Apgar" <JAPGAR@xxxxxxxxxxxxxxx>
Date: Wed, 06 Jul 2005 10:11:15 -0400
Hi All,
 
   I can still use a little help (not being a C programmer and never really having to compile and link I'm a little lost).  I'm trying to install the latest release on an AIX 5.1 system.  The make runs for an 1.5 hours and errors out with undefined symbols (see below).  There are some warnings during this process, mostly variables being defined and not used.
 
  It looks like the undefined symbols I am getting are defined in libethereal.def.  During the make a libethereal.la file is created.  By browsing the file, it looks to be a file that's needed by the linker.   So, it appears that the make is not finding this file which is in the ethereal-0.10.11/epan directory.  Do I need to rerun the configure command and add the LDFLAGS=-L/ethereal-0.10.11/epan environment variable?  I would've thought this files location would get picked up automatically (at least it did to generate the libethereal.la file). 
 
Thanks,
Jim
 
Here's the error : 
      
gcc "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/i nclude -D_THREAD_SAFE -I/opt/freeware/include/gtk-2.0 -I/opt/freeware/lib/gtk-2.0/include -I/opt/freeware/include/atk-1.0 -I/opt/freeware/include/pango-1.0 -I/opt/freeware/include/glib-2.0 -I/opt/freeware/lib/glib-2.0/include -I/opt/freeware/include -o .libs/ethereal 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 alert_box.o capture.o capture_opts.o capture_sync.o capture_loop.o color_filters.o file.o fileset.o filters.o g711.o merge.o proto_hier_stats.o summary.o .libs/etherealS.o  -L/opt/freeware/lib -L/usr/local/lib gtk/libui.a -Lwiretap/.libs -lwiretap -L/gestconf/project/GNOME_ACL/GNOME/build/sb_build_M_gnome240/export/power_510_32/usr/lib -L/gestconf/project/GNOME_ACL/GNOME/build/M_gnome240/export/power_510_32/usr/lib -L/gestconf/project/GNOME_ACL/GNOME/build/sb_gnome2_4_0f1/export/power_510_32/usr/lib -L/gest conf/project/GNOME_ACL/GNOME/build/GNOME_2_4_0/export/power_510_32/usr/lib -L/users/project/PDP/PDP_51_050/usr/ccs/lib -L/users/project/PDP/PDP_51_050/usr/lib -Lepan/.libs -lethereal -lpcap -lcfg -lodm -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -L/gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/export/power_510_32/usr/lib -L/gestconf/project/GNOME_ACL/GNOME/build/sh_dev_GNOME/export/power_510_32/usr/lib -L/gestconf/project/GNOME_ACL/GNOME/build/latest/export/power_510_32/usr/lib -L/gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/export/power_510_32/usr/lib/ -lgdk_pixbuf-2.0 -lpangox-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -Wl,-blibpath:/opt/freeware/lib:/opt/freeware/lib:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .dfilter_free
ld: 0711-317 ERROR: Undefined symbol: .dfilter_apply_edt
ld : 0711-317 ERROR: Undefined symbol: .dfilter_compile
ld: 0711-317 ERROR: Undefined symbol: dfilter_error_msg
ld: 0711-317 ERROR: Undefined symbol: .ftype_pretty_name
ld: 0711-317 ERROR: Undefined symbol: .ftype_can_eq
ld: 0711-317 ERROR: Undefined symbol: .ftype_can_ne
ld: 0711-317 ERROR: Undefined symbol: .ftype_can_gt
ld: 0711-317 ERROR: Undefined symbol: .ftype_can_lt
ld: 0711-317 ERROR: Undefined symbol: .ftype_can_ge
ld: 0711-317 ERROR: Undefined symbol: .ftype_can_le
ld: 0711-317 ERROR: Undefined symbol: .ftype_can_contains
ld: 0711-317 ERROR: Undefined symbol: .ftype_can_slice
ld: 0711-317 ERROR: Undefined symbol: .fvalue_from_unparsed
ld: 0711-317 ERROR: Undefined symbol: fvalue_t_free_list
ld: 0711-317 ERROR: Undefined symbol: .ftype_can_matches
ld: 0711-317 ERROR: Undefined symbol: proto_data
ld: 0711-317 ERROR: Undefined symbol: proto_frame
ld: 0711-317 ERROR: Undefined symbol: hf_frame_number
ld: 0711-317 ERROR: Undefined symbol: .fvalue_get_integer
ld: 0711-317 ERROR: Undefined symbol: hf_frame_packet_len
ld: 0711-317 ERROR: Undefined symbol: hf_frame_capture_len
ld: 0711-317 ERROR: Undefined symbol: hf_frame_arrival_time
ld: 0711-317 ERROR: Undefined symbol: .fvalue_ge R>ld: 0711-317 ERROR: Undefined symbol: .dcerpc_add_conv_to_bind_table
ld: 0711-317 ERROR: Undefined symbol: dcerpc_hooks_init_protos
ld: 0711-317 ERROR: Undefined symbol: dcerpc_uuids
ld: 0711-317 ERROR: Undefined symbol: .dcerpc_get_transport_salt
ld: 0711-317 ERROR: Undefined symbol: register_all_protocols
ld: 0711-317 ERROR: Undefined symbol: register_all_protocol_handoffs
ld: 0711-317 ERROR: Undefined symbol: ansi_a_ios401_bsmap_strings
ld: 0711-317 ERROR: Undefined symbol: ansi_a_ios401_dtap_strings
ld: 0711-317 ERROR: Undefined symbol: ansi_map_opr_code_strings
ld: 0711-317 ERROR: Undefined symbol: .dcerpc_get_proto_name
ld: 0711-317 ERROR: Undefined symbol: .dcerpc_get_proto_hf_opnum
ld: 0711-317 ERROR: Undefined symbol: .dcerpc_get_proto_sub_dissector
ld: 0711-317 ERROR: Undefined symbol: fc_fc4_val
ld: 0711-317 ERROR: Undefined symbol: gsm_a_dtap_msg_ss_strings
ld: 0711-317 ERROR: Undefined symbol: gsm_a_dtap_msg_sm_strings< BR>ld: 0711-317 ERROR: Undefined symbol: gsm_a_dtap_msg_sms_strings
ld: 0711-317 ERROR: Undefined symbol: gsm_a_dtap_msg_gmm_strings
ld: 0711-317 ERROR: Undefined symbol: gsm_a_dtap_msg_cc_strings
ld: 0711-317 ERROR: Undefined symbol: gsm_a_dtap_msg_rr_strings
ld: 0711-317 ERROR: Undefined symbol: gsm_a_dtap_msg_mm_strings
ld: 0711-317 ERROR: Undefined symbol: gsm_a_bssmap_msg_strings
ld: 0711-317 ERROR: Undefined symbol: gsm_map_opr_code_strings
ld: 0711-317 ERROR: Undefined symbol: T_h323_message_body_vals
ld: 0711-317 ERROR: Undefined symbol: FacilityReason_vals
ld: 0711-317 ERROR: Undefined symbol: ReleaseCompleteReason_vals
ld: 0711-317 ERROR: Undefined symbol: RasMessage_vals
ld: 0711-317 ERROR: Undefined symbol: GatekeeperRejectReason_vals
ld: 0711-317 ERROR: Undefined symbol: RegistrationRejectReason_vals
ld: 0711-317 ERROR: Undefined symbol: UnregRequestReason_vals
ld: 0711-317 ERROR: Undefined symbol: UnregRejectReason_vals
ld: 0711-317 ERROR: Undefined symbol: AdmissionRejectReason_vals
ld: 0711-317 ERROR: Undefined symbol: BandRejectReason_vals
ld: 0711-317 ERROR: Undefined symbol: DisengageReason_vals
ld: 0711-317 ERROR: Undefined symbol: DisengageRejectReason_vals
ld: 0711-317 ERROR: Undefined symbol: LocationRejectReason_vals
ld: 0711-317 ERROR: Undefined symbol: InfoRequestNakReason_vals
ld: 0711-317 ERROR: Undefined symbol: isup_message_type_value
ld: 0711-317 ERROR: Undefined symbol: isup_message_type_value_acro
ld: 0711-317 ERROR: Undefined symbol: mtp3_service_indicator_code_short_vals
ld: 0711-317 ERROR: Undefined symbol: .mtp3_addr_to_str_buf
ld: 0711-317 ERROR: Undefined symbol: .rpc_prog_name
ld: 0711-317 ERROR: Undefined symbol: .rpc_proc_name
ld: 0711-317 ERROR: Undefined symbol: .rpc_prog_hf
ld: 0711-317 ERROR: Undefined symbol: rpc_procs
ld: 0711-317 ERROR: Undefined symbol: rpc_progs
ld: 0711-317 ERROR: Undefined symbol: rtp_pa yload_type_vals
ld: 0711-317 ERROR: Undefined symbol: smb_cmd_vals
ld: 0711-317 ERROR: Undefined symbol: trans2_cmd_vals
ld: 0711-317 ERROR: Undefined symbol: nt_cmd_vals
ld: 0711-317 ERROR: Undefined symbol: rtp_payload_type_short_vals
ld: 0711-317 ERROR: Undefined symbol: q931_cause_code_vals
ld: 0711-317 ERROR: Undefined symbol: vals_pdu_type
ld: 0711-317 ERROR: Undefined symbol: vals_status
ld: 0711-317 ERROR: Undefined symbol: .capture_eth
ld: 0711-317 ERROR: Undefined symbol: .capture_tr
ld: 0711-317 ERROR: Undefined symbol: .capture_ppp_hdlc
ld: 0711-317 ERROR: Undefined symbol: .capture_fddi
ld: 0711-317 ERROR: Undefined symbol: .capture_raw
ld: 0711-317 ERROR: Undefined symbol: .capture_arcnet
ld: 0711-317 ERROR: Undefined symbol: .capture_clip
ld: 0711-317 ERROR: Undefined symbol: .capture_atm
ld: 0711-317 ERROR: Undefined symbol: .capture_null
ld: 0711-317 ERROR: Undefined symbol: .capture_ipfc
ld: 0711-317 ERR OR: Undefined symbol: .capture_prism
ld: 0711-317 ERROR: Undefined symbol: .capture_ieee80211
ld: 0711-317 ERROR: Undefined symbol: .capture_sll
ld: 0711-317 ERROR: Undefined symbol: .capture_fr
ld: 0711-317 ERROR: Undefined symbol: .capture_chdlc
ld: 0711-317 ERROR: Undefined symbol: .capture_llap
ld: 0711-317 ERROR: Undefined symbol: .capture_ap1394
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
 

Stop.
make: 1254-004 The error code from the last command is 1.
 

Stop.
make: 1254-004 The error code from the last command is 2.
 

Stop.
[root@dinsmt2]:/home/jima/ethereal/ethereal-0.10.11>