1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
这几天在尝试使用ESP32做一个华为的IOT项目,在Liunx环境下使用make编译时能够编译通过,但使用cmake编译的时候会编译失败。
CMakeLists.txt文件编写参考例程“import_prebuilt”,HiLink是以组件的形式编译的,make编译成功的component.mk 提示: [1/5] Performing build step for 'bootloader' ninja: no work to do. [2/3] Linking CXX executable hello-world.elf FAILED: hello-world.elf : && /esp32/crossTools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -mlongcalls -Wno-frame-address CMakeFiles/hello-world.elf.dir/project_elf_src_esp32.c.obj -o hello-world.elf esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/app_update/libapp_update.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/xtensa/libxtensa.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/asio/libasio.a esp-idf/cbor/libcbor.a esp-idf/unity/libunity.a esp-idf/cmock/libcmock.a esp-idf/coap/libcoap.a esp-idf/console/libconsole.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc_cal/libesp_adc_cal.a esp-idf/esp_hid/libesp_hid.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/protocomm/libprotocomm.a esp-idf/mdns/libmdns.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/sdmmc/libsdmmc.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/esp_websocket_client/libesp_websocket_client.a esp-idf/expat/libexpat.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/fatfs/libfatfs.a esp-idf/freemodbus/libfreemodbus.a esp-idf/jsmn/libjsmn.a esp-idf/json/libjson.a esp-idf/libsodium/liblibsodium.a esp-idf/mqtt/libmqtt.a esp-idf/openssl/libopenssl.a esp-idf/spiffs/libspiffs.a esp-idf/ulp/libulp.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/esp_ethW5500/libesp_ethW5500.a esp-idf/freemodbusAIR/libfreemodbusAIR.a esp-idf/freemodbusCCM/libfreemodbusCCM.a esp-idf/hilink/libhilink.a esp-idf/main/libmain.a -Wl,--cref -Wl,--Map=/mnt/share/hello_world_20220208_cmake/hello_world_20220208/build/hello-world.map -fno-rtti -fno-lto esp-idf/unity/libunity.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/protocomm/libprotocomm.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/mdns/libmdns.a esp-idf/console/libconsole.a esp-idf/json/libjson.a esp-idf/freemodbus/libfreemodbus.a esp-idf/freemodbusAIR/libfreemodbusAIR.a esp-idf/freemodbusCCM/libfreemodbusCCM.a esp-idf/hilink/libhilink.a esp-idf/spiffs/libspiffs.a esp-idf/esp_ethW5500/libesp_ethW5500.a esp-idf/cxx/libcxx.a esp-idf/newlib/libnewlib.a esp-idf/freertos/libfreertos.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/heap/libheap.a esp-idf/log/liblog.a esp-idf/lwip/liblwip.a esp-idf/soc/libsoc.a esp-idf/hal/libhal.a esp-idf/esp_rom/libesp_rom.a esp-idf/esp_common/libesp_common.a esp-idf/esp_system/libesp_system.a esp-idf/esp32/libesp32.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/app_trace/libapp_trace.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_event/libesp_event.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_timer/libesp_timer.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/driver/libdriver.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libcore.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libpp.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libwapi.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libphy.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/librtc.a esp-idf/vfs/libvfs.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/xtensa/libxtensa.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/ulp/libulp.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/nghttp/libnghttp.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/sdmmc/libsdmmc.a esp-idf/cxx/libcxx.a esp-idf/newlib/libnewlib.a esp-idf/freertos/libfreertos.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/heap/libheap.a esp-idf/log/liblog.a esp-idf/lwip/liblwip.a esp-idf/soc/libsoc.a esp-idf/hal/libhal.a esp-idf/esp_rom/libesp_rom.a esp-idf/esp_common/libesp_common.a esp-idf/esp_system/libesp_system.a esp-idf/esp32/libesp32.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/app_trace/libapp_trace.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_event/libesp_event.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_timer/libesp_timer.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/driver/libdriver.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libcore.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libpp.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libwapi.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libphy.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/librtc.a esp-idf/vfs/libvfs.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/xtensa/libxtensa.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/ulp/libulp.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/nghttp/libnghttp.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/sdmmc/libsdmmc.a esp-idf/cxx/libcxx.a esp-idf/newlib/libnewlib.a esp-idf/freertos/libfreertos.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/heap/libheap.a esp-idf/log/liblog.a esp-idf/lwip/liblwip.a esp-idf/soc/libsoc.a esp-idf/hal/libhal.a esp-idf/esp_rom/libesp_rom.a esp-idf/esp_common/libesp_common.a esp-idf/esp_system/libesp_system.a esp-idf/esp32/libesp32.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/app_trace/libapp_trace.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_event/libesp_event.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_timer/libesp_timer.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/driver/libdriver.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libcore.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libpp.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libwapi.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libphy.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/librtc.a esp-idf/vfs/libvfs.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/xtensa/libxtensa.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/ulp/libulp.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/nghttp/libnghttp.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/sdmmc/libsdmmc.a esp-idf/cxx/libcxx.a esp-idf/newlib/libnewlib.a esp-idf/freertos/libfreertos.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/heap/libheap.a esp-idf/log/liblog.a esp-idf/lwip/liblwip.a esp-idf/soc/libsoc.a esp-idf/hal/libhal.a esp-idf/esp_rom/libesp_rom.a esp-idf/esp_common/libesp_common.a esp-idf/esp_system/libesp_system.a esp-idf/esp32/libesp32.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/app_trace/libapp_trace.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_event/libesp_event.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_timer/libesp_timer.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/driver/libdriver.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libcore.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libpp.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libwapi.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/libphy.a /esp32/sources/esp-idf/components/esp_wifi/lib/esp32/librtc.a esp-idf/vfs/libvfs.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/xtensa/libxtensa.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/ulp/libulp.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/nghttp/libnghttp.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/sdmmc/libsdmmc.a -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting -Wl,--wrap=__register_frame_info_bases -Wl,--wrap=__register_frame_info -Wl,--wrap=__register_frame -Wl,--wrap=__register_frame_info_table_bases -Wl,--wrap=__register_frame_info_table -Wl,--wrap=__register_frame_table -Wl,--wrap=__deregister_frame_info_bases -Wl,--wrap=__deregister_frame_info -Wl,--wrap=_Unwind_Find_FDE -Wl,--wrap=_Unwind_GetGR -Wl,--wrap=_Unwind_GetCFA -Wl,--wrap=_Unwind_GetIP -Wl,--wrap=_Unwind_GetIPInfo -Wl,--wrap=_Unwind_GetRegionStart -Wl,--wrap=_Unwind_GetDataRelBase -Wl,--wrap=_Unwind_GetTextRelBase -Wl,--wrap=_Unwind_SetIP -Wl,--wrap=_Unwind_SetGR -Wl,--wrap=_Unwind_GetLanguageSpecificData -Wl,--wrap=_Unwind_FindEnclosingFunction -Wl,--wrap=_Unwind_Resume -Wl,--wrap=_Unwind_RaiseException -Wl,--wrap=_Unwind_DeleteException -Wl,--wrap=_Unwind_ForcedUnwind -Wl,--wrap=_Unwind_Resume_or_Rethrow -Wl,--wrap=_Unwind_Backtrace -Wl,--wrap=__cxa_call_unexpected -Wl,--wrap=__gxx_personality_v0 -u __cxa_guard_dummy -lstdc++ esp-idf/pthread/libpthread.a esp-idf/cxx/libcxx.a -u __cxx_fatal_exception -lc -lm esp-idf/newlib/libnewlib.a -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_impl -Wl,--undefined=uxTopUsedPriority -u app_main -L /esp32/sources/esp-idf/components/esp_rom/esp32/ld -T esp32.rom.ld -T esp32.rom.api.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -Wl,--wrap=longjmp -Wl,--gc-sections -u ld_include_panic_highint_hdl -u start_app -u start_app_other_cores -L /mnt/share/hello_world_20220208_cmake/hello_world_20220208/build/esp-idf/esp32 -T esp32_out.ld -L /mnt/share/hello_world_20220208_cmake/hello_world_20220208/build/esp-idf/esp32/ld -T esp32.project.ld -L /esp32/sources/esp-idf/components/esp32/ld -T esp32.peripherals.ld -lgcc -u call_user_start_cpu0 -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -u esp_app_desc -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -u vfs_include_syscalls_impl -L /esp32/sources/esp-idf/components/esp_wifi/lib/esp32 /esp32/sources/esp-idf/components/xtensa/esp32/libxt_hal.a ../components/hilink/lib/debug/libhilinkdevicesdk.a ../components/hilink/lib/debug/libhilinkmesh.a ../components/hilink/lib/debug/libhilinkota.a && : /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(security_hkdf.o):(.text.SecurityHkdfDeriveKey+0x4): undefined reference to `mbedtls_hkdf' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_device_ota.o):(.text.GetModuleFirmware+0x10): undefined reference to `HILINK_GetMcuVersion' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_speke_common.o):(.text.SpekeGetPinCode+0x0): undefined reference to `HILINK_GetPinCode' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hi_security.o):(.text.hilink_sec_get_Ac+0x8): undefined reference to `HILINK_GetAutoAc' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_wifi_adapter.o):(.text.hilink_create_softAP+0x0): undefined reference to `HILINK_StartSoftAp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_wifi_adapter.o):(.text.hilink_close_softAP+0x8): undefined reference to `HILINK_StopSoftAp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_mcu_process.o):(.text.HilinkUpdateMcu+0x24): undefined reference to `HILINK_NotifyOtaStatus' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_mcu_process.o):(.text.HilinkUpdateMcu+0x40): undefined reference to `HILINK_NotifyOtaData' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_http.o):(.text.HilinkHttpClientReceiveHeader+0x18): undefined reference to `sscanf_s' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_malloc+0x0): undefined reference to `HILINK_Malloc' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_free+0x0): undefined reference to `HILINK_Free' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_memcmp+0x0): undefined reference to `HILINK_Memcmp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_gethostbyname+0x0): undefined reference to `HILINK_GetHostByName' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_udp_new+0x0): undefined reference to `HILINK_CreateUdp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_udp_remove+0x0): undefined reference to `HILINK_RemoveUdp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_udp_send+0x0): undefined reference to `HILINK_SendUdp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_udp_read+0x0): undefined reference to `HILINK_RecvUdp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_tcp_connect+0x0): undefined reference to `HILINK_ConnectTcp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_tcp_disconnect+0x0): undefined reference to `HILINK_DisconnectTcp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_tcp_send+0x0): undefined reference to `HILINK_SendTcp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_tcp_state+0x0): undefined reference to `HILINK_GetTcpState' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_tcp_read+0x0): undefined reference to `HILINK_RecvTcp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_htons+0x0): undefined reference to `HILINK_Htons' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_ntohs+0x0): undefined reference to `HILINK_Ntohs' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_tcp_get_sendbuf_left+0x0): undefined reference to `HILINK_GetLeftTcpSendbuf' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_udp_remove_multi_group+0x0): undefined reference to `HILINK_DeleteMultiGroupUdp' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_task_create+0x0): undefined reference to `HILINK_CreateTask' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_task_delete+0x0): undefined reference to `HILINK_DeleteTask' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_mutex_create+0x0): undefined reference to `HILINK_MutexCreate' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_mutex_lock+0x0): undefined reference to `HILINK_MutexLock' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_mutex_unlock+0x0): undefined reference to `HILINK_MutexUnlock' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_mutex_destroy+0x0): undefined reference to `HILINK_MutexDestroy' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.HilinkGetCurrentTaskId+0x0): undefined reference to `HILINK_GetCurrentTaskId' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_gettime+0x0): undefined reference to `HILINK_GetCurrTime' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_msleep+0x0): undefined reference to `HILINK_MilliSleep' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.hilink_socket_state+0x0): undefined reference to `HILINK_GetSocketState' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkdevicesdk.a(hilink_osadapter.o):(.text.HilinkGetTick+0x0): undefined reference to `HILINK_GetTick' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaAdapterFlashInit+0x0): undefined reference to `HILINK_OtaAdapterFlashInit' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaAdapterGetUpdateIndex+0x0): undefined reference to `HILINK_OtaAdapterGetUpdateIndex' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaAdapterFlashErase+0x0): undefined reference to `HILINK_OtaAdapterFlashErase' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaAdapterFlashWrite+0x0): undefined reference to `HILINK_OtaAdapterFlashWrite' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaAdapterFlashRead+0x0): undefined reference to `HILINK_OtaAdapterFlashRead' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaAdapterFlashFinish+0x0): undefined reference to `HILINK_OtaAdapterFlashFinish' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaAdapterFlashMaxSize+0x0): undefined reference to `HILINK_OtaAdapterFlashMaxSize' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaAdapterRestart+0x0): undefined reference to `HILINK_OtaAdapterRestart' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaStartProcess+0x0): undefined reference to `HILINK_OtaStartProcess' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkOtaEndProcess+0x0): undefined reference to `HILINK_OtaEndProcess' /esp32/crossTools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: ../components/hilink/lib/debug/libhilinkota.a(hilink_ota_adapter.o):(.text.HilinkGetRebootFlag+0x0): undefined reference to `HILINK_GetRebootFlag' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. 求求各位大佬救救孩子 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
358 浏览 0 评论
1202 浏览 1 评论
591浏览 6评论
485浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
468浏览 5评论
467浏览 4评论
445浏览 4评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-31 02:06 , Processed in 1.308065 second(s), Total 75, Slave 59 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号