[Bug 215277] security/nacl - cannot compile sample program
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 13 13:24:23 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215277
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 at FreeBSD.org
Reporter: gahr at FreeBSD.org
Assignee: johans at FreeBSD.org
Flags: maintainer-feedback?(johans at 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
root at 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 = 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>
> const&)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list