Arm-linux Compiling Ntpdate method

Source: Internet
Author: User

Purpose: Compile the executable ntpdate tool under Arm-linux

Target not completed: Unable to generate NTPD Server tool because the entire source package is not fully compiled

The procedure is as follows:

(0) Compile client ntpdate only, do not compile server-side NTPD

(1)./configure--host=arm-none-linux-gnueabi--with-yielding-select=yes

(2) CD ntp-dev-4.3.23/sntp/libopts
Make//Generate Ntpdate dependent target file libopts.la

(3) Copy of missing header file directory
CP-RF Linux-devkit/arm-none-linux-gnueabi/usr/include/openssl Ntp-dev-4.3.23/include

(4) CD Ntp-dev-4.3.23/ntpdate
Vim Makefile
-LDADD_NTP =-lssl-lcrypto
+ LDADD_NTP =-lssl-lcrypto-l$ (top_builddir)/... /linux-devkit/arm-none-linux-gnueabi/usr/lib
Make//Generate Ntpdate target file

(5) The x86 direct makes and make install can be compiled, but arm compilation cannot pass, so you cannot perform these two steps directly.

Welcome you have solved the compilation server-side prawn reply Exchange, thank you!

Arm-linux Compiling Ntpdate method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.