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