file not recognized: File truncated编译错误总结
file not recognized: File truncated错误:
这种错误一般是编译数据被截断或则编译过程中发生异常退出系统导致数据丢失;
例如:
sample.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[5]: *** [libsample.so] Error 1
make[4]: *** [toolkit/library/target] Error 2
一般有两种会有两种解决方案:
#1. make clean, rebuild
Just remove the object file.
This error most likely appeared after the previous build was interrupted and object file was not generated completely.
————————————————
版权声明:本文为CSDN博主「Yannick_Tong」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/tonkeytong/article/details/52672782