Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Microsoft Visual C Version 6support isa bitoutdated ...

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Fri, 12 Jan 2007 16:53:59 -0800
This should be fixed in r20397.

Douglas Pratley wrote:
> Looks like this is related to revision 20388 - changing decryption keys
> to use GByteArray rather than GString for SSID in
> epan\crypt\airpdcap_user.h. Not sure why it only affects Windows.
> Nothing to do with MSVC version (as stated already).
>  
> As I'm not using airpdcap I "fixed" this for my build by changing
> gtk\airpcap_gui_utils.c line 338 to
>  
>     s2 = g_strndup(curr_key->ssid->data, curr_key->ssid->len)
>  
> which should be safe, but possibly not what the patcher intended, so I'm
> not going to call it a real fix.
>  
> Cheers
>  
> Doug
>  
> 
>     ------------------------------------------------------------------------
>     *From:* wireshark-dev-bounces@xxxxxxxxxxxxx [mail 
>      
>      to:wireshark-dev-bounces@xxxxxxxxxxxxx]   *On Behalf Of *Anders
>     Broman (AL/EAB)
>     *Sent:* 11 January 2007 10:13
>     *To:* Developer support list for Wireshark
>     *Subject:* SV: [Wireshark-dev] Microsoft Visual C Version 6support
>     isa bitoutdated ...
> 
>     Hi,
>     The buildbot has the same problem so it's not related to MSVC...
>     BR
>     Anders
> 
>     ------------------------------------------------------------------------
>     *Fr�n:* wireshark-dev-bounces@xxxxxxxxxxxxx genom Alfred Alinazar
>     *Skickat:* to 2007-01-11 09:43
>     *Till:* Developer support list for Wireshark
>     *�mne:* Re: [Wireshark-dev] Microsoft Visual C Version 6support isa
>     bitoutdated ...
> 
>     Ulf Lamping wrote:
>     > Should be fixed now, I simply messed up the line copying the file "if
>     > exist copy zlib1.dll.manifest ..." :-(
>     >
>     > I've done some more, all MSVC variants shouldn't give a NSIS warnings
>     > now :-)
>     >
>     > Regards, ULFL
>     Ulf,
>     I managed to build my wireshark yesterday.
>     But it failed again today after I update the source with the latest SVN.
> 
>     Here is the error:
>     ---------------------------------------------------
>     Microsoft (R) Program Maintenance Utility   Version 7.00.8882
>     Copyright (C) Microsoft Corp 1988-2000. All rights reserved.
> 
>             cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H /I..
>     /I../wiretap /IC:\
>     wireshark-win32-libs\glib\include\glib-2.0 
>     /IC:\wireshark-win32-libs\glib\lib\g
>     lib-2.0\include /IC:\wireshark-win32-libs\gtk+\include
>     /IC:\wireshark-win32-libs
>     \gtk+\include\gdk  /IC:\wireshark-win32-libs\gtk+\lib\gtk+\include
>     /IC:\wireshar
>     k-win32-libs\gnutls-1.6.1-1\include /DNOCRYPT 
>     /IC:\wireshark-win32-libs\WPdpack
>     \WPCAP\LIBPCAP /IC:\wireshark-win32-libs\WPdpack\WPCAP\LIBPCAP\bpf 
>     /IC:\wiresha
>     rk-win32-libs\WPdpack\WPCAP\LIBPCAP\lbl 
>     /IC:\wireshark-win32-libs\WPdpack\inclu
>     de /IC:\wireshark-win32-libs\net-snmp-5.4\include
>     /IC:\wireshark-win32-libs\net-
>     snmp-5.4\win32  /Zm800 -D_U_="" -D_NEED_VAR_IMPORT_ /Zi /W3 /MD
>     /D_CRT_SECURE_NO
>     _DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE 
>     /IC:\wireshark-win32-libs\portaudio_v19\
>     include /IC:\wireshark-win32-libs\portaudio_v19\src\common    -Fd.\ -c
>     airpcap_g
>     ui_utils.c
>     Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42
>     for 80x86
>     Copyright (C) Microsoft Corporation.  All rights reserved.
> 
>     airpcap_gui_utils.c
>     airpcap_gui_utils.c(338) : error C2039: 'str' : is not a member of
>     '_GByteArray'
> 
>             C:\wireshark-win32-libs\glib\include\glib-2.0\glib/garray.h(45)
>     : see de
>     claration of '_GByteArray'
>     airpcap_gui_utils.c(338) : error C2198: 'g_strdup' : too few arguments
>     for call
>     airpcap_gui_utils.c(837) : warning C4133: '=' : incompatible types -
>     from 'GStri
>     ng *' to 'GByteArray *'
>     NMAKE : fatal error U1077: 'cl' : return code '0x2'
>     Stop.
>     NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK for
>     Windows
>      Server 2003 R2\Bin\nmake.exe"' : return code '0x2'
>     Stop.
>     ---------------------------------------------
> 
> 
>     regards,
> 
>     -Alfred-
>     _______________________________________________
>     Wireshark-dev mailing list
>     Wireshark-dev@xxxxxxxxxxxxx
>     http://www.wireshark.org/mailman/listinfo/wireshark-dev
> 
> 
> 
> 
> This message should be regarded as confidential. If you have received
> this email in error please notify the sender and destroy it immediately.
> Statements of intent shall only become binding when confirmed in hard
> copy by an authorised signatory. The contents of this email may relate
> to dealings with other companies within the Detica Group plc group of
> companies.
> 
> Detica Limited is registered in England under No: 1337451.
> 
> Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP,
> England.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev