[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #7972 [Tor]: configure fails to detect nacl
#7972: configure fails to detect nacl
--------------------+-------------------------------------------------------
Reporter: weasel | Owner:
Type: defect | Status: needs_revision
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version: Tor: 0.2.4.8-alpha
Keywords: | Parent:
Points: | Actualpoints:
--------------------+-------------------------------------------------------
Changes (by weasel):
* status: needs_review => needs_revision
Comment:
However, it doesn't link as -lnacl is missing:
[sid-i386-sbuild] weasel@dixie:~/tor-tree-i386/tor$ make
make all-am
make[1]: Entering directory `/home/weasel/tor-tree-i386/tor'
gcc -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector
-fwrapv -fPIE -Wall -fno-strict-aliasing -pie -z relro -z now -o
src/or/tor src/or/tor_main.o src/or/libtor.a src/common/libor.a src/common
/libor-crypto.a src/common/libor-event.a -lz -lm -levent -lssl -lcrypto
-lrt -ldl
src/common/libor-crypto.a(crypto_curve25519.o): In function
`curve25519_impl':
/home/weasel/tor-tree-i386/tor/src/common/crypto_curve25519.c:39:
undefined reference to `crypto_scalarmult_curve25519_athlon'
collect2: error: ld returned 1 exit status
make[1]: *** [src/or/tor] Error 1
make[1]: Leaving directory `/home/weasel/tor-tree-i386/tor'
make: *** [all] Error 2
[sid-i386-sbuild] weasel@dixie:~/tor-tree-i386/tor$ make LIBDONNA='-lnacl'
# abuse an otherwise unset var to cause it to add -lnachl
make all-am
make[1]: Entering directory `/home/weasel/tor-tree-i386/tor'
gcc -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector
-fwrapv -fPIE -Wall -fno-strict-aliasing -pie -z relro -z now -o
src/or/tor src/or/tor_main.o src/or/libtor.a src/common/libor.a src/common
/libor-crypto.a -lnacl src/common/libor-event.a -lz -lm -levent -lssl
-lcrypto -lrt -ldl
gcc -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector
-fwrapv -fPIE -Wall -fno-strict-aliasing -pie -z relro -z now -o
src/test/test src/test/src_test_test-test.o src/test/src_test_test-
test_addr.o src/test/src_test_test-test_cell_formats.o src/test
/src_test_test-test_containers.o src/test/src_test_test-test_crypto.o
src/test/src_test_test-test_data.o src/test/src_test_test-test_dir.o
src/test/src_test_test-test_introduce.o src/test/src_test_test-
test_microdesc.o src/test/src_test_test-test_pt.o src/test/src_test_test-
test_replay.o src/test/src_test_test-test_util.o src/test/src_test_test-
test_config.o src/ext/src_test_test-tinytest.o src/or/libtor.a
src/common/libor.a src/common/libor-crypto.a -lnacl src/common/libor-
event.a -lz -lm -levent -lssl -lcrypto -lrt -ldl
...
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7972#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs