On Tue, Nov 04, 2008, Justin A wrote:

> Hi All,
> 
> I am getting an error while building the DLL while using the fipslink.pl. 
> 
> 
> 
> ***************
> 
> Error:-
> 
> X:/test/fips_premain_dso.exe test_t.dll
> 
> 3800:error:25078067:DSO support routines:WIN32_LOAD:could not load the shared 
> li
> 
> brary:.\crypto\dso\dso_win32.c:172:filename(test_t.dll)
> 
> 3800:error:25070067:DSO support routines:DSO_load:could not load the shared 
> libr
> 
> ary:.\crypto\dso\dso_lib.c:244:
> 
> Get hash failure at X:/test/fipslink.pl line 47.
> 
> ***************
> 
> 
> 
> **************
> 
> FIPS_LINK=link
> 
> FIPS_CC=cl
> 
> PREMAIN_DSO_EXE="X:\fips/fips_premain_dso.exe"
> 
>  FIPS_TARGET=$TARGETLIB
> 
> FIPS_CC_ARGS="/Fofips_premain.obj  $SHLIB_CFLAGS -c"
> 
> FIPS_SHA1_EXE="X:\fips/fips_standalone_sha1.exe"
> 
> FIPSLIB_D="X:\lib"
> 
> 
> 
> This is how I am creating the fips_premain_obj
> 
> 
> 
> cl /Fofips_premain.obj -IX:/fips/include  /MD /Ox /O2 /Ob2 /W3 /Gs0 /GF /Gy 
> /nologo -DDEBUG_FINGERPRINT_PREMAIN -DDSO_WIN32
> 
> -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN 
> -D_CRT_SECURE_NO_DEPREC
> 
> ATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. 
> -DOPENSSL_NO_CAMELLIA
> 
> -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_TLSEXT 
> -DOPENS
> 
> SL_NO_CMS -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_KRB5 -DOPENSSL_FIPS 
> -DOPENSSL_NO_DYN
> 
> AMIC_ENGINE   -c X:/fips/fips_premain.c
> 
> 
> 
> **************
> 
> 

Well it isn't clear what you are trying to do. If you want to use the 1.2 DLLs
then you don't need to touch fipslink.pl at all you just link to them as you
would any other DLL.

You only need fipslink.pl when you want to create an application using the
static libraries. If you want to do that include the command line you passed
to fipslink.pl

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to