Hi,
Building recent openssl (0.9.8n, 0.9.8o) from source in the MSYS shell with the MinGW port of 6cc-3.4.5.

When trying to build a shared library (dll), I do './config --shared && make'. Everything is fine until, during the 'make' stage, we switch to the 'engines' directory:

make[1]: Entering directory `/c/_32/comp/openssl-0.9.8o/engines'

[snip - e_4758cca.o, e_aep.o, e_atalla.o, e_cswift.o, e_gmp.o, e_chil.o, e_nuron.o, e_sureware.o, e_ubsec.o and e_capi.o were successfully compiled at this stage]

make[2]: Entering directory `/c/_32/comp/openssl-0.9.8o/engines'
e_4758cca.o:e_4758cca.c:(.text+0x40): undefined reference to `ERR_unload_strings' e_4758cca.o:e_4758cca.c:(.text+0x53): undefined reference to `ERR_unload_strings'
e_4758cca.o:e_4758cca.c:(.text+0x75): undefined reference to `CRYPTO_free'
e_4758cca.o:e_4758cca.c:(.text+0xb5): undefined reference to `DSO_load'

[snip other similar errors]

e_4758cca.o:e_4758cca.c:(.text+0x1724): undefined reference to `ENGINE_set_cmd_defns' e_4758cca.o:e_4758cca.c:(.text+0x173e): undefined reference to `ERR_get_next_error_library' e_4758cca.o:e_4758cca.c:(.text+0x176a): undefined reference to `ERR_load_strings' e_4758cca.o:e_4758cca.c:(.text+0x177d): undefined reference to `ERR_load_strings'
e_4758cca.o:e_4758cca.c:(.text+0x14fd): undefined reference to `CRYPTO_free'
collect2: ld returned 1 exit status
make[2]: *** [link_o.cygwin] Error 1
make[2]: Leaving directory `/c/_32/comp/openssl-0.9.8o/engines'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/c/_32/comp/openssl-0.9.8o/engines'
make: *** [build_engines] Error 1

Any idea as to what's going wrong here ?

The actual command that's causing the failures seems to be missing from the output. And there's that odd reference to link_o.cygwin near the end - what on earth is that ?

(This is a native win32 build - not cygwin.)

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

Reply via email to