Wireshark mailing list archives
Re: Multiple interfaces capture: Compile errors
From: Michael Tüxen <Michael.Tuexen () lurchi franken de>
Date: Fri, 5 Aug 2011 19:43:16 +0200
On Aug 5, 2011, at 5:59 PM, Joerg Mayer wrote:
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)
I committed your fix in r38369. Since we have no icon for remote interfaces and I'm not the right person to create one, use the airpcap one. If anyone comes up with an icon for remote interfaces, feel free to use it...
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).
I think I fixed this problem in r38368. I hope it compiles now for you... Best regards Michael
Ciao Joerg -- Joerg Mayer <jmayer () loplof de> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Multiple interfaces capture: Compile errors Joerg Mayer (Aug 05)
- Re: Multiple interfaces capture: Compile errors Joerg Mayer (Aug 05)
- Re: Multiple interfaces capture: Compile errors Michael Tüxen (Aug 05)
- Re: Multiple interfaces capture: Compile errors Joerg Mayer (Aug 05)
- Re: Multiple interfaces capture: Compile errors Joerg Mayer (Aug 05)
- Re: Multiple interfaces capture: Compile errors Michael Tuexen (Aug 05)
- Re: Multiple interfaces capture: Compile errors Michael Tüxen (Aug 05)
- Re: Multiple interfaces capture: Compile errors Michael Tüxen (Aug 05)
- Re: Multiple interfaces capture: Compile errors Joerg Mayer (Aug 05)