Navigation

    全志在线开发者论坛

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

    编译应用程序报错arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lanl

    V Series
    5
    8
    2845
    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.
    • D
      dql2016 LV 4 last edited by

      编译应用程序报错

      1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 last edited by YuzukiTsuru

        anl是glibc的部件,musl没有

        D 1 Reply Last reply Reply Quote Share 0
        • D
          dql2016 LV 4 @YuzukiTsuru last edited by

          @yuzukitsuru 那就尴尬了,我交叉编译paha.mqtt.c库提示这个错误

          YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
          • YuzukiTsuru
            柚木 鉉 LV 9 @dql2016 last edited by

            @dql2016 在 编译应用程序报错arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lanl 中说:

            个错误

            那可以更换工具链为glibc

            D J 2 Replies Last reply Reply Quote Share 0
            • D
              dql2016 LV 4 @YuzukiTsuru last edited by

              @yuzukitsuru怎么更换,有啥教程吗

              D 1 Reply Last reply Reply Quote Share 0
              • D
                dream LV 6 @dql2016 last edited by

                @dql2016 make menuconfig 里面可以选

                1 Reply Last reply Reply Quote Share 0
                • J
                  jr_online LV 7 @YuzukiTsuru last edited by

                  @yuzukitsuru 在 编译应用程序报错arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lanl 中说:

                  @dql2016 在 编译应用程序报错arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lanl 中说:

                  个错误

                  那可以更换工具链为glibc

                  请教大佬,编译报错/arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lpaho-mqtt3c
                  也是工具链的问题吗?

                  1 Reply Last reply Reply Quote Share 0
                  • Q
                    qianchenzhumeng LV 3 last edited by

                    为 musl 编译的时候,把 CMakeLists.txt 中的 anl 删掉即可:https://github.com/qianchenzhumeng/iot_gw#1-找不到-libanl

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

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

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