Wireshark-dev: Re: [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
GTK_VERSION=2.24.28
ATK_VERSION=2.8.0
PANGO_VERSION=1.30.1
PNG_VERSION=1.6.18
PIXMAN_VERSION=0.26.0
CAIRO_VERSION=1.12.2
GDK_PIXBUF_VERSION=2.28.0
Final link:
Making all in .
/bin/sh ./libtool --tag=CC --mode=link gcc -Werror -Wall -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wheader-guard -Wunused-const-variable -Wc++-compat -Wdeclaration-after-statement -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -fvisibility=hidden -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -g -O2 -D_REENTRANT -isystem/usr/local/include/gtk-2.0 -isystem/usr/local/lib/gtk-2.0/include -isystem/usr/local/include/pango-1.0 -isystem/usr/local/include/atk-1.0 -isystem/usr/local/include/cairo -isystem/usr/local/include/pixman-1 -isystem/usr/local/include/libpng16 -isystem/usr/local/include/gdk-pixbuf-2.0 -isystem/usr/local/include/glib-2.0 -isystem/usr/local/lib/glib-2.0/include -isystem/opt/X11/include -isystem/opt/X11/include/freetype2 -isystem/opt/X11/include -isystem/opt/X11/include/libpng15 -export-dynamic -Wl,-headerpad_max_install_names -Wl,-search_paths_first -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o wireshark-gtk wireshark_gtk-cfile.o wireshark_gtk-frame_tvbuff.o wireshark_gtk-sync_pipe_write.o wireshark_gtk-extcap.o wireshark_gtk-extcap_parser.o wireshark_gtk-capture_info.o wireshark_gtk-capture_opts.o wireshark_gtk-color_filters.o wireshark_gtk-file.o wireshark_gtk-fileset.o wireshark_gtk-summary.o ui/gtk/libgtkui.a capchild/libcapchild.a caputils/libcaputils.a ui/libui.a ui/libui_dirty.a codecs/libwscodecs.la wiretap/libwiretap.la epan/libwireshark.la wsutil/libwsutil.la -dlopen plugins/docsis/docsis.la -dlopen plugins/ethercat/ethercat.la -dlopen plugins/gryphon/gryphon.la -dlopen plugins/irda/irda.la -dlopen plugins/m2m/m2m.la -dlopen plugins/mate/mate.la -dlopen plugins/opcua/opcua.la -dlopen plugins/profinet/profinet.la -dlopen plugins/stats_tree/stats_tree.la -dlopen plugins/unistim/unistim.la -dlopen plugins/wimax/wimax.la -dlopen plugins/wimaxmacphy/wimaxmacphy.la -lpcap -lcares -dynamic -Wl,-search_paths_first -lkrb5 -framework ApplicationServices -framework SystemConfiguration -framework CoreFoundation -L/usr/local/lib -lgcrypt -lgpg-error -L/usr/local/lib -lgnutls -L/usr/local/lib -lsmi -L/usr/local/lib -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lportaudio -L/usr/local/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lz
libtool: link: rm -f .libs/wireshark-gtk.nm .libs/wireshark-gtk.nmS .libs/wireshark-gtk.nmT
libtool: link: (cd .libs && gcc -Wall -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wheader-guard -Wunused-const-variable -Wc++-compat -Wdeclaration-after-statement -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -fvisibility=hidden -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -g -O2 -D_REENTRANT -isystem/usr/local/include/gtk-2.0 -isystem/usr/local/lib/gtk-2.0/include -isystem/usr/local/include/pango-1.0 -isystem/usr/local/include/atk-1.0 -isystem/usr/local/include/cairo -isystem/usr/local/include/pixman-1 -isystem/usr/local/include/libpng16 -isystem/usr/local/include/gdk-pixbuf-2.0 -isystem/usr/local/include/glib-2.0 -isystem/usr/local/lib/glib-2.0/include -isystem/opt/X11/include -isystem/opt/X11/include/freetype2 -isystem/opt/X11/include -isystem/opt/X11/include/libpng15 -c -fno-builtin -fno-rtti -fno-exceptions "wireshark-gtkS.c")
libtool: link: rm -f ".libs/wireshark-gtkS.c" ".libs/wireshark-gtk.nm" ".libs/wireshark-gtk.nmS" ".libs/wireshark-gtk.nmT"
libtool: link: gcc -Werror -Wall -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wheader-guard -Wunused-const-variable -Wc++-compat -Wdeclaration-after-statement -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -fvisibility=hidden -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -g -O2 -D_REENTRANT -isystem/usr/local/include/gtk-2.0 -isystem/usr/local/lib/gtk-2.0/include -isystem/usr/local/include/pango-1.0 -isystem/usr/local/include/atk-1.0 -isystem/usr/local/include/cairo -isystem/usr/local/include/pixman-1 -isystem/usr/local/include/libpng16 -isystem/usr/local/include/gdk-pixbuf-2.0 -isystem/usr/local/include/glib-2.0 -isystem/usr/local/lib/glib-2.0/include -isystem/opt/X11/include -isystem/opt/X11/include/freetype2 -isystem/opt/X11/include -isystem/opt/X11/include/libpng15 -Wl,-headerpad_max_install_names -Wl,-search_paths_first -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -o .libs/wireshark-gtk wireshark_gtk-cfile.o wireshark_gtk-frame_tvbuff.o wireshark_gtk-sync_pipe_write.o wireshark_gtk-extcap.o wireshark_gtk-extcap_parser.o wireshark_gtk-capture_info.o wireshark_gtk-capture_opts.o wireshark_gtk-color_filters.o wireshark_gtk-file.o wireshark_gtk-fileset.o wireshark_gtk-summary.o .libs/wireshark-gtkS.o -dynamic -Wl,-search_paths_first -L/usr/local/lib ui/gtk/libgtkui.a capchild/libcapchild.a caputils/libcaputils.a ui/libui.a ui/libui_dirty.a codecs/.libs/libwscodecs.dylib wiretap/.libs/libwiretap.dylib epan/.libs/libwireshark.dylib -llua /usr/local/lib/libGeoIP.dylib /Users/simonb/wireshark/wiretap/.libs/libwiretap.dylib /Users/simonb/wireshark/wsutil/.libs/libwsutil.dylib wsutil/.libs/libwsutil.dylib -lpcap /usr/local/lib/libcares.dylib -lkrb5 -framework SystemConfiguration /usr/local/lib/libgnutls.dylib /usr/local/lib/libgcrypt.dylib /usr/local/lib/libgpg-error.dylib -lpthread /usr/local/lib/libsmi.dylib /usr/local/lib/libgthread-2.0.dylib /usr/local/lib/libportaudio.dylib /usr/local/lib/libgtk-quartz-2.0.dylib /usr/local/lib/libgdk-quartz-2.0.dylib /usr/local/lib/libpangocairo-1.0.dylib -L/opt/X11/lib /usr/local/lib/libpangoft2-1.0.dylib /usr/local/lib/libpango-1.0.dylib /usr/local/lib/libatk-1.0.dylib /usr/local/lib/libcairo.dylib /usr/local/lib/libpixman-1.dylib -lfontconfig -lfreetype /usr/local/lib/libpng16.dylib -lxcb-shm -lxcb-render -lxcb /usr/local/lib/libgdk_pixbuf-2.0.dylib -lpng15 -lm /usr/local/lib/libgio-2.0.dylib /usr/local/lib/libgmodule-2.0.dylib -lresolv /usr/local/lib/libgobject-2.0.dylib -lffi /usr/local/lib/libglib-2.0.dylib /usr/local/lib/libintl.dylib -liconv -lc -lz -framework ApplicationServices -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework CoreFoundation
Undefined symbols for architecture x86_64:
"_capture_comment_add_pb_data", referenced from:
_statusbar_new in libgtkui.a(libgtkui_a-main_statusbar.o)
"_capture_comment_disabled_pb_data", referenced from:
_expert_comp_init in libgtkui.a(libgtkui_a-expert_comp_dlg.o)
"_capture_comment_update_pb_data", referenced from:
_statusbar_new in libgtkui.a(libgtkui_a-main_statusbar.o)
_expert_comp_init in libgtkui.a(libgtkui_a-expert_comp_dlg.o)
"_capture_interfaces_16_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_capture_interfaces_24_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_capture_options_alt1_16_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_capture_options_alt1_24_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_capture_restart_16_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_capture_restart_24_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_capture_start_16_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_capture_start_24_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_capture_stop_16_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_capture_stop_24_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_expert_chat_pb_data", referenced from:
_statusbar_new in libgtkui.a(libgtkui_a-main_statusbar.o)
_expert_comp_init in libgtkui.a(libgtkui_a-expert_comp_dlg.o)
"_expert_error_pb_data", referenced from:
_statusbar_new in libgtkui.a(libgtkui_a-main_statusbar.o)
_add_page in libgtkui.a(libgtkui_a-capture_dlg.o)
_expert_comp_init in libgtkui.a(libgtkui_a-expert_comp_dlg.o)
"_expert_none_pb_data", referenced from:
_statusbar_new in libgtkui.a(libgtkui_a-main_statusbar.o)
"_expert_note_pb_data", referenced from:
_statusbar_new in libgtkui.a(libgtkui_a-main_statusbar.o)
_expert_comp_init in libgtkui.a(libgtkui_a-expert_comp_dlg.o)
"_expert_ok_pb_data", referenced from:
_add_page in libgtkui.a(libgtkui_a-capture_dlg.o)
"_expert_warn_pb_data", referenced from:
_statusbar_new in libgtkui.a(libgtkui_a-main_statusbar.o)
_expert_comp_init in libgtkui.a(libgtkui_a-expert_comp_dlg.o)
"_gnome_emblem_web_16_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_gnome_emblem_web_24_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_layout_1_pb_data", referenced from:
_layout_prefs_show in libgtkui.a(libgtkui_a-prefs_layout.o)
"_layout_2_pb_data", referenced from:
_layout_prefs_show in libgtkui.a(libgtkui_a-prefs_layout.o)
"_layout_3_pb_data", referenced from:
_layout_prefs_show in libgtkui.a(libgtkui_a-prefs_layout.o)
"_layout_4_pb_data", referenced from:
_layout_prefs_show in libgtkui.a(libgtkui_a-prefs_layout.o)
"_layout_5_pb_data", referenced from:
_layout_prefs_show in libgtkui.a(libgtkui_a-prefs_layout.o)
"_layout_6_pb_data", referenced from:
_layout_prefs_show in libgtkui.a(libgtkui_a-prefs_layout.o)
"_network_bluetooth_pb_data", referenced from:
_capture_get_if_icon in libgtkui.a(libgtkui_a-capture_if_dlg.o)
"_network_usb_pb_data", referenced from:
_capture_get_if_icon in libgtkui.a(libgtkui_a-capture_if_dlg.o)
"_network_wired_pb_data", referenced from:
_capture_get_if_icon in libgtkui.a(libgtkui_a-capture_if_dlg.o)
"_network_wireless_pb_data", referenced from:
_capture_get_if_icon in libgtkui.a(libgtkui_a-capture_if_dlg.o)
"_pipe_pb_data", referenced from:
_capture_get_if_icon in libgtkui.a(libgtkui_a-capture_if_dlg.o)
"_toolbar_wireshark_file_16_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_toolbar_wireshark_file_24_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_wsicon_16_pb_data", referenced from:
_main_capture_callback in libgtkui.a(libgtkui_a-main.o)
_window_icon_realize_cb in libgtkui.a(libgtkui_a-gui_utils.o)
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_wsicon_24_pb_data", referenced from:
_stock_icons_init.pixbufs in libgtkui.a(libgtkui_a-stock_icons.o)
"_wsicon_32_pb_data", referenced from:
_main_capture_callback in libgtkui.a(libgtkui_a-main.o)
_window_icon_realize_cb in libgtkui.a(libgtkui_a-gui_utils.o)
"_wsicon_48_pb_data", referenced from:
_main_capture_callback in libgtkui.a(libgtkui_a-main.o)
_window_icon_realize_cb in libgtkui.a(libgtkui_a-gui_utils.o)
"_wsicon_64_pb_data", referenced from:
_main_capture_callback in libgtkui.a(libgtkui_a-main.o)
_window_icon_realize_cb in libgtkui.a(libgtkui_a-gui_utils.o)
"_wsiconcap_16_pb_data", referenced from:
_main_capture_callback in libgtkui.a(libgtkui_a-main.o)
"_wsiconcap_32_pb_data", referenced from:
_main_capture_callback in libgtkui.a(libgtkui_a-main.o)
"_wsiconcap_48_pb_data", referenced from:
_main_capture_callback in libgtkui.a(libgtkui_a-main.o)
"_wsiconcap_64_pb_data", referenced from:
_main_capture_callback in libgtkui.a(libgtkui_a-main.o)
"_wssplash_pb_data", referenced from:
_about_wireshark in libgtkui.a(libgtkui_a-about_dlg.o)
_welcome_new in libgtkui.a(libgtkui_a-main_welcome.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [wireshark-gtk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Does it need fixing?
On 05-12-2015 00:29, Simon Barber wrote:
I'm building wireshark_gtk on MacOS 10.10 using cmake, with GTK2, and
I'm not seeing pixbuf-csource being linked in. Here's the AR command:
ar cru libgtkui.a libgtkui_a-about_dlg.o
libgtkui_a-addr_resolution_dlg.o libgtkui_a-bytes_view.o
libgtkui_a-capture_dlg.o libgtkui_a-capture_file_dlg.o
libgtkui_a-capture_if_dlg.o libgtkui_a-capture_info_dlg.o
libgtkui_a-color_dlg.o libgtkui_a-color_edit_dlg.o
libgtkui_a-color_utils.o libgtkui_a-conversation_hastables_dlg.o
libgtkui_a-conversations_table.o libgtkui_a-decode_as_dlg.o
libgtkui_a-dfilter_expr_dlg.o libgtkui_a-dissector_tables_dlg.o
libgtkui_a-dlg_utils.o libgtkui_a-drag_and_drop.o
libgtkui_a-edit_packet_comment_dlg.o libgtkui_a-expert_comp_table.o
libgtkui_a-export_object_dlg.o libgtkui_a-export_sslkeys.o
libgtkui_a-extcap_gtk.o libgtkui_a-filter_autocomplete.o
libgtkui_a-file_dlg.o libgtkui_a-file_import_dlg.o
libgtkui_a-fileset_dlg.o libgtkui_a-filter_dlg.o
libgtkui_a-filter_expression_save_dlg.o libgtkui_a-filter_utils.o
libgtkui_a-find_dlg.o libgtkui_a-firewall_dlg.o libgtkui_a-follow_ssl.o
libgtkui_a-follow_stream.o libgtkui_a-follow_tcp.o
libgtkui_a-follow_udp.o libgtkui_a-font_utils.o libgtkui_a-goto_dlg.o
libgtkui_a-graph_analysis.o libgtkui_a-gtk_iface_monitor.o
libgtkui_a-gui_stat_util.o libgtkui_a-gui_utils.o libgtkui_a-help_dlg.o
libgtkui_a-hostlist_table.o libgtkui_a-macros_dlg.o libgtkui_a-main.o
libgtkui_a-main_80211_toolbar.o libgtkui_a-main_filter_toolbar.o
libgtkui_a-main_menubar.o libgtkui_a-manual_addr_resolv.o
libgtkui_a-packet_panes.o libgtkui_a-main_statusbar.o
libgtkui_a-main_titlebar.o libgtkui_a-main_toolbar.o
libgtkui_a-main_welcome.o libgtkui_a-packet_history.o
libgtkui_a-packet_list_store.o libgtkui_a-packet_list.o
libgtkui_a-packet_win.o libgtkui_a-pixmap_save.o
libgtkui_a-plugins_dlg.o libgtkui_a-prefs_capture.o
libgtkui_a-prefs_column.o libgtkui_a-prefs_dlg.o
libgtkui_a-prefs_filter_expressions.o libgtkui_a-prefs_gui.o
libgtkui_a-prefs_layout.o libgtkui_a-prefs_font_color.o
libgtkui_a-print_dlg.o libgtkui_a-profile_dlg.o
libgtkui_a-progress_dlg.o libgtkui_a-proto_dlg.o libgtkui_a-proto_help.o
libgtkui_a-proto_hier_stats_dlg.o libgtkui_a-proto_hier_tree_model.o
libgtkui_a-proto_tree_model.o libgtkui_a-range_utils.o
libgtkui_a-response_time_delay_table.o libgtkui_a-rtp_player.o
libgtkui_a-sctp_byte_graph_dlg.o libgtkui_a-sctp_error_dlg.o
libgtkui_a-sctp_graph_dlg.o libgtkui_a-service_response_time_table.o
libgtkui_a-simple_dialog.o libgtkui_a-simple_stattable.o
libgtkui_a-stock_icons.o libgtkui_a-summary_dlg.o
libgtkui_a-supported_protos_dlg.o libgtkui_a-tap_param_dlg.o
libgtkui_a-text_page_utils.o libgtkui_a-time_shift_dlg.o
libgtkui_a-uat_gui.o libgtkui_a-webbrowser.o libgtkui_a-compare_stat.o
libgtkui_a-dcerpc_stat.o libgtkui_a-expert_comp_dlg.o
libgtkui_a-export_pdu_dlg.o libgtkui_a-flow_graph.o
libgtkui_a-funnel_stat.o libgtkui_a-gsm_map_summary.o
libgtkui_a-iax2_analysis.o libgtkui_a-io_stat.o
libgtkui_a-lbm_stream_dlg.o libgtkui_a-lbm_uimflow_dlg.o
libgtkui_a-mac_lte_stat_dlg.o libgtkui_a-mcast_stream_dlg.o
libgtkui_a-mtp3_summary.o libgtkui_a-rlc_lte_graph.o
libgtkui_a-rlc_lte_stat_dlg.o libgtkui_a-rpc_stat.o
libgtkui_a-rtp_analysis.o libgtkui_a-rtp_stream_dlg.o
libgtkui_a-sctp_assoc_analyse.o libgtkui_a-sctp_chunk_stat.o
libgtkui_a-sctp_chunk_stat_dlg.o libgtkui_a-sctp_stat_dlg.o
libgtkui_a-stats_tree_stat.o libgtkui_a-tcp_graph.o
libgtkui_a-voip_calls_dlg.o libgtkui_a-wlan_stat_dlg.o
libgtkui_a-wireshark-tap-register.o libgtkui_a-wireshark-gresources.o
What do I need to change to fix this?
It's only linked if your GLib version is below 2.32.
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives: https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
- Follow-Ups:
- Re: [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
- From: João Valverde
- Re: [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
- References:
- [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
- From: Simon Barber
- Re: [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
- From: João Valverde
- [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
- Prev by Date: Re: [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
- Next by Date: Re: [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
- Previous by thread: Re: [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
- Next by thread: Re: [Wireshark-dev] ui/gtk/pixbuf-csource not linked in
- Index(es):