Ok...this is what I did.... But it still breaks....so it looks like I
need to get the latest sources to do this (as Gerald suggested).
Thanks,
Brian
*PREPARE COMMAND PROMPT:*
C:\Program Files\Microsoft Visual Studio 9.0\VC\bin>*vcvarsx86_amd64.bat*
*Setting environment for using Microsoft Visual Studio 2008 Beta2 x64
cross tools*
.
*DO A SET LIB TO SEE WHAT I AM USING:*
C:\wireshark-1.1.2-SVN-26844_64bit>*set lib*
LIB=C:\Program Files\Microsoft Visual Studio
9.0\VC\ATLMFC\*LIB\amd64*;C:\Program
Files\Microsoft Visual Studio 9.0\VC\LIB\amd64;C:\Program
Files\Microsoft SDKs\W
indows\v7.0\lib\x64;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 SD
Ks\Windows\v7.0\lib;
LIBPATH=Framework3264\;Framework3264\v2.0.50727;Framework32\;Framework32\v2.0.50
727;C:\Program Files\Microsoft Visual Studio
9.0\VC\ATLMFC\LIB\amd64;C:\Program
Files\Microsoft Visual Studio
9.0\VC\LIB\amd64;Framework32\;Framework32\v2.0.507
27;C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program
Files\M
icrosoft Visual Studio 9.0\VC\LIB;
*THEN I DO A MAKE ALL....and it breaks....*
C:\wireshark-1.1.2-SVN-26844_64bit>nmake -f Makefile.nmake all
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
cd tools
"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" /
-f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
cd lemon
"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" /
-f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
cd ..
cd ..
cd image
"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" /
-f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
cd ..
cd codecs
"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" /
-f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
'codecs.lib' is up-to-date
cd ..
cd wsutil
"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" /
-f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
link /INCREMENTAL:NO /NOLOGO -entry:_DllMainCRTStartup -dll
kernel32.li
b ws2_32.lib mswsock.lib advapi32.lib /DEBUG /MACHINE:X64
/DEF:libwsutil.def
/OUT:libwsutil.dll /IMPLIB:libwsutil.lib ..\image\libwsutil.res
file_util.obj
unicode-utils.obj encap_util.obj mpeg-audio.obj privileges.obj
str_uti
l.obj C:\wireshark-win64-libs\glib\lib\glib-2.0.lib
C:\wireshark-win64-libs\gli
b\lib\gmodule-2.0.lib C:\wireshark-win64-libs\glib\lib\gobject-2.0.lib
file_util.obj : fatal error *LNK1112: module machine type 'X86'
conflicts with ta
rget machine type 'x64'*
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\x86_amd64\link.EXE"' : return code '0x458'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
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