Date: Tue, 13 Dec 2016 13:24:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215277] security/nacl - cannot compile sample program Message-ID: <bug-215277-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215277 Bug ID: 215277 Summary: security/nacl - cannot compile sample program Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: johans@FreeBSD.org Reporter: gahr@FreeBSD.org Assignee: johans@FreeBSD.org Flags: maintainer-feedback?(johans@FreeBSD.org) $ uname -a FreeBSD dev.ptrcrt.ch 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 06:55:27 UTC 2016=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERI C amd64 $ pkg query %v nacl 20110221_1 $ cat hash-sample.cpp #include <crypto_hash.h> int main() { std::string hash =3D crypto_hash("Hello, world"); } $ c++ -o hash-sample hash-sample.cpp -I/usr/local/include -L/usr/local/lib -lnacl /tmp/hash-sample-464bef.o: In function `main': hash-sample.cpp:(.text+0x6a): undefined reference to `crypto_hash_sha512_ref(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>=20 > const&)' c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215277-13>