Firefly开源社区

标题: rk3308 编译buildroot错误的问题 [打印本页]

作者: qsherong    时间: 2022-4-18 10:08
标题: rk3308 编译buildroot错误的问题
按照以下步骤7zr x Firefly-RK3308_Linux_SDK_git_20190924.7z
git reset --hard HEAD
git remote set-url gitlab https://gitlab.com/TeeFirefly/rk3308-linux.git
git pull gitlab firefly:firefly
./build.sh
开始编译编译到buildroot的libglib2包的时候,
出现以下错误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

tchip_askquestions

log.txt

33.6 KB, 下载次数: 3, 下载积分: 灯泡 -1 , 经验 -1


作者: qhdcony    时间: 2022-6-14 18:06
我也遇到了这个问题,楼主解决了吗
作者: Firefly_Javier    时间: 2022-6-15 09:14
qhdcony 发表于 2022-6-14 18:06
我也遇到了这个问题,楼主解决了吗

buildroot的config提供一下
作者: qhdcony    时间: 2022-6-15 11:12
编译步骤
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

作者: qhdcony    时间: 2022-6-15 11:17
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'
作者: Firefly_Javier    时间: 2022-6-15 14:25
qhdcony 发表于 2022-6-15 11:17
===========================================

#TARGET_BOARD=rk3308

Firefly的SDK并没有这个config:rockchip_rk3308_bs_release_defconfig




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1