I have now worked out what to do.  I did a clean with:

?  nmake clean

and then successfully build the library with the no-shared config option.

Andrew

From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of 
Andrew Hartley
Sent: 25 May 2016 11:21
To: openssl-users@openssl.org
Subject: [openssl-users] openssl-1.1.0 - static linkage

I have previously used openssl-1.0.2 and was using it with static linkage into 
my program on Windows.  I built it statically using the nt.mak file.  I have 
now downloaded the source for openssl-1.1.0 and wish to build it statically.  
If I use the defaults, all builds fine with nmake and then installs into my 
path as setup with the prefix configure option.  If I then configure with 
no-shared to generate a static library, I gets loads of "error LNK2019 : 
unresolved external symbol" errors.

Would someone please advise me on how to successfully build openssl-1.1.0 
statically.

Many thanks

Andrew


______________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

______________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to