y -lrtc esp-idf/esp_phy/libesp_phy.a -lphy -lrtc -u vfs_include_syscalls_impl && :
/Users/zebra/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(itwt.c.obj):(.literal.got_ip_handler+0x18): undefined reference to `esp_wifi_sta_itwt_setup'
/Users/zebra/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(itwt.c.obj): in function `got_ip_handler':
/Users/zebra/workspace/esp/esp-idf/examples/wifi/itwt/main/itwt.c:96: undefined reference to `esp_wifi_sta_itwt_setup'
collect2: error: ld returned 1 exit status
wifi/itwt/main/itwt.c编译报错
Re: wifi/itwt/main/itwt.c编译报错
请问用的是哪一个版本的 IDF,子模块下载更新完全了吗
Re: wifi/itwt/main/itwt.c编译报错
你好!
这是我用的版本
zebra-mini:esp-idf zebra$ git describe --tags
v5.1-dev-3405-g8ba96ab873
子模块也是完整的
zebra-mini:esp-idf zebra$ git submodule status
d037ec89546fad14b5c4d5456c2e23a71e554966 components/bootloader/subproject/components/micro-ecc/micro-ecc (v1.0)
f18eabd48cb91d779e56e985512bf210741aa700 components/bt/controller/lib_esp32 (heads/master)
2d0c9d0d5df1fa825ed3c48df968e3c9b8c434ee components/bt/controller/lib_esp32c2/esp32c2-bt-lib (2d0c9d0)
bba9af9259e0999ef246426d31a793fe0a3ff4db components/bt/controller/lib_esp32c3_family (heads/master)
658a412455d652be3b07a602a988b25d97b00e03 components/bt/controller/lib_esp32c6/esp32c6-bt-lib (658a412)
f502278684195b9c20626ec8bb25430030d2ff23 components/bt/controller/lib_esp32h2/esp32h2-bt-lib (heads/master)
76b1f54737b7eba79155c5238a797b8865ce8206 components/bt/host/nimble/nimble (remotes/origin/nimble-1.4.0-idf)
eeecc49ce8af123cf8ad40efdb9673e37b56230f components/cmock/CMock (v2.5.2-2-geeecc49)
b3e4adbe7663700ff6950d9d420e112a743f586f components/esp_phy/lib (heads/master)
46ddf74df072618a3e6cf2f9bc0bd727a0f21574 components/esp_wifi/lib (remotes/origin/feature/ftm_support_stage2-120-g46ddf74d)
8c9cd0517adf99e363812e9a295dfe3898fdd345 components/heap/tlsf (heads/idf)
5d03fb64207e7769319891fe99292c9c471db7ba components/ieee802154/lib (5d03fb6)
d348621ca93571343a56862df7de4ff3bc9b5667 components/json/cJSON (v1.7.15)
10197b212a95c49c733fb18ffed56cafb0d196d4 components/lwip/lwip (remotes/origin/master-256-g10197b21)
e39975969d548572a39875ad29abd88b23285f94 components/mbedtls/mbedtls (mbedtls-3.3.0-4-ge39975969)
dffabb067fb3c39f486033d2e47eb4b1416f0c82 components/mqtt/esp-mqtt (ESP-MQTT_FOR_IDF_4.x-149-gdffabb0)
2e5a3f236f8cd7c753fd8b8f775e48e8be5f08d6 components/openthread/lib (heads/master)
19e18753c1ca97ffc68566f4852444f341e0319c components/openthread/openthread (thread-reference-20200818-2222-g19e18753c)
abc67a11c6db271bedbb9f58be85d6f4e2ea8389 components/protobuf-c/protobuf-c (v1.4.1)
0dbb3f71c5f6fae3747a9d935372773762baf852 components/spiffs/spiffs (0.2-255-g0dbb3f7)
7d2bf62b7e6afaf38153041a9d53c21aeeca9a25 components/unity/unity (v2.4.3-51-g7d2bf62)
这是我用的版本
zebra-mini:esp-idf zebra$ git describe --tags
v5.1-dev-3405-g8ba96ab873
子模块也是完整的
zebra-mini:esp-idf zebra$ git submodule status
d037ec89546fad14b5c4d5456c2e23a71e554966 components/bootloader/subproject/components/micro-ecc/micro-ecc (v1.0)
f18eabd48cb91d779e56e985512bf210741aa700 components/bt/controller/lib_esp32 (heads/master)
2d0c9d0d5df1fa825ed3c48df968e3c9b8c434ee components/bt/controller/lib_esp32c2/esp32c2-bt-lib (2d0c9d0)
bba9af9259e0999ef246426d31a793fe0a3ff4db components/bt/controller/lib_esp32c3_family (heads/master)
658a412455d652be3b07a602a988b25d97b00e03 components/bt/controller/lib_esp32c6/esp32c6-bt-lib (658a412)
f502278684195b9c20626ec8bb25430030d2ff23 components/bt/controller/lib_esp32h2/esp32h2-bt-lib (heads/master)
76b1f54737b7eba79155c5238a797b8865ce8206 components/bt/host/nimble/nimble (remotes/origin/nimble-1.4.0-idf)
eeecc49ce8af123cf8ad40efdb9673e37b56230f components/cmock/CMock (v2.5.2-2-geeecc49)
b3e4adbe7663700ff6950d9d420e112a743f586f components/esp_phy/lib (heads/master)
46ddf74df072618a3e6cf2f9bc0bd727a0f21574 components/esp_wifi/lib (remotes/origin/feature/ftm_support_stage2-120-g46ddf74d)
8c9cd0517adf99e363812e9a295dfe3898fdd345 components/heap/tlsf (heads/idf)
5d03fb64207e7769319891fe99292c9c471db7ba components/ieee802154/lib (5d03fb6)
d348621ca93571343a56862df7de4ff3bc9b5667 components/json/cJSON (v1.7.15)
10197b212a95c49c733fb18ffed56cafb0d196d4 components/lwip/lwip (remotes/origin/master-256-g10197b21)
e39975969d548572a39875ad29abd88b23285f94 components/mbedtls/mbedtls (mbedtls-3.3.0-4-ge39975969)
dffabb067fb3c39f486033d2e47eb4b1416f0c82 components/mqtt/esp-mqtt (ESP-MQTT_FOR_IDF_4.x-149-gdffabb0)
2e5a3f236f8cd7c753fd8b8f775e48e8be5f08d6 components/openthread/lib (heads/master)
19e18753c1ca97ffc68566f4852444f341e0319c components/openthread/openthread (thread-reference-20200818-2222-g19e18753c)
abc67a11c6db271bedbb9f58be85d6f4e2ea8389 components/protobuf-c/protobuf-c (v1.4.1)
0dbb3f71c5f6fae3747a9d935372773762baf852 components/spiffs/spiffs (0.2-255-g0dbb3f7)
7d2bf62b7e6afaf38153041a9d53c21aeeca9a25 components/unity/unity (v2.4.3-51-g7d2bf62)
Who is online
Users browsing this forum: No registered users and 66 guests