ESP32 S3编译报错

DongGuaTou
Posts: 3
Joined: Mon Dec 27, 2021 9:16 am

ESP32 S3编译报错

Postby DongGuaTou » Mon Dec 27, 2021 9:31 am

编译结果报错:xtensa-esp32s3-elf/bin/ld: cannot find -lbtbb

-L "/home/dev/esp/esp-idf-release-v4.4/components/soc/esp32s3/ld" -T esp32s3.peripherals.ld /home/dev/esp/esp-idf-release-v4.4/components/xtensa/esp32s3/libxt_hal.a -Wl,--undefined=uxTopUsedPriority -u app_main -lm esp-idf/newlib/libnewlib.a -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_impl -u newlib_include_assert_impl -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 -lgcc esp-idf/cxx/libcxx.a -u __cxx_fatal_exception esp-idf/app_trace/libapp_trace.a -lgcov esp-idf/app_trace/libapp_trace.a -lgcov -lc && :
/home/dev/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: cannot find -lbtbb
/home/dev/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: cannot find -lbtbb
/home/dev/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-8.4.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: cannot find -lbtbb
collect2: error: ld returned 1 exit status

ESP_ICY
Posts: 404
Joined: Mon Aug 23, 2021 11:10 am

Re: ESP32 S3编译报错

Postby ESP_ICY » Tue Dec 28, 2021 3:17 am

这边使用的是什么版本的idf

DongGuaTou
Posts: 3
Joined: Mon Dec 27, 2021 9:16 am

Re: ESP32 S3编译报错

Postby DongGuaTou » Tue Dec 28, 2021 4:11 am

ESP-IDF v4.4.0

DongGuaTou
Posts: 3
Joined: Mon Dec 27, 2021 9:16 am

Re: ESP32 S3编译报错

Postby DongGuaTou » Tue Dec 28, 2021 7:42 am

我查到了,"/home/dev/esp/esp-idf-release-v4.4/components/esp_phy/lib/"目录下缺文件。 :(

ESP_ICY
Posts: 404
Joined: Mon Aug 23, 2021 11:10 am

Re: ESP32 S3编译报错

Postby ESP_ICY » Wed Dec 29, 2021 12:17 pm

更新下子模块,如果是使用的Linux,直接在目录下使用 git submodule update --init --recursive

Who is online

Users browsing this forum: No registered users and 85 guests