[fdo-internals] openssl link error build_thirdparty.bat -p=x64

Trevor Wekel trevor_wekel at otxsystems.com
Fri Dec 30 14:35:42 EST 2011


Hi list,

I grabbed fdo trunk and am getting an error running a 64 bit build_thirdparty.bat build (error below).  Can 32 bit and 64 bit builds be run from the same tree?  Here's what I ran from the command line:

[start shell]
%windir%\system32\cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"

[build fdo]
setenvironment.bat VC10
build_thirdparty.bat
build_thirdparty.bat -p=x64


  Building OpenSSL
        perl util/copy.pl ".\crypto\buildinf.h" "tmp32\buildinf.h"
  Copying: ./crypto/buildinf.h to tmp32/buildinf.h
        perl util/copy.pl ".\crypto\opensslconf.h" "inc32\openssl\opensslconf.h"
  Copying: ./crypto/opensslconf.h to inc32/openssl/opensslconf.h
        lib /nologo /out:lib\Release64\libeay32.lib @C:\Users\twekel\AppData\Local\Temp\nmD6F.tmp
tmp32\x86_64cpuid.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' [C:\fdo
\Thirdparty\openssl\openssl.vcxproj]
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\lib.EXE"' : return co
de '0x458' [C:\fdo\Thirdparty\openssl\openssl.vcxproj]
  Stop.


Regards,
Trevor



More information about the fdo-internals mailing list