[chrony-dev] Problems building with nettle-3.5

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


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
bryan@xxxxxxxxxxxxx




--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/