固件类型:自行编译的固件
SDK包名称:Firefly-RK3308_Linux_SDK_git_20190924.7z
SDK修改内容:没有修改
Log日志:log.txt
按照以下步骤7zr x Firefly-RK3308_Linux_SDK_git_20190924.7z
git reset --hard HEAD
git remote set-url gitlab T-Firefly / rk3308-linux · GitLab
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)
编译步骤
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
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’
#TARGET_BOARD=rk3308
Firefly的SDK并没有这个config:rockchip_rk3308_bs_release_defconfig