Clock skew detected. Your build may be incomplete.


root@ControlBox:/usr/xx/SOEM-master/build# make
make[2]: Warning: File '/usr/xx/SOEM-master/oshw/linux/nicdrv.h' has modification time 172794 s in the future
[  4%] Building C object CMakeFiles/soem.dir/soem/ethercatbase.c.o
[  8%] Building C object CMakeFiles/soem.dir/soem/ethercatcoe.c.o
[ 13%] Building C object CMakeFiles/soem.dir/soem/ethercatconfig.c.o
[ 17%] Building C object CMakeFiles/soem.dir/soem/ethercatdc.c.o
[ 21%] Building C object CMakeFiles/soem.dir/soem/ethercateoe.c.o
[ 26%] Building C object CMakeFiles/soem.dir/soem/ethercatfoe.c.o
[ 30%] Building C object CMakeFiles/soem.dir/soem/ethercatmain.c.o
[ 34%] Building C object CMakeFiles/soem.dir/soem/ethercatprint.c.o
[ 39%] Building C object CMakeFiles/soem.dir/soem/ethercatsoe.c.o
[ 43%] Building C object CMakeFiles/soem.dir/oshw/linux/nicdrv.c.o
[ 47%] Building C object CMakeFiles/soem.dir/oshw/linux/oshw.c.o
[ 52%] Linking C static library libsoem.a
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[ 56%] Built target soem
make[2]: Warning: File '/usr/xx/SOEM-master/oshw/linux/nicdrv.h' has modification time 172789 s in the future
[ 60%] Building C object test/simple_ng/CMakeFiles/simple_ng.dir/simple_ng.c.o
[ 65%] Linking C executable simple_ng
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[ 65%] Built target simple_ng
make[2]: Warning: File '/usr/xx/SOEM-master/oshw/linux/nicdrv.h' has modification time 172789 s in the future
[ 69%] Building C object test/linux/slaveinfo/CMakeFiles/slaveinfo.dir/slaveinfo.c.o
[ 73%] Linking C executable slaveinfo
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[ 73%] Built target slaveinfo
make[2]: Warning: File '/usr/xx/SOEM-master/oshw/linux/nicdrv.h' has modification time 172788 s in the future
[ 78%] Building C object test/linux/eepromtool/CMakeFiles/eepromtool.dir/eepromtool.c.o
[ 82%] Linking C executable eepromtool
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[ 82%] Built target eepromtool
make[2]: Warning: File '/usr/xx/SOEM-master/oshw/linux/nicdrv.h' has modification time 172787 s in the future
[ 86%] Building C object test/linux/simple_test/CMakeFiles/simple_test.dir/simple_test.c.o
[ 91%] Linking C executable simple_test
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[ 91%] Built target simple_test
make[2]: Warning: File '/usr/xx/SOEM-master/oshw/linux/nicdrv.h' has modification time 172787 s in the future
[ 95%] Building C object test/linux/motor/CMakeFiles/motor.dir/motor.c.o
[100%] Linking C executable motor
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target motor

解决方法:

cd ..
find ./ -type f |xargs touch

你可能感兴趣的:(linux,c++)