OpenSSL not linking during compilation
When I try and compile OpenSSL via Visual Studio 2005 (using the cl compiler) during the build process it eventually echo's the error Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. Building OpenSSL link /nologo /subsystem:console /opt:ref /dll /out:out32dll\libeay32.dll /def :ms/LIBEAY32.def @C:\DOCUME~1\ggrant\LOCALS~1\Temp\nm5A.tmp Creating library out32dll\libeay32.lib and object out32dll\libeay32.exp cryptlib.obj : error LNK2019: unresolved external symbol _OPENSSL_ia32_cpuid referenc ed in function _OPENSSL_cpuid_setup out32dll\libeay32.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.E XE' : return code '0x460' Stop. Does anyone know why this is? I've been spending a lot of time on trying to solve this so any help will be greatly appreciated, cheers. -- View this message in context: http://www.nabble.com/OpenSSL-not-linking-during-compilation-tp16396924p16396924.html Sent from the OpenSSL - User mailing list archive at Nabble.com. __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: OpenSSL not linking during compilation
Sorted this problem out eventually. Recompiled a fresh copy of the code and it seems to work. The problem may have been caused by the build previously failing (due to incomplete directory paths set in the environment) and causing bad references. If you're having similar problems make sure all the paths are set properly and compile from a fresh build. GGrant wrote: When I try and compile OpenSSL via Visual Studio 2005 (using the cl compiler) during the build process it eventually echo's the error Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. Building OpenSSL link /nologo /subsystem:console /opt:ref /dll /out:out32dll\libeay32.dll /def :ms/LIBEAY32.def @C:\DOCUME~1\ggrant\LOCALS~1\Temp\nm5A.tmp Creating library out32dll\libeay32.lib and object out32dll\libeay32.exp cryptlib.obj : error LNK2019: unresolved external symbol _OPENSSL_ia32_cpuid referenc ed in function _OPENSSL_cpuid_setup out32dll\libeay32.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.E XE' : return code '0x460' Stop. Does anyone know why this is? I've been spending a lot of time on trying to solve this so any help will be greatly appreciated, cheers. -- View this message in context: http://www.nabble.com/OpenSSL-not-linking-during-compilation-tp16396924p16417396.html Sent from the OpenSSL - User mailing list archive at Nabble.com. __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]