开发者社区> 问答> 正文

定制alios,mqtt_demo@stm32f103rb-nucleo编译报错

aos-cube version: 0.5.7 Check if required tools for stm32f103rb-nucleo exist ECHO 处于关闭状态。 Build Configuration:

App: mqtt_demo Board: stm32f103rb-nucleo

ECHO 处于关闭状态。 Build AOS Now TOOLCHAIN_PATH= Making mqtt_demo@stm32f103rb-nucleo.elf out/mqtt_demo@stm32f103rb-nucleo/libraries/libiot_mqtt.a(mqtt_api.o): In function IOT_MQTT_Construct': D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:153: undefined reference toIOT_Ioctl' D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:156: undefined reference to IOT_Ioctl' D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:360: undefined reference towrapper_mqtt_init' D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:366: undefined reference to wrapper_mqtt_connect' D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:370: undefined reference towrapper_mqtt_release' D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:381: undefined reference to iotx_event_callback' out/mqtt_demo@stm32f103rb-nucleo/libraries/libiot_mqtt.a(mqtt_api.o): In functionIOT_MQTT_Destroy': D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:403: undefined reference to wrapper_mqtt_release' out/mqtt_demo@stm32f103rb-nucleo/libraries/libiot_mqtt.a(mqtt_api.o): In functionIOT_MQTT_Yield': D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:412: undefined reference to wrapper_mqtt_yield' out/mqtt_demo@stm32f103rb-nucleo/libraries/libiot_mqtt.a(mqtt_api.o): In functionIOT_MQTT_CheckStateNormal': D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:424: undefined reference to wrapper_mqtt_check_state' out/mqtt_demo@stm32f103rb-nucleo/libraries/libiot_mqtt.a(mqtt_api.o): In functionIOT_MQTT_Subscribe':
D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:447: undefined reference to wrapper_mqtt_subscribe' out/mqtt_demo@stm32f103rb-nucleo/libraries/libiot_mqtt.a(mqtt_api.o): In functionIOT_MQTT_Publish_Simple':
D:\AliOS-Things/components/linkkit/mqtt/mqtt_api.c:525: undefined reference to wrapper_mqtt_publish' out/mqtt_demo@stm32f103rb-nucleo/libraries/libiot_wrappers.a(HAL_PRODUCT_rhino.o): In functionHAL_GetDeviceSecret': D:\AliOS-Things/components/linkkit/wrappers/os/HAL_PRODUCT_rhino.c:179: undefined reference to infra_aes128_init' D:\AliOS-Things/components/linkkit/wrappers/os/HAL_PRODUCT_rhino.c:184: undefined reference toinfra_aes128_cfb_decrypt' D:\AliOS-Things/components/linkkit/wrappers/os/HAL_PRODUCT_rhino.c:185: undefined reference to infra_aes128_destroy' out/mqtt_demo@stm32f103rb-nucleo/libraries/libiot_wrappers.a(HAL_PRODUCT_rhino.o): In functionHAL_SaveDeviceIdentity': D:\AliOS-Things/components/linkkit/wrappers/os/HAL_PRODUCT_rhino.c:213: undefined reference to infra_aes128_init' D:\AliOS-Things/components/linkkit/wrappers/os/HAL_PRODUCT_rhino.c:240: undefined reference toinfra_aes128_init' D:\AliOS-Things/components/linkkit/wrappers/os/HAL_PRODUCT_rhino.c:219: undefined reference to infra_aes128_cfb_encrypt' D:\AliOS-Things/components/linkkit/wrappers/os/HAL_PRODUCT_rhino.c:220: undefined reference toinfra_aes128_destroy' D:\AliOS-Things/components/linkkit/wrappers/os/HAL_PRODUCT_rhino.c:246: undefined reference to infra_aes128_cfb_encrypt' D:\AliOS-Things/components/linkkit/wrappers/os/HAL_PRODUCT_rhino.c:247: undefined reference toinfra_aes128_destroy' out/mqtt_demo@stm32f103rb-nucleo/libraries/libiot_sign.a(dev_sign_mqtt.o): In function _iotx_generate_sign_string': D:\AliOS-Things/components/linkkit/dev_sign/dev_sign_mqtt.c:143: undefined reference toutils_hmac_sha256'
collect2.exe: error: ld returned 1 exit status make.exe[1]: *** [build/build_rules/aos_target_build.mk:294: out/mqtt_demo@stm32f103rb-nucleo/binary/mqtt_demo@stm32f103rb-nucleo.elf] Error 1 make: *** [build\Makefile:415: main_app] Error 2

展开
收起
liuyunyin 2020-05-01 04:35:08 967 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
RocketMQ Client-GO 介绍 立即下载
RocketMQ Prometheus Exporter 打造定制化 DevOps 平台 立即下载
基于 RocketMQ Prometheus Exporter 打造定制化 DevOps 平台 立即下载