{"id":1738,"date":"2018-03-29T06:35:53","date_gmt":"2018-03-28T22:35:53","guid":{"rendered":"http:\/\/kaoru.tech:7000\/wordpress\/?p=1738"},"modified":"2018-03-29T06:47:59","modified_gmt":"2018-03-28T22:47:59","slug":"compile-ntp-on-none-x86-platform","status":"publish","type":"post","link":"http:\/\/kaoru.tech:7000\/wordpress\/?p=1738","title":{"rendered":"Compile ntp on none-x86 platform"},"content":{"rendered":"<p>Download newest version from NTP website: <a href=\"http:\/\/www.ntp.org\/downloads.html\">http:\/\/www.ntp.org\/downloads.html<\/a><\/p>\n<pre class=\"lang:default decode:true\">$ .\/configure --with-hardenfile=default\n$ make\n$ make install<\/pre>\n<p>You must indicate &#8216;<strong>&#8211;with-hardenfile=default<\/strong>&#8216; argument when your compile don&#8217;t support libssp or else you will get errors seem as:<\/p>\n<pre class=\"lang:default decode:true\">make[4]: Entering directory `\/mnt\/opensource\/ntp-4.2.8p11\/sntp'\nCCLD sntp\n\/usr\/lib64\/gcc\/powerpc64-fsl-linux\/4.9.2\/..\/..\/..\/..\/powerpc64-fsl-linux\/bin\/ld: cannot find -lssp_nonshared\n\/usr\/lib64\/gcc\/powerpc64-fsl-linux\/4.9.2\/..\/..\/..\/..\/powerpc64-fsl-linux\/bin\/ld: cannot find -lssp\ncollect2: error: ld returned 1 exit status\nmake[4]: *** [sntp] Error 1<\/pre>\n<p>refs:<\/p>\n<ul>\n<li><a href=\"https:\/\/gitlab.com\/atilla\/buildroot\/commit\/5766b6fb34a897092092f7d76d6b4f2bc8c48571\">https:\/\/gitlab.com\/atilla\/buildroot\/commit\/5766b6fb34a897092092f7d76d6b4f2bc8c48571<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Download newest version from NTP website: http:\/\/www.ntp.org\/downloads.html $ .\/configure &#8211;with-hardenfile=default $ make $ make install You must indicate &#8216;&#8211;with-hardenfile=default&#8216; argument when your compile don&#8217;t support libssp or else you will&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[16],"tags":[208,308],"class_list":["post-1738","post","type-post","status-publish","format-standard","hentry","category-crosscompile","tag-crosscompile","tag-ntp"],"_links":{"self":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1738"}],"version-history":[{"count":8,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1738\/revisions"}],"predecessor-version":[{"id":1746,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1738\/revisions\/1746"}],"wp:attachment":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1738"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}