AnsweredAssumed Answered

uClinux编译ntp报错

Question asked by beforewind on Nov 5, 2012
Latest reply on Nov 9, 2012 by Aaronwu

下载ntp-4.2.6p3.tar.gzbuildroot/dl目录

buildroot目录下:Make menucofig

选择ntp和ntpd

 

执行make,报错如下:

>>> ntp 4.2.6p3 Installing to target

install -m 755 /home/ubuntu10/workspace/plm606/plm60x_sources/buildroot/output/build/ntp-4.2.6p3/ntpd/ntpd /home/ubuntu10/workspace/plm606/plm60x_sources/buildroot/output/target/usr/sbin/ntpd

test -z "" || install -m 755  /home/ubuntu10/workspace/plm606/plm60x_sources/buildroot/output/target/usr/bin/

install -m 755 package/ntp/S49ntp /home/ubuntu10/workspace/plm606/plm60x_sources/buildroot/output/target/etc/init.d/S49ntp

install: accessing `/home/ubuntu10/workspace/plm606/plm60x_sources/buildroot/output/target/etc/init.d/S49ntp': Not a directory

make: *** [/home/ubuntu10/workspace/plm606/plm60x_sources/buildroot/output/build/ntp-4.2.6p3/.stamp_target_installed] Error 1

ubuntu10@ubuntu:~/workspace/plm606/plm60x_sources/buildroot$ cd /home/ubuntu10/workspace/plm606/plm60x_sources/buildroot/output/target/etc/

ubuntu10@ubuntu:~/workspace/plm606/plm60x_sources/buildroot/output/target/etc$ ls

 

分析发现buildroot/output/target/etc/init.d是一个文件而不是目录

Outcomes