[ntp:questions] Cross Compile Can't Find arc4random

Harlan Stenn stenn at ntp.org
Sat Feb 7 03:41:41 UTC 2015


Joe Walsh writes:
> Has the fix for 2666 (http://bugs.ntp.org/show_bug.cgi?id=2666) affected cros
> s-compile?
> 
> I tried to cross compile for ARMv7  today and got "ntp-4.2.8/libntp/ntp_crypt
> o_rnd.c:93: undefined reference to `arc4random_buf'"
> 
> It appears I'm not the only one: http://unix.stackexchange.com/questions/1790
> 70/ntp-compilation-failed-without-ssl.
> 
> Has the 2666 fix introduced new requirements for arguments to ./configure whe
> n cross compiling?
> 
> Thanks,
> 
> Joe Walsh

Link with sntp/libevent/libevent .

There is probably stuff in the configure framework already to handle
extra libraries for cross-compile targets, so it shuold be possible to
handle this one.

H


More information about the questions mailing list