I'm trying to build a FIPS capable OpenSSL 1.0.1e on a 32-bit Windows XP box using MinGW + Msys. The FIPS module is version 2.0.5 and it builds and installs successfully using ./config; make; make install.

I configured OpenSSL 1.0.1e with:

  ./Configure mingw shared fips

And ran:

  make depend; make

I then get this error:

make[4]: Entering directory `/c/dev/openssl-1.0.1e'
Creating library file: libcrypto.dll.a
libcrypto.a(uplink.o):uplink.c:(.text+0x30): multiple definition of `OPENSSL_Uplink' c:/OpenSSL/lib/fipscanister.o:uplink.c:(.text+0x3ac20): first defined here libcrypto.a(uplink-x86.o):uplink-x86.s:(.data+0x0): multiple definition of `OPENSSL_UplinkTable' c:/OpenSSL/lib/fipscanister.o:uplink-x86.s:(.data+0x140): first defined here c:/sbperl/c/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: c:/OpenSSL/lib/fipscanister.o: bad reloc address 0xa in section `.text.unlikely'
collect2: ld returned 1 exit status
make[4]: *** [link_a.cygwin] Error 1
make[4]: Leaving directory `/c/dev/openssl-1.0.1e'
make[3]: *** [do_cygwin-shared] Error 2
make[3]: Leaving directory `/c/dev/openssl-1.0.1e'
make[2]: *** [libcrypto.dll.a] Error 2
make[2]: Leaving directory `/c/dev/openssl-1.0.1e'
make[1]: *** [shared] Error 2
make[1]: Leaving directory `/c/dev/openssl-1.0.1e/crypto'
make: *** [build_crypto] Error 1

Can anyone provide some guidance?

--
Thomas J. Pinkl

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to