编译问题:error GNU libiconv not in use but included iconv.h is from libiconv
-
编译遇到这个bug怎么解决?
gconvert.c:61: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
^
Makefile:1373: recipe for target 'libglib_2_0_la-gconvert.lo' failed -
按网上说的,在
HOST_CONFIGURE_ARGS += --with-internal-glib
加上 --with-libiconv=gnuHOST_CONFIGURE_ARGS += --with-internal-glib --with-libiconv=gnu
出来新错误:
configure: error: *** No iconv() implementation found in C library or libiconv
configure: error: ./configure failed for glib -
看一下编译工具链是不是musl的但是使用了glib的东西
-
@whycanservice 不是,官方SDK,编译链是 riscv64-glibc-gcc-thead_20200702
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号