I am trying to compile chrony-git with nettle-3.5 built as static library.

As far as I can tell nettle has built OK and is installed where I expect it to 
be.

In config.log I am seeing:

docheck.c:
#include "config.h"
#include <nettle/nettle-meta.h>
#include <nettle/sha2.h>
int main(int argc, char **argv) {
return nettle_hashes[0]->context_size;
return 0; }
gcc -mmacosx-version-min=10.10 -Wmissing-prototypes -Wall 
-I/Users/bryan/Software-Swift5/chronyd/Crypt/opt/include -o docheck docheck.c 
-L/Users/bryan/Software-Swift5/chronyd/Crypt/opt/lib
Undefined symbols for architecture x86_64:
  "_nettle_get_hashes", referenced from:
      _main in docheck-5b59e0.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Any help appreciated.

Bryan Christianson
br...@whatroute.net




--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" 
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the 
subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to