【问题标题】:Getting arm-buildroot-linux-uclibcgnueabihf-gcc: Command not found获取 arm-buildroot-linux-uclibcgnueabihf-gcc:找不到命令
【发布时间】: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 的完整日志粘贴在hereoutput/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


【解决方案1】:

我遇到了这个问题,在make clean 之后问题就解决了。我认为错误是因为在不同的构建中使用了不同的工具链。 manual 表示这是您必须执行 make clean 的情况之一

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-27
    相关资源
    最近更新 更多