Firefly开源社区

打印 上一主题 下一主题

[Linux] rk3308 编译buildroot错误的问题

11

积分

0

威望

0

贡献

技术小白

积分
11
发表于 2022-6-14 18:06:24      楼主
我也遇到了这个问题,楼主解决了吗
回复

使用道具 举报

11

积分

0

威望

0

贡献

技术小白

积分
11
发表于 2022-6-15 11:12:09      沙发
编译步骤
1、 source buildroot/build/envsetup.sh
选26. rockchip_rk3308_bs_release
2、make
出现以下错误gconvert.c:59:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv
#error GNU libiconv not in use but included iconv.h is from libiconv
回复

使用道具 举报

11

积分

0

威望

0

贡献

技术小白

积分
11
发表于 2022-6-15 11:17:32      板凳
Firefly_Javier 发表于 2022-6-15 09:14
buildroot的config提供一下

===========================================

#TARGET_BOARD=rk3308
#OUTPUT_DIR=output/rockchip_rk3308_bs_release
#CONFIG=rockchip_rk3308_bs_release_defconfig

===========================================
make: Entering directory '/home/ubuntu/gxy/rk3308/rk3308/buildroot'
mkdir -p /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
    obj=/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config -C support/kconfig -f Makefile.br conf
/usr/bin/gcc -D_GNU_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE  -I/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config -DCONFIG_=\"\"  -MM *.c > /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/.depend 2>/dev/null || :
/usr/bin/gcc -D_GNU_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE  -I/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config -DCONFIG_=\"\"   -c conf.c -o /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/conf.o
/usr/bin/gcc -D_GNU_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE  -I/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config -DCONFIG_=\"\"  -I. -c /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/zconf.tab.c -o /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/zconf.tab.o
/usr/bin/gcc -D_GNU_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE  -I/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config -DCONFIG_=\"\"   /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/conf.o /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/zconf.tab.o  -o /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/conf
rm /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/zconf.tab.c
  GEN     /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/Makefile
/home/ubuntu/gxy/rk3308/rk3308/buildroot/build/defconfig_hook.py -m /home/ubuntu/gxy/rk3308/rk3308/buildroot/configs/rockchip_rk3308_bs_release_defconfig /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/tristate.config BR2_CONFIG=/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/.config HOST_GCC_VERSION="5" BUILD_DIR=/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build SKIP_LEGACY= BR2_DEFCONFIG=/home/ubuntu/gxy/rk3308/rk3308/buildroot/configs/rockchip_rk3308_bs_release_defconfig /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/build/buildroot-config/conf --defconfig=/home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/.rockchipconfig Config.in
#
# configuration written to /home/ubuntu/gxy/rk3308/rk3308/buildroot/output/rockchip_rk3308_bs_release/.config
#
make: Leaving directory '/home/ubuntu/gxy/rk3308/rk3308/buildroot'
回复

使用道具 举报

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

本版积分规则

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