Firefly开源社区

打印 上一主题 下一主题

[技术讨论] 编译rootfs错误,是什么原因?

157

积分

0

威望

0

贡献

技术小白

积分
157

编译rootfs错误,是什么原因?

发表于 2020-6-17 22:20:54      浏览:3688 | 回复:8        打印      只看该作者   [复制链接] 楼主
本帖最后由 snap 于 2020-6-17 22:22 编辑

下面的makefile文件错误,是什么引起的? “*** readline ”是什么?

buildroot/Makefile 文件里位置:
define CHECK_ONE_DEPENDENCY
ifeq ($$($(2)_TYPE),target)
ifeq ($$($(2)_IS_VIRTUAL),)
ifneq ($$($$($(2)_KCONFIG_VAR)),y)
$$(error $$($(2)_NAME) is in the dependency chain of $$($(1)_NAME) that \
has added it to its _DEPENDENCIES variable without selecting it or \
depending on it from Config.in)
endif
endif
endif
endef


编译提示错误:
#
# configuration written to /home/rk3308-linux-firefly-32bit/buildroot/output/rockchip_rk3308_32_release/.config
#
make: Leaving directory '/home/rk3308-linux-firefly-32bit/buildroot'
umask 0022 && make -C /home/rk3308-linux-firefly-32bit/buildroot O=/home/rk3308-
linux-firefly-32bit/buildroot/output/rockchip_rk3308_32_release

Makefile:543: *** readline is in the dependency chain of deviceio that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.

/home/rk3308-linux-firefly-32bit/buildroot/output/rockchip_rk3308_32_release/Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2
回复

使用道具 举报

发表于 2020-6-18 09:24:54        只看该作者  沙发
1. 参考维基教程编译
2. 编译32bit,参考docs目录下的《Rockchip_RK3308_Developer_Guide_Linux_32Bit_Build_CN.pdf》
回复

使用道具 举报

157

积分

0

威望

0

贡献

技术小白

积分
157
发表于 2020-6-18 09:35:31        只看该作者  板凳
就是按照这个文档做的,否则进展不到出错的地方
回复

使用道具 举报

157

积分

0

威望

0

贡献

技术小白

积分
157
发表于 2020-6-18 09:37:33        只看该作者  地板
而且,我一直认为 Firefly的开发包跟Rockchip不一致。

请问,这个问题带来的错误,应该由谁负责?
回复

使用道具 举报

发表于 2020-6-18 10:22:03        只看该作者  5#
buildroot配置文件里不使能BR2_PACKAGE_DEVICEIO
回复

使用道具 举报

157

积分

0

威望

0

贡献

技术小白

积分
157
发表于 2020-6-18 10:34:01        只看该作者  6#
但是,这个是在下面文件中打开的:

rk3308-linux-firefly/buildroot/configs/rockchip_rk3308_32_debug_defconfig
  36,1: BR2_PACKAGE_DEVICEIO=y

需要关闭吗?
回复

使用道具 举报

51

积分

0

威望

0

贡献

技术小白

积分
51
发表于 2020-6-18 10:39:01        只看该作者  7#
snap 发表于 2020-6-18 10:34
但是,这个是在下面文件中打开的:

rk3308-linux-firefly/buildroot/configs/rockchip_rk3308_32_debug_ ...

deviceio是ap、ble配网相关的,不需要就关闭它
回复

使用道具 举报

发表于 2020-6-18 14:45:30        只看该作者  8#
如果要使能BR2_PACKAGE_DEVICEIO,就要使能BR2_PACKAGE_READLINE
回复

使用道具 举报

157

积分

0

威望

0

贡献

技术小白

积分
157
发表于 2020-6-18 22:17:14        只看该作者  9#
嗯,可以了,谢谢。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表