tor (dev) build failure on NetBSD built against bleeding edge OpenSSL
I'm tracking and building the development git branch of tor against the development git branch of OpenSSL on NetBSD 6_Stable...
When building tor I receive the following compile and build errors - assume this is related to OpenSSL 1.1.dev, but not sure...also understand this will be low priority if so...
CC src/common/crypto.o
src/common/crypto.c: In function 'crypto_global_init':
src/common/crypto.c:374:7: warning: implicit declaration of function 'ENGINE_get_default_ECDH'
src/common/crypto.c:374:7: warning: passing argument 2 of 'log_engine' makes pointer from integer without a cast
src/common/crypto.c:171:1: note: expected 'struct ENGINE *' but argument is of type 'int'
src/common/crypto.c:375:7: warning: implicit declaration of function 'ENGINE_get_default_ECDSA'
src/common/crypto.c:375:7: warning: passing argument 2 of 'log_engine' makes pointer from integer without a cast
src/common/crypto.c:171:1: note: expected 'struct ENGINE *' but argument is of type 'int'
[...]
CC src/common/src_common_libor_crypto_testing_a-crypto.o
src/common/crypto.c: In function 'crypto_global_init':
src/common/crypto.c:374:7: warning: implicit declaration of function 'ENGINE_get_default_ECDH'
src/common/crypto.c:374:7: warning: passing argument 2 of 'log_engine' makes pointer from integer without a cast
src/common/crypto.c:171:1: note: expected 'struct ENGINE *' but argument is of type 'int'
src/common/crypto.c:375:7: warning: implicit declaration of function 'ENGINE_get_default_ECDSA'
src/common/crypto.c:375:7: warning: passing argument 2 of 'log_engine' makes pointer from integer without a cast
src/common/crypto.c:171:1: note: expected 'struct ENGINE *' but argument is of type 'int'
[...]
CCLD src/or/tor
src/common/libor-crypto.a(crypto.o): In function crypto_global_init': /usr/local/src/tor/src/common/crypto.c:374: undefined reference to
ENGINE_get_default_ECDH'
/usr/local/src/tor/src/common/crypto.c:375: undefined reference to `ENGINE_get_default_ECDSA'
Makefile:2662: recipe for target 'src/or/tor' failed
gmake[1]: *** [src/or/tor] Error 1
gmake[1]: Leaving directory '/usr/local/src/tor'
Makefile:1868: recipe for target 'all' failed
gmake: *** [all] Error 2
Trac:
Username: yancm