Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    编译问题:error GNU libiconv not in use but included iconv.h is from libiconv

    MR Series
    2
    4
    1960
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      ligpg LV 2 last edited by

      编译遇到这个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

      L 1 Reply Last reply Reply Quote Share 0
      • L
        ligpg LV 2 @ligpg last edited by

        按网上说的,在
        HOST_CONFIGURE_ARGS += --with-internal-glib
        加上 --with-libiconv=gnu

        HOST_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

        1 Reply Last reply Reply Quote Share 0
        • WhycanService
          WhycanService LV 8 last edited by

          看一下编译工具链是不是musl的但是使用了glib的东西

          L 1 Reply Last reply Reply Quote Share 0
          • L
            ligpg LV 2 @WhycanService last edited by

            @whycanservice 不是,官方SDK,编译链是 riscv64-glibc-gcc-thead_20200702

            1 Reply Last reply Reply Quote Share 0
            • 1 / 1
            • First post
              Last post

            Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

            行为准则 | 用户协议 | 隐私权政策