Re: [chrony-dev] Problems building with nettle-3.5

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


On Tue, Mar 10, 2020 at 06:45:46PM +1300, Bryan Christianson wrote:
> 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

This command is missing -lnettle. That's probably because pkg-config
is missing or the nettle pc file was not found.

I should improve the configure script and documentation.

> 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)

-- 
Miroslav Lichvar


--
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/