On 2015-02-04, Wei, Catherine <[email protected]> wrote: > Hi, > I met a problem when I was building ntp-4-2.8 on Linux. The log is > on below. I really appreciate if you could you give me some advice? It > was used OK with ntp-4.2.6 before I upgraded. > > CCLD ntp-keygen > ../libntp/libntp.a(ntp_crypto_rnd.o): In function `ntp_crypto_random_buf': > /home/catherine/work/KREATV-27230/platform/3pp/ntp/bcm45/ntp-4.2.8/libntp/ntp_crypto_rnd.c:93: > undefined reference to `arc4random_buf' > collect2: ld returned 1 exit status > make[6]: *** [ntp-keygen] Error 1 > make[5]: *** [all] Error 2 > make[4]: *** [all-recursive] Error 1 > make[3]: *** [all] Error 2 > make[2]: *** [bcm45/ntp-4.2.8/.done] Error 2 > make[1]: *** [.target_bcm45_] Error 2
You do not seem to have arc4. Perhaps somehow you are compiling witht he HAVE_ARC4RANDOM flag set when you do not have it? Look in the make files whether that flag is being defined somewhere. _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
