Jeff,

Thanks for the suggestion but that isn't the case.  You'll note below that the 
unresolved external symbols are from fips_premain.obj, which was naturally 
compiled from fips_premain.c.  
> fips_premain.obj : error LNK2001: unresolved external symbol "unsigned

In looking at fips_premain.c, these symbols are defined at external so they 
must come from somewhere else:
extern const void         *FIPS_text_start(),  *FIPS_text_end();
extern const unsigned char FIPS_rodata_start[], FIPS_rodata_end[];
extern unsigned char       FIPS_signature[20];
extern unsigned int        FIPS_incore_fingerprint(unsigned char *,unsigned 
int);

I see that some of them are defined in fips.c.  I'm assuming that they should 
have been included in libeay32.lib when I compiled it with the fips module.  
Still checking. 

Thanks,
Lester


-----Original Message-----
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Jeffrey Walton
Sent: Wednesday, February 06, 2013 2:59 PM
To: openssl-users@openssl.org
Subject: Re: fipslink

On Wed, Feb 6, 2013 at 2:40 PM, Memmott, Lester <lester.memm...@landesk.com> 
wrote:
> Jon,
>
> I’m having trouble with fipslink as well and thought it might help to compare 
> notes.  These are the linker errors I’m getting using Visual Studio 2008:
> fips_premain.obj : error LNK2001: unresolved external symbol "unsigned 
> char * FIPS_signature" (?FIPS_signature@@3PAEA) fips_premain.obj : 
> error LNK2001: unresolved external symbol "void const * __cdecl 
> FIPS_text_start(void)" (?FIPS_text_start@@YAPBXXZ) fips_premain.obj : 
> error LNK2001: unresolved external symbol "unsigned int __cdecl 
> FIPS_incore_fingerprint(unsigned char *,unsigned int)" 
> (?FIPS_incore_fingerprint@@YAIPAEI@Z)
>
> What linker errors do you get?
It looks like you are not compiling fips_premain.c (that's where those symbols 
are allocated storage).

Jeff
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
:��I"Ϯ��r�m����
(����Z+�K�+����1���x��h����[�z�(����Z+���f�y�������f���h��)z{,���

Reply via email to