Wireshark-dev: Re: [Wireshark-dev] win 64 wireshark build

From: Brian Oleksa <oleksab@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Jul 2009 15:20:14 -0400
It was chugging along there.....then it crashed.

This is the error that I got:

*10018809 [main] perl 4024 child_copy: linked dll data write copy failed, 0x3F200*

*0..0x3F2370, done 0, windows pid 4024, Win32 error 487*

*15024091 [main] perl 4024 child_copy: linked dll data write copy failed, 0x3F200*

*0..0x3F2370, done 0, windows pid 4024, Win32 error 487*

*20028798 [main] perl 4024 child_copy: linked dll data write copy failed, 0x3F200*

*0..0x3F2370, done 0, windows pid 4024, Win32 error 487*

*25033882 [main] perl 4024 child_copy: linked dll data write copy failed, 0x3F200*

*0..0x3F2370, done 0, windows pid 4024, Win32 error 487*

*30038837 [main] perl 4024 child_copy: linked dll data write copy failed, 0x3F200*


I found this as a work around....but it did not work either....(this did work before on a older version of wireshark)..

  1. Make distclean.
  2. Run the perl programs in a Cygwin terminal:

*jmoore@CEC710 /cygdrive/c/wireshark*

*$ perl make-version.pl **              ***

*Version configuration file version.conf not found. ** **Using defaults.*

*This is a build from SVN (or a SVN snapshot).*

*SVN version tag will be computed.*

*svnversion.h has been updated.*

* *

*jmoore@CEC710 /cygdrive/c/wireshark*

*$ perl perlnoutf.pl make-authors-short.pl < AUTHORS > AUTHORS-SHORT*

* *

*jmoore@CEC710 /cygdrive/c/wireshark*

*$ perl perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT*

* *

*jmoore@CEC710 /cygdrive/c/wireshark*

*$*

  3. Make all.


any thoughts or suggestions....??


Anders Broman wrote:
Hi,
What happens if you run nmake -f Makefile.nmake setup ?
I take it you'll need the win64 libraries any way.
Regards
Anders

-----Ursprungligt meddelande-----
Fr�n: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] F�r Brian Oleksa
Skickat: den 23 juli 2009 20:05
Till: Developer support list for Wireshark
�mne: Re: [Wireshark-dev] win 64 wireshark build

This is interesting.

If I change the config.nmake file back to: WIRESHARK_TARGET_PLATFORM=win32

and do a verify tools....everything works great..(see output below).

Why is this...?? I need the platform to say win64 to build a 64 bit version of this ...correct...??

Thanks,
Brian

C:\wireshark_july_09_64bit>nmake -f Makefile.nmake verify_tools

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.


ERROR: The contents of C:\wireshark-win32-libs\current_tag.txt is 2008-11-15.
ERROR: It should be 2009-06-10-1.0.

Checking for required applications:
        cl: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/cl
link: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/link

nmake: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/nmake
        mt: /cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin/mt
        bash: /usr/bin/bash
        bison: /usr/bin/bison
        flex: /usr/bin/flex
        env: /usr/bin/env
        grep: /usr/bin/grep
        /usr/bin/find: /usr/bin/find
        perl: /usr/bin/perl
        C:\Python26\python.exe: /cygdrive/c/Python26/python.exe
        sed: /usr/bin/sed
        unzip: /usr/bin/unzip
        wget: /usr/bin/wget


Graham Bloice wrote:
Brian Oleksa wrote:
Ok..here is the "set lib" output

C:\Program Files\Microsoft Visual Studio 9.0\VC>set lib
LIB=C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files\ Microsoft Visual Studio 9.0\VC\LIB;C:\Program Files\Microsoft SDKs\Windows\v7.0\
lib;
LIBPATH=Framework32\;Framework32\v2.0.50727;C:\Program Files\Microsoft Visual St
udio 9.0\VC\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio
9.0\VC\LIB;
Thanks,
Brian

Which shows that you are are not set up correctly for linking with the x64 MS libs. Instead of calling vcvars32.bat to set your build environment you need to use the 64 bit version. In my installation of VS2005 Pro, I have ...\VC\bin\vcvars32.bat, but I also have ...\VC\bin\amd64\vcvarsamd64.bat and ..\VC\bin\x86_amd64\vcvarsx86_amd64.bat. I would try one of the amd64 versions, don't know they're they're different.

--
Regards,

Graham Bloice
------------------------------------------------------------------------


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev

mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe