This is a discussion on Re: OpenSSL FIPS 1.1.2 on Windows - Openssl ; > > ----- Original Message ----- > From: "Scholl, Ben M." > To: > Sent: Tuesday, March 11, 2008 5:06 AM > Subject: OpenSSL FIPS 1.1.2 on Windows > > > Hello OpenSSL Team, > > I am having difficulty ...
> ----- Original Message -----
> From: "Scholl, Ben M."
> 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
> http://www.openssl.org/docs/fips/UserGuide-1.1.1.pdf>, and I am running
> 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
> 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
> - 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
fips_desmovs.o:fips_desmovs.c.text+0x1b7): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x1d7): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x1e1): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x205): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x23d): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x244): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x24b): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x252): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x259): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x260): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x267): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x26e): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x292): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0xaea): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0xaf5): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0xb00): undefined reference to
fips_desmovs.o:fips_desmovs.c.text+0x1bee): undefined reference to
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:
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.
OpenSSL Project http://www.openssl.org
User Support Mailing List firstname.lastname@example.org
Automated List Manager email@example.com