Thanks for the reply. Yes, I ran "./config fips". In fact I just tried again,
the errors are consistent.
To be more specific, the errors occurred at this point during make:
...
ar d ../libcrypto.a $exdel
ar r ../libcrypto.a fipscanister.o
true ../libcrypto.a || echo Never mind.
gcc -I. -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 -DMD5_ASM -DRMD160_ASM
-DHMAC_EXT=\"${HMAC_EXT:-sha1}\" -DFINGERPRINT_PREMAIN_DSO_LOAD -o
fips_premain_dso.exe fips_premain.c \
../libcrypto.a -lwsock32 -lgdi32
../libcrypto.a(fipscanister.o)(.text+0xc25a):bss_file.c: undefined reference to
`bn_add_words'
../libcrypto.a(fipscanister.o)(.text+0xc613):bn_add.c: undefined reference to
`bn_add_words'
../libcrypto.a(fipscanister.o)(.text+0xc77c):bn_add.c: undefined reference to
`bn_add_words'
...
(more errors of similar nature)
...
../libcrypto.a(fipscanister.o)(.text+0x16879):bn_word.c: undefined reference
to `bn_mul_words'
collect2: ld returned 1 exit status
make[2]: *** [fips_premain_dso.exe] Error 1
make[2]: Leaving directory `/home/openssl/openssl-fips-1.1.1/fips-1.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/openssl/openssl-fips-1.1.1/fips-1.0'
make: *** [sub_all] Error 1
Any idea what went wrong?
Regards,
Hwee Li
David Hartman <[EMAIL PROTECTED]> wrote:
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}
Is it possible you ran config instead of config fips? I can
reproduce similar errors (different symbols) if I run config instead of
config fips in my build environment.
-David
---------------------------------
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hweeli
Sent: Tuesday, May 29, 2007 11:29 PM
To: [email protected]
Subject: Error building FIPS object module in Windows using MinGW and Msys
Hi,
I tried to build the FIPS Object Module in Windows (using MinGW and Msys)
but when I tried to "make", I got the following errors:
(more errors of similar nature...)
../libcrypto.a(fipscanister.o):bn_sqr.c:(.text+0x16423): undefined
reference to `bn_add_words'
../libcrypto.a(fipscanister.o):bn_sqr.c:(.text+0x1643a): undefined reference to
`bn_sqr_words'
../libcrypto.a(fipscanister.o):bn_sqr.c:(.text+0x16468): undefined reference to
`bn_sqr_comba4'
../libcrypto.a(fipscanister.o):bn_sqr.c:(.text+0x1649b): undefined reference to
`bn_sqr_comba8'
../libcrypto.a(fipscanister.o):bn_shift.c:(.text+0x15e52): undefined reference
to `bn_add_words'
../libcrypto.a(fipscanister.o):bn_shift.c:(.text+0x15f82): undefined reference
to `bn_add_words'
../libcrypto.a(fipscanister.o):bn_shift.c:(.text+0x15f98): undefined reference
to `bn_sqr_comba4'
../libcrypto.a(fipscanister.o):bn_shift.c:(.text+0x160bc): undefined reference
to `bn_sqr_comba8'
../libcrypto.a(fipscanister.o):bn_word.c:(.text+0x16598): undefined reference
to `bn_div_words'
../libcrypto.a(fipscanister.o):bn_word.c:(.text+0x16879): undefined reference
to `bn_mul_words'
collect2: ld returned 1 exit status
make[2]: *** [fips_premain_dso.exe] Error 1
make[2]: Leaving directory `/c/openssl-fips-1.1.1/fips-1.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/openssl-fips-1.1.1/fips-1.0'
make: *** [sub_all] Error 1
I tried out the above on two different PCs, but got the same errors. Can
someone please advice?
Thanks.
Regards,
Hwee Li
---------------------------------
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.