snap 发表于 2020-6-17 22:20:54

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

本帖最后由 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: *** Error 2

firefly_zhongw 发表于 2020-6-18 09:24:54

1. 参考维基教程编译
2. 编译32bit,参考docs目录下的《Rockchip_RK3308_Developer_Guide_Linux_32Bit_Build_CN.pdf》

snap 发表于 2020-6-18 09:35:31

就是按照这个文档做的,否则进展不到出错的地方

snap 发表于 2020-6-18 09:37:33

而且,我一直认为 Firefly的开发包跟Rockchip不一致。

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

firefly_zhongw 发表于 2020-6-18 10:22:03

buildroot配置文件里不使能BR2_PACKAGE_DEVICEIO

snap 发表于 2020-6-18 10:34:01

但是,这个是在下面文件中打开的:

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

需要关闭吗?

panama 发表于 2020-6-18 10:39:01

snap 发表于 2020-6-18 10:34
但是,这个是在下面文件中打开的:

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

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

firefly_zhongw 发表于 2020-6-18 14:45:30

如果要使能BR2_PACKAGE_DEVICEIO,就要使能BR2_PACKAGE_READLINE

snap 发表于 2020-6-18 22:17:14

嗯,可以了,谢谢。
页: [1]
查看完整版本: 编译rootfs错误,是什么原因?