Hi,
I got the overall build to work - FIPS as well as the latest OpenSSL snapshot. It took a while and I had to alternate somewhat between MinGW and Cygwin.

Anyway, I was trying to build the example in the appendix (hmac) but it won't work. I used the very same makefile and source but here is what I get:

I am doing this from MSYS (MinGW window).

$ make
gcc -c hmac.c -I/usr/local/ssl/include
hmac.c:72:2: warning: no newline at end of file
gcc -o hmac hmac.o \
       /usr/local/ssl/lib/libcrypto.a
f:/msys/1.0/local/ssl/lib/libcrypto.a(fipscanister.o)(.text+0x28888):rand_win.c: undefined referenc e to [EMAIL PROTECTED]' f:/msys/1.0/local/ssl/lib/libcrypto.a(fipscanister.o)(.text+0x28895):rand_win.c: undefined referenc e to [EMAIL PROTECTED]' f:/msys/1.0/local/ssl/lib/libcrypto.a(fipscanister.o)(.text+0x288a6):rand_win.c: undefined referenc e to [EMAIL PROTECTED]' f:/msys/1.0/local/ssl/lib/libcrypto.a(fipscanister.o)(.text+0x288b6):rand_win.c: undefined referenc e to [EMAIL PROTECTED]'
--- SNIPPED ---
collect2: ld returned 1 exit status
make: *** [hmac] Error 1

It initially complained that ld.exe could not find user32.a, so I copied it from cygwin and pasted into MinGW's lib folder and that's when I started seeing the above errors.

What do I do to fix this? Please advise!

Thanks very much.
Best,
Sesh

_________________________________________________________________
Don’t miss your chance to WIN 10 hours of private jet travel from Microsoft® Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to