尽力了,还剩最后一个问题搞不定

zc-esp
Posts: 2
Joined: Mon May 02, 2022 3:51 pm

尽力了,还剩最后一个问题搞不定

Postby zc-esp » Mon May 02, 2022 3:57 pm

快完成的时候蹦出这问题,用的是官网最新的IDF:

/root/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: cannot find -lphy
/root/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: cannot find -lrtc
/root/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: cannot find -lphy
/root/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: cannot find -lrtc
/root/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: cannot find -lphy
/root/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: cannot find -lrtc
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

ESP_Eavo
Posts: 186
Joined: Tue Jun 08, 2021 6:23 am

Re: 尽力了,还剩最后一个问题搞不定

Postby ESP_Eavo » Mon May 09, 2022 8:19 am

麻烦参照提问规则提问,谢谢。

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: 尽力了,还剩最后一个问题搞不定

Postby ESP_Gargamel » Mon May 09, 2022 8:51 am

submodules 没有拉全。
git submodule update --init --recursive --progress 更新一下。

Who is online

Users browsing this forum: No registered users and 40 guests