ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 10444] New: make is failing - collect2: error: ld returned

Date: Thu, 04 Sep 2014 12:54:06 +0000
Bug ID 10444
Summary make is failing - collect2: error: ld returned 1 exit status
Product Wireshark
Version 1.12.0
Hardware x86-64
OS Ubuntu
Status UNCONFIRMED
Severity Blocker
Priority Low
Component Common utilities (libwsutil)
Assignee [email protected]
Reporter [email protected]

Created attachment 13034 [details]
make output

Build Information:
wireshark-1.12.0.tar.bz2
--
I'm trying to compile wireshark 1.12.0 on Ubuntu 14.04. make is failing with
below error:
"./configure" and "make V=1" outputs are attached to this bug.

<< Snip >>
libtool: link: rm -f .libs/wireshark.nm .libs/wireshark.nmS .libs/wireshark.nmT
libtool: link: (cd .libs && gcc -g -O2 -I/usr/local/include -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-Warray-bounds -Wformat-security -fwrapv -fno-strict-overflow
-fno-delete-null-pointer-checks -Wold-style-definition -Wstrict-prototypes
-Wjump-misses-init -Wvla -Waddress -Wattributes -Wdiv-by-zero
-Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite-strings
-Wno-long-long -Wc++-compat -Wshadow -Wlogical-op -fexcess-precision=fast
-fvisibility=hidden -I/usr/include/qt5/QtCore -I/usr/include/qt5
-I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore
-I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtCore
-I/usr/include/qt5/QtGui -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5
-I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets
-pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1
-I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -c -fno-builtin "wiresharkS.c")
libtool: link: rm -f ".libs/wiresharkS.c" ".libs/wireshark.nm"
".libs/wireshark.nmS" ".libs/wireshark.nmT"
libtool: link: gcc -DPYTHON_DIR= -g -O2 -I/usr/local/include -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-Warray-bounds -Wformat-security -fwrapv -fno-strict-overflow
-fno-delete-null-pointer-checks -Wold-style-definition -Wstrict-prototypes
-Wjump-misses-init -Wvla -Waddress -Wattributes -Wdiv-by-zero
-Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite-strings
-Wno-long-long -Wc++-compat -Wshadow -Wlogical-op -fexcess-precision=fast
-fvisibility=hidden -I/usr/include/qt5/QtCore -I/usr/include/qt5
-I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore
-I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtCore
-I/usr/include/qt5/QtGui -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5
-I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets
-pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1
-I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wl,--as-needed -o .libs/wireshark
wireshark-capture-pcap-util-unix.o wireshark-capture-pcap-util.o
wireshark-cfile.o wireshark-cfutils.o wireshark-clopts_common.o
wireshark-frame_tvbuff.o wireshark-sync_pipe_write.o wireshark-version_info.o
wireshark-capture_ifinfo.o wireshark-capture_sync.o
wireshark-capture_ui_utils.o wireshark-airpcap_loader.o wireshark-capture.o
wireshark-capture_info.o wireshark-capture_opts.o wireshark-color_filters.o
wireshark-file.o wireshark-fileset.o wireshark-filters.o
wireshark-iface_monitor.o wireshark-proto_hier_stats.o wireshark-summary.o
wireshark-ws80211_utils.o .libs/wiresharkS.o -Wl,-Bsymbolic-functions -Wl,-z
-Wl,relro -pthread -Wl,--export-dynamic -Wl,--export-dynamic  -L/usr/local/lib
ui/gtk/libgtkui.a ui/libui.a ui/libui_dirty.a codecs/libcodec.a
filetap/.libs/libfiletap.so wiretap/.libs/libwiretap.so
epan/.libs/libwireshark.so wsutil/.libs/libwsutil.so
-L/usr/lib/x86_64-linux-gnu -lpcap -lkrb5 -lk5crypto -lcom_err -lgthread-2.0
-lgmodule-2.0 -lm -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libcairo-gobject.so -lpango-1.0
/usr/lib/x86_64-linux-gnu/libcairo.so -lgobject-2.0 -lglib-2.0 -lz
/usr/local/lib/libnl.so -pthread
wireshark-iface_monitor.o: In function `iface_mon_handler2':
/home/user/Sharan/Softwares/wireshark-1.12.0/iface_monitor.c:80: undefined
reference to `rtnl_link_alloc'
/home/user/Sharan/Softwares/wireshark-1.12.0/iface_monitor.c:92: undefined
reference to `rtnl_link_get_flags'
/home/user/Sharan/Softwares/wireshark-1.12.0/iface_monitor.c:93: undefined
reference to `rtnl_link_get_name'
/home/user/Sharan/Softwares/wireshark-1.12.0/iface_monitor.c:110: undefined
reference to `rtnl_link_put'
wireshark-ws80211_utils.o: In function `get_iface_info_handler':
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:350: undefined
reference to `genlmsg_attrlen'
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:350: undefined
reference to `genlmsg_attrdata'
wireshark-ws80211_utils.o: In function `__ws80211_get_iface_info':
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:405: undefined
reference to `genlmsg_put'
wireshark-ws80211_utils.o: In function `get_phys_handler':
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:206: undefined
reference to `genlmsg_attrlen'
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:206: undefined
reference to `genlmsg_attrdata'
wireshark-ws80211_utils.o: In function `ws80211_init':
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:83: undefined
reference to `genl_connect'
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:89: undefined
reference to `genl_ctrl_resolve'
wireshark-ws80211_utils.o: In function `ws80211_create_on_demand_interface':
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:549: undefined
reference to `genlmsg_put'
wireshark-ws80211_utils.o: In function `ws80211_set_freq':
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:587: undefined
reference to `genlmsg_put'
wireshark-ws80211_utils.o: In function `ws80211_get_phys':
/home/user/Sharan/Softwares/wireshark-1.12.0/ws80211_utils.c:301: undefined
reference to `genlmsg_put'
collect2: error: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[2]: Leaving directory `/home/user/Sharan/Softwares/wireshark-1.12.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/Sharan/Softwares/wireshark-1.12.0'
make: *** [all] Error 2
------------------------------------------------------

Ubuntu OS details:
-------------------
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"


You are receiving this mail because:
  • You are watching all bug changes.