问题描述
我正在从源代码构建Linux,如本文所示
diy-build-custom-minimal-linux-distribution-source
我建立了工具链
- linux-api-header
- binutils
- gcc
- glibc
下一步是构建BusyBox,
CROSS_COMPILE="i686-x-linux-gnu"
PATH="/bin:/usr/bin:/build/tools/bin"
make CROSS_COMPILE="${CROSS_COMPILE}-" defconfig
make CROSS_COMPILE="${CROSS_COMPILE}-"
导致此错误
i686-x-linux-gnu/9.2.0/include-fixed/limits.h:194:15: fatal error: limits.h: No such file or directory
limits.h是linux标头中包含的文件,位于/ usr / includes和/ build / usr / includes(其中/ build是构建了Linux映像的目录)
我如何指定BusyBox在/ build根目录而不是在PC的/中搜索标题?还是应该在工具链的gcc中?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)