我再进行编译的时候,出现如下问题,我看了所有的信息,均没找到答案,不知谁遇到过,怎么解决的?
环境windows 10 x64 vscode idf版本 v4.4.5
[2/6] Genera
ting ld/sections.ld
FAILED: esp-idf/esp_system/ld/sections.ld F:/esp32/hghff/hello_world/build/esp-idf/esp_system/ld/sections.ld
cmd.exe /C "cd /D F:esp32hghffhello_worldbuildesp-idfesp_system && D:Espressifpython_envidf4.4_py3.11_envScriptspython.exe D:/Espressif/frameworks/esp-idf-v4.4.5/tools/ldgen/ldgen.py --config F:/esp32/hghff/hello_w
orld/sdkconfig --fragments D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_ringbuf/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/driver/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components
/esp_pm/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/spi_flash/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_gdbstub/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/espcore
dump/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_phy/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_system/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_system/app.
lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/hal/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_event/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_wifi/linker.lf D:/Espres
sif/frameworks/esp-idf-v4.4.5/components/lwip/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/log/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/linker.lf D:/Espressif/frameworks/esp-idf-v
4.4.5/components/soc/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_hw_support/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/xtensa/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/co
mponents/esp_common/common.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_common/soc.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/freertos/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components
/newlib/newlib.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/newlib/system_libs.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/app_trace/linker.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/bt/link
er.lf D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_lcd/linker.lf --input D:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_system/ld/esp32/sections.ld.in --output F:/esp32/hghff/hello_world/build/esp-idf/esp_sy
stem/ld/sections.ld --kconfig D:/Espressif/frameworks/esp-idf-v4.4.5/Kconfig --env-file F:/esp32/hghff/hello_world/build/config.env --libraries-file F:/esp32/hghff/hello_world/build/ldgen_libraries --objdump D:/Espressif/tool
s/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-objdump.exe"
Traceback (most recent call last):
File "D:Espressifframeworksesp-idf-v4.4.5toolsldgenentity.py", line 136, in add_sections_info
results = parser.parseString(first_line, parseAll=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:Espressifpython_envidf4.4_py3.11_envLibsite-packagespyparsing.py", line 1814, in parseString
raise exc
File "D:Espressifpython_envidf4.4_py3.11_envLibsite-packagespyparsing.py", line 1804, in parseString
loc, tokens = self._parse( instring, 0 )
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:Espressifpython_envidf4.4_py3.11_envLibsite-packagespyparsing.py", line 1548, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:Espressifpython_envidf4.4_py3.11_envLibsite-packagespyparsing.py", line 3705, in parseImpl
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:Espressifpython_envidf4.4_py3.11_envLibsite-packagespyparsing.py", line 1552, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:Espressifpython_envidf4.4_py3.11_envLibsite-packagespyparsing.py", line 4067, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:Espressifpython_envidf4.4_py3.11_envLibsite-packagespyparsing.py", line 1552, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:Espressifpython_envidf4.4_py3.11_envLibsite-packagespyparsing.py", line 2625, in parseImpl
raise ParseException(instring, loc, self.errmsg, self)
pyparsing.ParseException: Expected "In archive" (at char 0), (line:1, col:1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:Espressifframeworksesp-idf-v4.4.5toolsldgenldgen.py", line 178, in
main()
File "D:Espressifframeworksesp-idf-v4.4.5toolsldgenldgen.py", line 136, in main
sections_infos.add_sections_info(dump)
File "D:Espressifframeworksesp-idf-v4.4.5toolsldgenentity.py", line 138, in add_sections_info
raise ParseException('Parsing sections info for library ' + sections_info_dump.name + ' failed. ' + p.msg)
pyparsing.ParseException: Parsing sections info for library F:/esp32/hghff/hello_world/build/esp-idf/esp_common/libesp_common.a failed. Expected "In archive" (at char 0), (line:1, col:1)
ninja: build stopped: subcommand failed.
* 终端进程“C:WindowsSystem32WindowsPowerShellv1.0powershell.exe -Command ninja ”已终止,退出代码: 1。