Hello gentlemen, I am trying to build openssl 1.0.1e on windows and am running into a few problems. I hope someone will be able to help/advise.
Following the instructions in INSTALL.W32 seems to work for 32 bit release mode but not for other combinations. Switching from Release to Debug does not result in the pdb files being installed via the command nmake -f ms\ntdll.mak install. I tried to build in 64 bit by running vcvarsall amd64 then following the build steps. The compilations were successful, with a few warnings about conversions, but I got a linktime error: rc /fo"tmp32dll\libeay32.res" /d CRYPTO ms\version32.rc link /nologo /subsystem:console /opt:ref /debug /dll /out:out32dll\libeay32.dll /def:ms/LIBEAY32.def @C:\Users\marlowa\AppData\Local\Temp\nmEFE4.tmp mp32dll\x86cpuid.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' MAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\amd64\link.EXE"' : return code '0x458' Stop. I am on windows 7 (64 bit) using the Visual Studio 2005 compiler. Googling, I see that others have hit this problem as well: http://comments.gmane.org/gmane.comp.encryption.openssl.devel/16256 http://stackoverflow.com/questions/2559358/fatal-error-lnk1112-module-machine-type-x86-conflicts-with-target-machine-typ http://stackoverflow.com/questions/14704592/fatal-error-lnk1112-module-machine-type-x86-conflicts-with-target-machine-typ It looks to me like the 64 bit build is using some components that came out of the 32 bit build, but I am not sure. Regards, Andrew Marlow ___________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited. Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional disclosures. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org