问题描述

在使用alios things 开发网关程序的时候,使用iotx-sdk-c sdk包,在生成libiot-sdk.a时爆出西面的错误
【iotx-sdk-c笔记】undefined reference to `os_htole32`

解决方法

打开iotx-sdk-c/src/services/awss/os/os_misc.c文件,在97行左右有个#if标识,在这个标识中声明了os_htole32函数,修改如下
【iotx-sdk-c笔记】undefined reference to `os_htole32`

alios WIFI配网及本地通讯配置请参考

https://blog.csdn.net/oxp7085915/article/details/82501336

相关文章:

  • 2021-09-02
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2021-11-21
  • 2021-12-24
猜你喜欢
  • 2021-07-03
  • 2021-08-25
  • 2021-12-15
  • 2022-02-23
  • 2022-12-23
  • 2022-02-28
  • 2022-12-23
相关资源
相似解决方案