Build problems on Windows - openssl3.07

Samantray Bhuyan, Madhusudan (GE Digital) Madhusudan.SamantrayBhuyan at ge.com
Mon Feb 6 19:35:42 UTC 2023


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20230206/b3871940/attachment-0001.htm>


More information about the openssl-users mailing list