Build problems on Windows - openssl3.07

Martin Burnicki martin.burnicki at meinberg.de
Tue Feb 7 08:35:39 UTC 2023


Hello Madhusudan,

Just an idea: Have you built the x86 version before in the same 
directory tree? Quite some time ago, with a very much older version of 
openSSL, I ran into a similar problem when I tried to build on Windows.

Since that time, I always build the x86 and x64 versions in different 
directories.

Martin


Samantray Bhuyan, Madhusudan (GE Digital) wrote:
> Hi Tom
> 
> Yes I have configured
> 
> ThirdPartySoftware\OpcUa\openssl-3.0.7>perl Configure VC-WIN64A
> 
> Configuring OpenSSL version 3.0.7 for target VC-WIN64A
> 
> Using os-specific seed configuration
> 
> Created configdata.pm
> 
> Running configdata.pm
> 
> Created makefile.in
> 
> Created makefile
> 
> Created include\openssl\configuration.h
> 
> And could see the generated makefile
> 
> #
> 
> ## Makefile for OpenSSL
> 
> ##
> 
> ## WARNING: do not edit!
> 
> ## Generated by configdata.pm from Configurations\common0.tmpl, 
> Configurations\windows-makefile.tmpl
> 
> ## via makefile.in
> 
> PLATFORM=VC-WIN64A
> 
> SRCDIR=.
> 
> BLDDIR=.
> 
> FIPSKEY=f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813
> 
> VERSION=3.0.7
> 
> VERSION_NUMBER=3.0.7
> 
> MAJOR=3
> 
> MINOR=0
> 
> *From:* Floodeen, Tom <thomas.floodeenjr at siemens.com>
> *Sent:* 07 February 2023 00:23
> *To:* Samantray Bhuyan, Madhusudan (GE Digital) 
> <Madhusudan.SamantrayBhuyan at ge.com>; openssl-users at openssl.org
> *Subject:* EXT: RE: Build problems on Windows - openssl3.07
> 
> *WARNING: *This email originated from outside of GE. Please validate the 
> sender's email address before clicking on links or attachments as they 
> may not be safe.
> 
> Did you configure it first?
> 
> perl Configure *VC-WIN64A*
> 
> (Add other options as desired.)
> 
> -Tom
> 
> *From:* openssl-users <openssl-users-bounces at openssl.org 
> <mailto:openssl-users-bounces at openssl.org>> *On Behalf Of *Samantray 
> Bhuyan, Madhusudan (GE Digital)
> *Sent:* Monday, February 6, 2023 11:38 AM
> *To:* openssl-users at openssl.org <mailto:openssl-users at openssl.org>
> *Subject:* Build problems on Windows - openssl3.07
> 
> I am building openssl 3.0.7 on windows using VS developer command prompt 
> for x64 bit.
> 
> Checks :
> 
> cl
> 
> Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30145 for *x64*
> 
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
> usage: cl [ option... ] filename... [ /link linkoption... ]
> 
> I have set the 64 bit environment
> 
> C:\Program Files (x86)\Microsoft Visual 
> Studio\2019\Professional\VC\Auxiliary\Build>vcvars64.bat
> 
> **********************************************************************
> 
> ** Visual Studio 2019 Developer Command Prompt v16.11.14
> 
> ** Copyright (c) 2021 Microsoft Corporation
> 
> **********************************************************************
> 
> [vcvarsall.bat] Environment initialized for: 'x64'
> 
> C:\Program Files (x86)\Microsoft Visual 
> Studio\2019\Professional\VC\Auxiliary\Build>
> 
> But still getting the error
> 
> lib" /nologo /out:apps\libapps.lib 
> @C:\Users\223036~1\AppData\Local\Temp\nm47B9.tmp
> 
> apps\lib\libapps-lib-*fmt.obj : fatal error LNK1112: module machine type 
> 'x86' conflicts with target machine type 'x64'*
> 
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual 
> Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\lib.EXE"' : return code '0x458'
> 
> Stop.
> 
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual 
> Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\nmake.exe"' : return code '0x2'
> 
> Regards
> 
> Madhusudan S
> 

-- 
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: martin.burnicki at meinberg.de
Phone: +49 5281 9309-414
Linkedin: https://www.linkedin.com/in/martinburnicki/

Lange Wand 9, 31812 Bad Pyrmont, Germany
Amtsgericht Hannover 17HRA 100322
Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg, 
Andre Hartmann, Heiko Gerstung
Websites: https://www.meinberg.de  https://www.meinbergglobal.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20230207/ac76f8b9/attachment.sig>


More information about the openssl-users mailing list