LNK2001: http://msdn.microsoft.com/en-us/library/f6xx1b1z%28VS.71%29.aspx

>> When i try to link Libeay32.lib in my application i see following link
>> errors where as these errors are not seen when build without FIPS.
It appears you are missing a library (non-fips has it, fips is
lacking). Compare your fips and non-fips makefiles (or targets in a
single makefile).

> is there anyone who can help on this ..
http://www.openssl.org/support/consulting.html
Also, Shining Light offers a nice service for Windows OpenSSL users
(by pre-building all the OpenSSL targets and making them available
with a setup program for free). See
http://www.slproweb.com/products/Win32OpenSSL.html. You might consider
engaging Hruska also.

You could also consider helping yourself. Google returns about 7 pages
of hits for a sampling of the distinct LNK2001s (curiosity killed the
cat, satisfaction brought him back).

Jeff

On Thu, Oct 14, 2010 at 11:40 PM, rajesh kumar <rajeshdavul...@gmail.com> wrote:
> Hi All,
> is there anyone who can help on this ..
> Thanks,
> Rajesh.
>
> On Thu, Oct 14, 2010 at 7:14 PM, rajesh kumar <rajeshdavul...@gmail.com>
> wrote:
>>
>> HI All,
>> Thanks Dr. Steve for helping me in building FIPS Capable OpenSSL - in my
>> previous Thread.
>> I have build FIPS Capable OpenSSL (OpenSSL - version 0.9.8o and FIPS
>> version 1.2)
>> When i try to link Libeay32.lib in my application i see following link
>> errors where as these errors are not seen when build without FIPS.
>> 1>libeayfips32.lib(dso_win32.obj) : error LNK2001: unresolved external
>> symbol _CRYPTO_free
>> 1>libeayfips32.lib(rsa_sign.obj) : error LNK2001: unresolved external
>> symbol _RSA_private_encrypt
>> 1>libeayfips32.lib(p_lib.obj) : error LNK2001: unresolved external symbol
>> _RSA_size
>> 1>ssleay32.lib(ssl_lib.obj) : error LNK2001: unresolved external symbol
>> _RSA_size
>> 1>libeayfips32.lib(rsa_sign.obj) : error LNK2001: unresolved external
>> symbol _RSA_size
>> 1>ssleay32.lib(ssl_algs.obj) : error LNK2001: unresolved external symbol
>> _EVP_des_ede3_cbc
>> 1>libeayfips32.lib(pem_info.obj) : error LNK2001: unresolved external
>> symbol _ERR_peek_last_error
>> 1>ssleay32.lib(ssl_rsa.obj) : error LNK2001: unresolved external symbol
>> _ERR_peek_last_error
>> 1>libeayfips32.lib(m_ecdsa.obj) : error LNK2001: unresolved external
>> symbol _SHA1_Final
>> 1>libeayfips32.lib(m_ecdsa.obj) : error LNK2001: unresolved external
>> symbol _SHA1_Update
>> 1>libeayfips32.lib(m_ecdsa.obj) : error LNK2001: unresolved external
>> symbol _SHA1_Init
>> 1>libeayfips32.lib(a_bool.obj) : error LNK2001: unresolved external symbol
>> _ERR_put_error
>> 1>libeayfips32.lib(eng_table.obj) : error LNK2001: unresolved external
>> symbol _CRYPTO_lock
>> 1>ssleay32.lib(ssl_lib.obj) : error LNK2001: unresolved external symbol
>> _CRYPTO_lock
>> 1>libeayfips32.lib(x_info.obj) : error LNK2001: unresolved external symbol
>> _CRYPTO_add_lock
>> 1>ssleay32.lib(s3_clnt.obj) : error LNK2001: unresolved external symbol
>> _CRYPTO_add_lock
>> 1>libeayfips32.lib(rsa_eng.obj) : error LNK2001: unresolved external
>> symbol _CRYPTO_add_lock
>> 1>libeayfips32.lib(evp_enc.obj) : error LNK2001: unresolved external
>> symbol _EVP_CIPHER_CTX_cleanup
>> 1>ssleay32.lib(ssl_lib.obj) : error LNK2019: unresolved external symbol
>> _EVP_CIPHER_CTX_cleanup referenced in function _ssl_clear_cipher_ctx
>> 1>libeayfips32.lib(evp_key.obj) : error LNK2001: unresolved external
>> symbol _OpenSSLDie
>> 1>ssleay32.lib(ssl_lib.obj) : error LNK2019: unresolved external symbol
>> _OpenSSLDie referenced in function _SSL_new
>> 1>libeayfips32.lib(t_pkey.obj) : error LNK2001: unresolved external symbol
>> _CRYPTO_malloc
>> 1>ssleay32.lib(tls_srp.obj) : error LNK2001: unresolved external symbol
>> _CRYPTO_malloc
>> 1>libeayfips32.lib(evp_enc.obj) : error LNK2001: unresolved external
>> symbol _RAND_bytes
>> 1>ssleay32.lib(ssl_lib.obj) : error LNK2019: unresolved external symbol
>> _RAND_bytes referenced in function _SSL_CTX_new
>> 1>libeayfips32.lib(pem_lib.obj) : error LNK2001: unresolved external
>> symbol _RAND_pseudo_bytes
>> 1>ssleay32.lib(ssl_lib.obj) : error LNK2019: unresolved external symbol
>> _RAND_pseudo_bytes referenced in function _SSL_CTX_new
>> 1>ssleay32.lib(ssl_lib.obj) : error LNK2019: unresolved external symbol
>> _ERR_peek_error referenced in function _SSL_get_error
>> 1>libeayfips32.lib(pem_lib.obj) : error LNK2001: unresolved external
>> symbol _ERR_peek_error
>> 1>libeayfips32.lib(ecp_smpl.obj) : error LNK2001: unresolved external
>> symbol _ERR_clear_error
>> 1>ssleay32.lib(ssl_rsa.obj) : error LNK2001: unresolved external symbol
>> _ERR_clear_error
>> 1>ssleay32.lib(ssl_algs.obj) : error LNK2019: unresolved external symbol
>> _EVP_dss1 referenced in function _SSL_library_init
>> 1>libeayfips32.lib(t_x509.obj) : error LNK2001: unresolved external symbol
>> _EVP_sha1
>> 1>ssleay32.lib(ssl_algs.obj) : error LNK2019: unresolved external symbol
>> _EVP_aes_256_cbc referenced in function _SSL_library_init
>> 1>libeayfips32.lib(dsa_lib.obj) : error LNK2019: unresolved external
>> symbol _BN_dup referenced in function _DSA_new_method
>> 1>ssleay32.lib(ssl_cert.obj) : error LNK2001: unresolved external symbol
>> _BN_dup
>> 1>libeayfips32.lib(conf_lib.obj) : error LNK2001: unresolved external
>> symbol _ERR_add_error_data
>> 1>ssleay32.lib(ssl_cert.obj) : error LNK2001: unresolved external symbol
>> _ERR_add_error_data
>> 1>libeayfips32.lib(ui_openssl.obj) : error LNK2001: unresolved external
>> symbol _OPENSSL_cleanse
>> 1>ssleay32.lib(t1_enc.obj) : error LNK2001: unresolved external symbol
>> _OPENSSL_cleanse
>> 1>libeayfips32.lib(conf_mod.obj) : error LNK2001: unresolved external
>> symbol _BUF_strdup
>> 1>ssleay32.lib(s3_clnt.obj) : error LNK2019: unresolved external symbol
>> _BUF_strdup referenced in function _ssl3_get_key_exchange
>> 1>libeayfips32.lib(ecp_mont.obj) : error LNK2001: unresolved external
>> symbol _BN_free
>> 1>ssleay32.lib(tls_srp.obj) : error LNK2001: unresolved external symbol
>> _BN_free
>> 1>libeayfips32.lib(ecs_ossl.obj) : error LNK2019: unresolved external
>> symbol _BN_bin2bn referenced in function _ecdsa_sign_setup
>> 1>ssleay32.lib(s3_clnt.obj) : error LNK2001: unresolved external symbol
>> _BN_bin2bn
>> 1>libeayfips32.lib(ecp_mont.obj) : error LNK2019: unresolved external
>> symbol _BN_clear_free referenced in function _ec_GFp_mont_group_clear_finish
>> 1>ssleay32.lib(tls_srp.obj) : error LNK2001: unresolved external symbol
>> _BN_clear_free
>> unresolved external symbol _AES_cbc_encrypt referenced in function
>> unresolved external symbol _AES_set_decrypt_key referenced in function
>> can some please let me know if am missing anything.
>> Thanks,
>> Rajesh.
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to