首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Buildroot配置错误

使用Buildroot配置错误
EN

Stack Overflow用户
提问于 2017-12-22 14:33:17
回答 1查看 992关注 0票数 0

我正在为Raspberry Pi 3开发一个项目,我正在使用buildroot来构建linux内核、fs等。但是,有时(例如,当我更改buildroot的设置时),即使回滚回以前的配置(即使我选择了初始的raspberrypi3_defconfig配置),我也无法成功地完成构建过程。错误总是相似的:

主机-binutils 2.28.1配置(cd /home/andy/embedded_linux/buildroot/output/build/host-binutils-2.28.1/ & rm -rf config.cache;PATH="/home/andy/embedded_linux/buildroot/output/host/bin:/home/andy/embedded_linux/buildroot/output/host/sbin:/home/andy/bin:/home/andy/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin“PKG_CONFIG="/home/andy/embedded_linux/buildroot/output/host/bin/pkg-config“PKG_CONFIG_SYSROOT_DIR="/”PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 AR="/usr/bin/ar“AS="/usr/bin/as”LD="/usr/bin/ld“NM="/usr/bin/nm”CC="/usr/bin/ bin/gcc“-I/home/andy/embedded_linux/buildroot/output/host/include”“/usr/bin/bin/gcc”CXX="/usr/bin/g++“CPP="/usr/bin/cpp”OBJCOPY="/usr/bin/objcopy“RANLIB="/usr/bin/ranlib”-I/home/andy/embedded_linux/buildroot/output/host/include“CFLAGS="-O2 -O2 CXXFLAGS="-O2 -I/home/andy/embedded_linux/buildroot/output/host/include”LDFLAGS="-L/home/andy/embedded_linux/buildroot/output/host/lib -Wl/home/andy/embedded_linux/buildroot/output/host/lib“INTLTOOL_-rpath=/usr/bin/perl CFLAGS="-O2 -I/home/andy/embedded_linux/buildroot/output/host/include”LDFLAGS="-L/home/andy/embedded_linux/buildroot/output/host/lib -Wl,-rpath,/home/andy/embedded_linux/buildroot/output/host/lib“MAKEINFO=true CONFIG_SITE=/dev/null ./配置--prefix="/home/andy/embedded_linux/buildroot/output/host”--sysconfdir="/home/andy/embedded_linux/buildroot/output/host/etc“--localstatedir="/home/andy/embedded_linux/buildroot/output/host/var”-启用-共享-禁用-静态-禁用-gtk-doc-禁用-gtk---prefix=“/home/andy/embedded_linux/buildroot/output/host”--sysconfdir=“/home/andy/embedded_linux/buildroot/output/host/etc”--localstatedir=“/home/andy/embedded_linux/buildroot/output/host/var”-html--禁用-doc-禁用-docs-禁用-文档-禁用-调试-与-xmlto=无-具-与-fop=无-禁用-依赖-跟踪-禁用-多库--禁用-werror目标=-buildroot-linux-uclibcgnueabihf-禁用-共享-启用-静态--with-sysroot=/home/andy/embedded_linux/buildroot/output/host/-buildroot-linux-uclibcgnueabihf/sysroot -启用-系统目录-禁用-sim-禁用-gdb)配置:加载站点脚本/dev/null检查生成系统类型.x86_64-pc-linux-gnu检查主机系统类型.x86_64-pc-linux-gnu检查目标系统类型配置:错误: /bin/bash ./config.subbuildroot-linux-uclibcgnueabihf失败

此错误可能发生在配置其他实用程序时(例如,在配置FLEX2.6.4或dropbear等时),但错误的主要部分总是相同的:检查目标系统类型.配置:错误: /bin/bash ./config.sub-buildroot-linux-一些失败

找不到那个问题的解决办法,拜托,帮帮我。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-12-23 08:52:36

我不完全明白出了什么问题,但是正如您所描述的“例如,当我更改了buildroot的设置时”,我可以告诉您,buildroot在所有情况下都无法从普通的make中支持这一点。例如,您应该使用make clean并进行完全重建。

有关详细信息,请参阅https://buildroot.org/downloads/manual/manual.html#full-rebuild

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47943168

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档