Wireshark-bugs: [Wireshark-bugs] [Bug 4879] wireshark 1.4.0rc1/rc2: autotools and cmake - buildi

Date: Sat, 2 Oct 2010 07:17:33 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4879

--- Comment #24 from Jose Pedro Oliveira <jpo@xxxxxxxxxxxx> 2010-10-02 07:17:31 PDT ---
(In reply to comment #22)
> Committed revision 34325.

Trunk revision 34332.

With gtk2-devel installed:

 * cmake step: OK

 * make: Fails (not sure if it is caused by cmake; will make an autotools
build)

----------
...
Linking C executable wireshark
/usr/bin/cmake -E cmake_link_script CMakeFiles/wireshark.dir/link.txt
--verbose=1
/usr/lib64/ccache/gcc    -Wl,--as-needed
CMakeFiles/wireshark.dir/airpcap_loader.c.o
CMakeFiles/wireshark.dir/alert_box.c.o CMakeFiles/wireshark.dir/capture.c.o
CMakeFiles/wireshark.dir/capture_info.c.o
CMakeFiles/wireshark.dir/capture_opts.c.o
CMakeFiles/wireshark.dir/capture_sync.c.o
CMakeFiles/wireshark.dir/color_filters.c.o CMakeFiles/wireshark.dir/file.c.o
CMakeFiles/wireshark.dir/fileset.c.o CMakeFiles/wireshark.dir/filters.c.o
CMakeFiles/wireshark.dir/g711.c.o CMakeFiles/wireshark.dir/merge.c.o
CMakeFiles/wireshark.dir/proto_hier_stats.c.o
CMakeFiles/wireshark.dir/summary.c.o CMakeFiles/wireshark.dir/tempfile.c.o
CMakeFiles/wireshark.dir/capture_errs.c.o
CMakeFiles/wireshark.dir/capture_ifinfo.c.o
CMakeFiles/wireshark.dir/capture_ui_utils.c.o
CMakeFiles/wireshark.dir/capture-pcap-util-unix.c.o
CMakeFiles/wireshark.dir/capture-pcap-util.c.o
CMakeFiles/wireshark.dir/cfile.c.o CMakeFiles/wireshark.dir/clopts_common.c.o
CMakeFiles/wireshark.dir/disabled_protos.c.o
CMakeFiles/wireshark.dir/packet-range.c.o CMakeFiles/wireshark.dir/print.c.o
CMakeFiles/wireshark.dir/ps.c.o CMakeFiles/wireshark.dir/sync_pipe_write.c.o
CMakeFiles/wireshark.dir/timestats.c.o CMakeFiles/wireshark.dir/util.c.o
CMakeFiles/wireshark.dir/tap-megaco-common.c.o
CMakeFiles/wireshark.dir/tap-rtp-common.c.o
CMakeFiles/wireshark.dir/version_info.c.o  -o wireshark -rdynamic
-L/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/gtk
-L/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/codecs
-L/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/epan
-L/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/wiretap
-L/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/wsutil lib/libui.a -lglib-2.0
-lgobject-2.0 -lgdk-x11-2.0 -lgdk-x11-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0
-lgtk-x11-2.0 -lgtk-x11-2.0 -lcairo -lpango-1.0 -latk-1.0 -lgdk_pixbuf-2.0
lib/libcodecs.a -lportaudio lib/libwireshark.so -lpcap -lcares -lkrb5 -llua
-lGeoIP -lgcrypt -lgpg-error -lgnutls -lsmi -lz -lm lib/libwiretap.so
-lgmodule-2.0 -lrt -lz lib/libwsutil.so -lglib-2.0
-Wl,-rpath,/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/gtk:/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/codecs:/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/epan:/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/wiretap:/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/wsutil:/home/fedora/rpms/BUILD/svn/wireshark.svn/Build/lib: 
lib/libui.a(capture_info_dlg.c.o): In function `capture_info_delete_cb':
capture_info_dlg.c:(.text+0x9c3): undefined reference to `airpcap_if_active'
lib/libui.a(capture_info_dlg.c.o): In function `capture_info_stop_clicked_cb':
capture_info_dlg.c:(.text+0x9e3): undefined reference to `airpcap_if_active'
lib/libui.a(main.c.o): In function `get_gui_runtime_info':
...
capture_if_dlg.c:(.text+0x1214): undefined reference to `airpcap_if_active'
capture_if_dlg.c:(.text+0x1241): undefined reference to `airpcap_if_selected'
capture_if_dlg.c:(.text+0x124c): undefined reference to `airpcap_if_active'
collect2: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[2]: Leaving directory `/home/fedora/rpms/BUILD/svn/wireshark.svn/Build'
make[1]: *** [CMakeFiles/wireshark.dir/all] Error 2
make[1]: Leaving directory `/home/fedora/rpms/BUILD/svn/wireshark.svn/Build'
make: *** [all] Error 2
----------

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.