Wireshark-dev: Re: [Wireshark-dev] wireshark on 64 bit
From: Graham Bloice <[email protected]>
Date: Fri, 29 Jul 2011 09:42:19 +0100
On 29/07/2011 08:40, sagar Guledagudda wrote:
> hi,
> I am trying to compile the wireshark for target platform for 64 bit.
> When i do *nmake makefile.nmake *i get fallowing errror
>  
> 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 8\VC\BIN\x
> 86_amd64\link.EXE"' : return code '0x458'
>  
> i am using microsoft visual studio 2005.
> I have changed WIRESHARK_TARGET_PLATFORM to win64.
> and ran the batch file c:\Program Files\Microsoft Visual Studio
> 8\VC\vcvarsall.bat  before doing any operation on wireshark.
>  
> can any body help me to solve this issue ???
>  
> Is that problem with visual studio i am using ???
>
You'll need to remove any objects produced by a previous 32 bit compilation
before running the 64 bit build.  Try 'nmake -f makefile.nmake distclean'.

You'll need to do this every time you want to switch between 32 bit and 64 bit
builds in the same source tree.

-- 
Regards,

Graham Bloice