Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread David Morsberger
> On Jan 20, 2016, at 2:48 AM, Stig Bjørlykke wrote: > > On Wed, Jan 20, 2016 at 3:28 AM, David Morsberger > wrote: > I am trying to create support and possibly instructions for Xcode. > > The only issue I have with using Xcode is > https://bugs.wireshark.org/bugzi

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread Stig Bjørlykke
On Wed, Jan 20, 2016 at 1:47 PM, David Morsberger wrote: > I am getting actual errors within Xcode after ‘cmake -G Xcode’. This can > easily be resolved by not testing ‘—as-needed’ or ‘—pie’ when XCODE just > like what is done for MSVC. > Ah, yes, I forgot about this. I have tried to fix this e

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread David Morsberger
On Wed, Jan 20, 2016 at 8:43 AM, Stig Bjørlykke wrote: > On Wed, Jan 20, 2016 at 1:47 PM, David Morsberger > wrote: > > I am getting actual errors within Xcode after ‘cmake -G Xcode’. This can >> easily be resolved by not testing ‘—as-needed’ or ‘—pie’ when XCODE just >> like what is done for MS

[Wireshark-dev] Reassembly of IP fragments gets confused by multiple packets on different VLANS

2016-01-20 Thread Anders Broman
Hi, I just came across a problem where reassembly of IP fragments failed/messed up, see https://code.wireshark.org/review/#/c/13452/ The problem was fixed by changing line 2409 in packet-ip.c to iph->ip_p ^ iph->ip_id ^ src32 ^ dst32 ^ pinfo->vlan_id, e.g throw

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread Alexis La Goutte
On Wed, Jan 20, 2016 at 3:48 PM, David Morsberger wrote: > > > On Wed, Jan 20, 2016 at 8:43 AM, Stig Bjørlykke > wrote: > >> On Wed, Jan 20, 2016 at 1:47 PM, David Morsberger >> wrote: >> >> > I am getting actual errors within Xcode after ‘cmake -G Xcode’. This can >>> easily be resolved by not

Re: [Wireshark-dev] Reassembly of IP fragments gets confused by multiple packets on different VLANS

2016-01-20 Thread Michael Mann
See bug 4561 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4561) -Original Message- From: Anders Broman To: wireshark-dev Sent: Wed, Jan 20, 2016 10:13 am Subject: [Wireshark-dev] Reassembly of IP fragments gets confused by multiple packets on different VLANS Hi, I just

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread David Morsberger
> On Jan 20, 2016, at 10:14 AM, Alexis La Goutte > wrote: > > > >> On Wed, Jan 20, 2016 at 3:48 PM, David Morsberger >> wrote: >> >> >>> On Wed, Jan 20, 2016 at 8:43 AM, Stig Bjørlykke wrote: On Wed, Jan 20, 2016 at 1:47 PM, David Morsberger wrote: I am getting ac

Re: [Wireshark-dev] Reassembly of IP fragments gets confused by multiple packets on different VLANS

2016-01-20 Thread Anders Broman
Hi, Trying to summarize… captured on the "all" interface of a Linux machine acting as a router, or merged two captures from networks on different sides of a router. various sorts of tunneling (or "other sorts of tunneling", if you view VLANs as a form of tunneling) The right generalization mig

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread Stig Bjørlykke
On Wed, Jan 20, 2016 at 3:48 PM, David Morsberger wrote: > My current workaround is the following change to CMakeLists.txt : > > -if(NOT CMAKE_C_COMPILER_ID MATCHES "MSVC") > +if(NOT (CMAKE_C_COMPILER_ID MATCHES "MSVC" OR XCODE)) > set(WIRESHARK_LD_FLAGS > -Wl,--as-needed > >

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread David Morsberger
On Wed, Jan 20, 2016 at 12:02 PM, Stig Bjørlykke wrote: > On Wed, Jan 20, 2016 at 3:48 PM, David Morsberger > wrote: > > My current workaround is the following change to CMakeLists.txt : >> >> -if(NOT CMAKE_C_COMPILER_ID MATCHES "MSVC") >> +if(NOT (CMAKE_C_COMPILER_ID MATCHES "MSVC" OR XCODE)) >

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread Guy Harris
On Jan 20, 2016, at 4:47 AM, David Morsberger wrote: > I am getting actual errors within Xcode after ‘cmake -G Xcode’. This can > easily be resolved by not testing ‘—as-needed’ or ‘—pie’ when XCODE just like > what is done for MSVC. Testing --as-needed should fail with the OS X linker whether

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread David Morsberger
On Wed, Jan 20, 2016 at 1:26 PM, Guy Harris wrote: > On Jan 20, 2016, at 4:47 AM, David Morsberger wrote: > > > I am getting actual errors within Xcode after ‘cmake -G Xcode’. This can > easily be resolved by not testing ‘—as-needed’ or ‘—pie’ when XCODE just > like what is done for MSVC. > > Te

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread Guy Harris
On Jan 20, 2016, at 11:09 AM, David Morsberger wrote: > This is what I am also tracking down. It has to do with the way cmake is > instantiating the compiler. The --serialized-diagnostics option is what > appears to be hiding the error. --serialize-diagnostics takes an argument, which is the n

Re: [Wireshark-dev] Mac Build Error

2016-01-20 Thread David Morsberger
On Wed, Jan 20, 2016 at 3:22 PM, Guy Harris wrote: > On Jan 20, 2016, at 11:09 AM, David Morsberger > wrote: > > > This is what I am also tracking down. It has to do with the way cmake is > instantiating the compiler. The --serialized-diagnostics option is what > appears to be hiding the error.

[Wireshark-dev] CMake queastion - How to change Install Dirs, LIB and Executable names?

2016-01-20 Thread Alex Lindberg
This is a re-posting of an email that did not get sent out on the list: I am using CMaketo build a customized version of Wireshark that needs to be installed beside the default Wireshark libraries and run-time files. Todo this with previous version of Wireshark (<2) I created a SEDscript to do gl