mongoose-os升级到1.22.1遇到的问题
来源:互联网 发布:电脑淘宝没有登陆页面 编辑:程序博客网 时间:2024/06/03 20:19
它经常修改,幅度还很大。
如果不是特别期望的功能增加,最好不升级。
从1.20升级后,编译遇到错误:
/fwbuild-volumes/1.22.1/apps/one_sensor/esp8266/build_contexts/build_ctx_045456635/libs/rpc-common/src/mg_rpc/mg_rpc_channel_http.c:171: undefined reference tomg_http_send_digest_auth_request'/fwbuild-volumes/1.22.1/apps/one_sensor/esp8266/build_contexts/build_ctx_045456635/build/objs/mg_rpc_channel_http.c.o: In functionmg_rpc_channel_http_send_not_authorized':/fwbuild-volumes/1.22.1/apps/one_sensor/esp8266/build_contexts/build_ctx_045456635/libs/rpc-common/src/mg_rpc/mg_rpc_channel_http.c:89: undefined reference tomg_http_send_digest_auth_request'/fwbuild-volumes/1.22.1/apps/one_sensor/esp8266/build_contexts/build_ctx_045456635/build/objs/mg_rpc_channel_http.c.o:(.text.mg_rpc_channel_http_get_authn_info+0x8): undefined reference tomg_http_is_authorized'
问题是,mongoose版本不是最新版,版本不相符问题。
自己做了hack,把mongoose拷贝在project的src下。
做文件更新以后,编译通过。
阅读全文