Navigation

    全志在线开发者论坛

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

    openharmony mqtt mbuffer分配不到报错

    XR系列-无线互联
    1
    1
    149
    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.
    • P
      pancheng34 LV 2 last edited by

      使用openharmony在x806用MQTT做通讯是多几次mqtt_demo_publish就会出现mb_get的时候MB_MALLOC失败,关掉MBUF_OPT_LIMIT_MEM又编译报错
      [OHOS ERROR] /home/pancheng/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: ../../../../lib/xradio_v3/libwlan.a(wlan_ext_req.o): in function wlan_ext_request': [OHOS ERROR] /home/xieqihai/IOT/sdk/git_1826/wlan/src/net/wlan/wlan_ext_req.c:83: undefined reference to mb_mem_set_limit'
      [OHOS ERROR] collect2: error: ld returned 1 exit status

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

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

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