Re: [gpkcs11-dev] unresolved external symbol
Status: Beta
Brought to you by:
cypherfox
|
From: Martin B. <mar...@gm...> - 2003-10-28 16:24:45
|
Hi Christian, You need to link a special version of openssl-0.9.4/6, where these openssl function symbols have been prefixed with 'CI_Ceay_'. See the TOKEN SPECIFIC INFORMATION for ceay_token: in the toplevel README of gpkcs11. Actually I ended up linking the modified libeay32 statically to avoid hassle with other versions hanging out in system paths. Regards Martin Christian Gredig wrote: > Hi > > I would like to build the gpkcs11 on win2000 with vc6, but when I'm > trying to link the ceay_token project I get the following errors. It > seems that a library or something is missing. I already added the > gpkcs11.lib, libeay32.lib (openssl 0.9.6) and the gdbm.lib. > > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_DecryptFinal > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_DecryptUpdate > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_Decrypt > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_DecryptInit > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_EncryptFinal > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_EncryptUpdate > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_Encrypt > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_EncryptInit > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RAND_cleanup > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_SHA1_Init > > cryptdb.obj : error LNK2001: unresolved external symbol > _CI_Ceay_SHA1_Init > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_SHA1_Final > > cryptdb.obj : error LNK2001: unresolved external symbol > _CI_Ceay_SHA1_Final > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_SHA1_Update > > cryptdb.obj : error LNK2001: unresolved external symbol > _CI_Ceay_SHA1_Update > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RSA_free > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RSA_private_encrypt > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RSA_size > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RSA_public_decrypt > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RSA_generate_key > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_BN_bin2bn > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RAND_seed > > cryptdb.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RAND_seed > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RAND_bytes > > cryptdb.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RAND_bytes > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_RSA_new > > ceay_token.obj : error LNK2001: unresolved external symbol > _CI_Ceay_BN_bn2bin > > cryptdb.obj : error LNK2001: unresolved external symbol _CI_Ceay_SHA1 > > ctok_mem.obj : error LNK2001: unresolved external symbol > _CI_Ceay_SHA_Init > > final_check\ceay_tok.dll : fatal error LNK1120: 24 unresolved > externals > > Error executing link.exe. > > > Does anybody have an idea what is missing here? > Thank you for your appreciated help > > Chris Gredig > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > gpkcs11-dev mailing list > gpk...@li... > https://lists.sourceforge.net/lists/listinfo/gpkcs11-dev > |