【发布时间】:2016-08-25 16:23:13
【问题描述】:
我正在尝试为我的 Raspberry Pi 3 构建 Linux。
当我执行make 时,出现以下错误。
make[2]: /home/rohit/workplace/rp/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-gcc: Command not found
一点背景知识会有所帮助。我正在关注这个link。总结这就是我跑的。
make raspberrypi3_defconfig
make linux-menuconfig
make
从错误中我得到交叉 gcc 在路径上不可用,因为它应该是。但我不确定我错过了什么。
make 的完整日志粘贴在here。 output/host/usr/bin 文件夹也不包含 arm-buildroot-linux-uclibcgnueabihf-gcc,尽管它确实包含 arm-buildroot-linux-uclibcgnueabi-gcc。我已经粘贴了文件夹here的内容。
请帮忙。
【问题讨论】:
-
您提供的信息太少,没有任何用处。您至少应该为错误提供更多上下文:正在构建哪个包?最好也发布整个日志(在 pastebin 中),还要说明您使用的是哪个 buildroot 版本和哪个发行版。你能检查路径 arm-buildroot-uclibcgnueabihf-gcc 是否存在吗?对应的 .br_real 文件是否存在?你能在它们上运行'file'和'ldd'吗?请使用这些答案编辑您的问题。
标签: gcc raspberry-pi cross-compiling raspberry-pi3 buildroot