----- Original Message -----
From: "Scholl, Ben M." <[EMAIL PROTECTED]>
To: <openssl-users@openssl.org>
Sent: Tuesday, March 11, 2008 5:06 AM
Subject: OpenSSL FIPS 1.1.2 on Windows
Hello OpenSSL Team,
I am having difficulty building OpenSSL FIPS 1.1.2 on Windows. I am
following the directions in the latest User Guide <UserGuide-1.1.1.pdf -
http://www.openssl.org/docs/fips/UserGuide-1.1.1.pdf>, and I am running
into
errors with Section 4.3.1 Item 5. I also tried the same procedure with
OpenSSL FIPS 1.1.1 and have received the same results. My configuration
is
as follows:
- Freshly installed and updated Windows XP SP2.
- Installed MingW version 5.1.3
I think I've got the same. I've got gcc-3.4.5. (I think that's what the
5.1.3 installer provides.)
- Installed MSYS version 1.0.10
I have version 1.0.11. I don't think that will make a difference in this
case ... but one can never really be sure :-)
- Installed MSYSDTK version 1.0.1 (For Perl)
I haven't installed that - but I do have a perl-5.10.0 that's visible
courtesy of my msys etc/fstab file.
- Obtained openssl-fips-1.1.2.tar.gz from openssl.org
Same here
- Un-tarred openssl-fips.1.1.2.tar.gz per instructions (Section
4.3.1 Item 3)
The ./config fips command appears to succeed with the following note:
Configured for mingw.
Same. I ran simply './config'.
However I get a different error during make. For me, the make process runs
for quite a long time, but when it comes to build desmovs.exe, I get 18
undefined references as follows:
+ gcc -o
fips_desmovs.exe -I.. -I../include -DOPENSSL_SYSNAME_MINGW32 -DOPENSSL_THREADS
-DDSO_WIN32 -DOPENSSL_NO_KRB5 -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486
-mno-cygwin -Wall -D_WIN32_WINNT=0x333 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
fips_desmovs.o -LC:/_32/msys/1.0/local/lib -lwsock32 -lgdi32
fips_desmovs.o:fips_desmovs.c:(.text+0xda): undefined reference to
`EVP_des_ede3_cfb1'
fips_desmovs.o:fips_desmovs.c:(.text+0x1b7): undefined reference to
`EVP_des_ede3_cbc'
fips_desmovs.o:fips_desmovs.c:(.text+0x1d7): undefined reference to
`EVP_des_ede3_ofb'
fips_desmovs.o:fips_desmovs.c:(.text+0x1e1): undefined reference to
`EVP_des_ede3_cfb64'
fips_desmovs.o:fips_desmovs.c:(.text+0x205): undefined reference to
`EVP_CipherInit'
fips_desmovs.o:fips_desmovs.c:(.text+0x23d): undefined reference to
`EVP_des_ede3_cfb8'
fips_desmovs.o:fips_desmovs.c:(.text+0x244): undefined reference to
`EVP_des_ecb'
fips_desmovs.o:fips_desmovs.c:(.text+0x24b): undefined reference to
`EVP_des_cfb1'
fips_desmovs.o:fips_desmovs.c:(.text+0x252): undefined reference to
`EVP_des_ede3_ecb'
fips_desmovs.o:fips_desmovs.c:(.text+0x259): undefined reference to
`EVP_des_cfb8'
fips_desmovs.o:fips_desmovs.c:(.text+0x260): undefined reference to
`EVP_des_ofb'
fips_desmovs.o:fips_desmovs.c:(.text+0x267): undefined reference to
`EVP_des_cbc'
fips_desmovs.o:fips_desmovs.c:(.text+0x26e): undefined reference to
`EVP_des_cfb64'
fips_desmovs.o:fips_desmovs.c:(.text+0x292): undefined reference to
`ERR_print_errors_fp'
fips_desmovs.o:fips_desmovs.c:(.text+0xaea): undefined reference to
`DES_set_odd_parity'
fips_desmovs.o:fips_desmovs.c:(.text+0xaf5): undefined reference to
`DES_set_odd_parity'
fips_desmovs.o:fips_desmovs.c:(.text+0xb00): undefined reference to
`DES_set_odd_parity'
fips_desmovs.o:fips_desmovs.c:(.text+0x1bee): undefined reference to
`ERR_load_crypto_strings'
collect2: ld returned 1 exit status
It may be relevant that, in addition to my etc/fstab file pointing to the
location of perl and mingw, it also points to an existing openssl build.
Here's what that file contains:
c:/home/rob/mingw_vista/i686-pc-mingw32 /mingw
c:/perl510_M/5.10.0 /perl
c:/_32/msys/1.0/local/ssl /openssl
I don't know if the inclusion of 'openssl' in that file has any bearing on
the differences we're seeing.
Nor do I know why you're getting the error you get - unless it *is* related
to the absence of a locatable openssl installation.
And I don't know what's needed to resolve those undefined references that
I'm getting - though I would think that others on this list might know the
answer to that one.
Cheers,
Rob
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]