Wireshark-dev: Re: [Wireshark-dev] Multiple interfaces capture: Compile errors
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Fri, 5 Aug 2011 17:59:45 +0200
I just tried to "fix" the stuff in main_welcome.c:

Index: main_welcome.c
===================================================================
--- main_welcome.c      (revision 38365)
+++ main_welcome.c      (working copy)
@@ -72,6 +72,9 @@
 #include "airpcap.h"
 #include "airpcap_loader.h"
 #include "airpcap_gui_utils.h"
+#endif
+
+#if defined(HAVE_AIRPCAP) || defined(HAVE_PCAP_REMOTE)
 #include "../image/toolbar/capture_airpcap_16.xpm"
 #endif
 
But this is not really helping:
a) It looks like the code wants to use a wrong icon (airpcap for remote)
b) compilation fails with messages like:
   main_welcome.c:721:25: error: ‘d_interface.remote_opts.remote_host_opts.remote_host’ may be used uninitialized in this function
   And this looks genuine to me: There is an assignment to the struct further
   down (no, not a pointer to a struct).

Ciao
    Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.