Table of Contents
Download newest version from NTP website: http://www.ntp.org/downloads.html
1 2 3 4 5 |
$ ./configure --with-hardenfile=default $ make $ make install |
You must indicate ‘–with-hardenfile=default‘ argument when your compile don’t support libssp or else you will get errors seem as:
1 2 3 4 5 6 7 8 |
make[4]: Entering directory `/mnt/opensource/ntp-4.2.8p11/sntp' CCLD sntp /usr/lib64/gcc/powerpc64-fsl-linux/4.9.2/../../../../powerpc64-fsl-linux/bin/ld: cannot find -lssp_nonshared /usr/lib64/gcc/powerpc64-fsl-linux/4.9.2/../../../../powerpc64-fsl-linux/bin/ld: cannot find -lssp collect2: error: ld returned 1 exit status make[4]: *** [sntp] Error 1 |
refs: