天天看点

linux 交叉编译Input/output error

/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/libexec/arm-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/7.3.0/real-ld:-1:

error: fatal error: xxxxx: Input/output error

此问题,有可能是代码在虚拟机与windows共享文件夹中;将其移至linux 用户目录下则解决此问题。

必须将项目文件移动到主目录下;/home/user或/root下。