使用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
P
pancheng34 发布的最新帖子
-
openharmony mqtt mbuffer分配不到报错