On Mon, Aug 29, 2011 at 09:20:22PM +0200, Joerg Mayer wrote:
> I just tried to compile wireshark without libpcap and it fails. The
> idea came from looking at the buildbot on osx failures where there now
> is a callback to capture_if_cb, which only exists with pcap present.
> I'm trying to find out whether this is easy to fix - I just have to
> fix all the cmake cases first where stuff only gets built if libpcap
> is available :-) Feel free to beat me to it.
I just committed r38782 to fix compilation with the configure script and
the "--without-pcap" option. But it generates the runtime warnings
shown below.
(wireshark:66065): Gtk-WARNING **: CaptureFilters: missing action /Capture/CaptureFilters
(wireshark:66065): Gtk-WARNING **: Interfaces: missing action /Capture/Interfaces
(wireshark:66065): Gtk-WARNING **: Options: missing action /Capture/Options
(wireshark:66065): Gtk-WARNING **: Start: missing action /Capture/Start
(wireshark:66065): Gtk-WARNING **: Stop: missing action /Capture/Stop
(wireshark:66065): Gtk-WARNING **: Restart: missing action /Capture/Restart
If I break up the "const char *ui_desc_menubar" with
#ifdef HAVE_LIBPCAP around the capture menu options, then the runtime
warning changes to:
Warning: set_menu_vissible couldn't find action path=
/Menubar/CaptureMenu