This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Error on ‘make’ for 1.7.1 on Archlinux 64 bit

0

I'm trying to install the 1.7.1 version on ArchLinux (3.3.7-1-ARCH #1 SMP PREEMPT Tue May 22 00:26:26 CEST 2012 x86_64 GNU/Linux)

In the past, I was able to get it installed but haven't been able to for the last few months. I keep getting the following errors. My configure options are:

$ ./configure --prefix=/opt --with-dumpcap-group=wireshark --disable-warnings-as-errors

I've googled and looked all over the place for a solution with no luck. Any ideas?

This is how my make statement ends:

libtool: link: gcc -g -O2 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -Wold-style-definition -Wno-error=unused-but-set-variable -fexcess-precision=fast -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -Wl,--as-needed -o .libs/wireshark wireshark-capture-pcap-util-unix.o wireshark-capture-pcap-util.o wireshark-cfile.o wireshark-clopts_common.o wireshark-disabled_protos.o wireshark-frame_data_sequence.o wireshark-packet-range.o wireshark-print.o wireshark-ps.o wireshark-sync_pipe_write.o wireshark-timestats.o wireshark-tap-megaco-common.o wireshark-tap-rtp-common.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-g711.o wireshark-merge.o wireshark-proto_hier_stats.o wireshark-recent.o wireshark-summary.o wireshark-tempfile.o wireshark-u3.o .libs/wiresharkS.o -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -Wl,--export-dynamic  -L/usr/local/lib ui/gtk/libgtkui.a ui/gtk/libgtkui_dirty.a ui/libui.a codecs/libcodec.a wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so wsutil/.libs/libwsutil.so -L/usr/lib -lpcap -lcares -lkrb5 -lk5crypto -lcom_err -lgcrypt -lgpg-error -lportaudio -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lm -lz -pthread -Wl,-rpath -Wl,/opt/lib
/usr/bin/ld: ui/gtk/libgtkui.a(libgtkui_a-plugins_dlg.o): undefined reference to symbol 'g_module_name'
/usr/bin/ld: note: 'g_module_name' is defined in DSO /usr/lib/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[2]: Leaving directory `/data/downloads/wireshark-1.7.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/downloads/wireshark-1.7.1'
make: *** [all] Error 2

asked 05 Jun '12, 10:39

jholbrook's gravatar image

jholbrook
1112
accept rate: 0%

edited 05 Jun '12, 17:12

helloworld's gravatar image

helloworld
3.1k42041