本帖最后由 沈夜 于 2024-9-25 21:39 编辑
Ai-Thinker-WB2\applications\protocols\https_mbedtls>
错误信息
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: error: Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(rf.o): conflicting priv spec version (major/minor/revision).
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: failed to merge target specific data of file Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(rf.o)
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: error: Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(mm_task.o): conflicting priv spec version (major/minor/revision).
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: error: Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(mm_task.o): conflicting priv spec version (major/minor/revision).
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: failed to merge target specific data of file Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(mm_task.o)
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: error: Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(bl.o): conflicting priv spec version (major/minor/revision).
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: error: Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(bl.o): conflicting priv spec version (major/minor/revision).
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: failed to merge target specific data of file Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(bl.o)
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: error: Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(txl_cfm.o): conflicting priv spec version (major/minor/revision).
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: error: Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(txl_cfm.o): conflicting priv spec version (major/minor/revision).
y:/code/bl602/wb2/ai-thinker-wb2/toolchain/riscv/msys/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/bin/ld.exe: failed to merge target specific data of file Y:/code/bl602/wb2/Ai-Thinker-WB2/components/network/wifi/lib\libwifi.a(txl_cfm.o)
collect2.exe: error: ld returned 1 exit status
make: *** [/y/code/bl602/wb2/Ai-Thinker-WB2/applications/protocols/https_mbedtls/../../../make_scripts_riscv/project.mk:483: /y/code/bl602/wb2/Ai-Thinker-WB2/applications/protocols/https_mbedtls/build_out/https_mbedtls.elf] Error 1
已解决,sdk的路径选错了。
都可以正常 编译 且调用正常
|