Parsing sections error

hustenhabas
Posts: 18
Joined: Tue Sep 14, 2021 2:18 pm

Parsing sections error

Postby hustenhabas » Thu Mar 17, 2022 7:57 pm

Hello, Im compiling for esp32 and I cant fix this error:

Code: Select all

[2/6] Generating ld/sections.ld
FAILED: esp-idf/esp_system/ld/sections.ld

Code: Select all

Traceback (most recent call last):
  File "/home/rafael/esp/esp-idf/tools/ldgen/entity.py", line 136, in add_sections_info
    results = parser.parseString(first_line, parseAll=True)
  File "/home/rafael/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pyparsing.py", line 1814, in parseString
    raise exc
  File "/home/rafael/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pyparsing.py", line 1804, in parseString
    loc, tokens = self._parse( instring, 0 )
  File "/home/rafael/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pyparsing.py", line 1548, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/home/rafael/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pyparsing.py", line 3705, in parseImpl
    loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False )
  File "/home/rafael/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pyparsing.py", line 1552, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/home/rafael/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pyparsing.py", line 4067, in parseImpl
    return self.expr._parse( instring, loc, doActions, callPreParse=False )
  File "/home/rafael/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pyparsing.py", line 1552, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/home/rafael/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pyparsing.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 "/home/rafael/esp/esp-idf/tools/ldgen/ldgen.py", line 178, in <module>
    main()
  File "/home/rafael/esp/esp-idf/tools/ldgen/ldgen.py", line 136, in main
    sections_infos.add_sections_info(dump)
  File "/home/rafael/esp/esp-idf/tools/ldgen/entity.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 /home/rafael/esp/ULIP32/build/esp-idf/esp_ringbuf/libesp_ringbuf.a failed. Expected "In archive" (at char 0), (line:1, col:1)
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

hustenhabas
Posts: 18
Joined: Tue Sep 14, 2021 2:18 pm

Re: Parsing sections error

Postby hustenhabas » Wed Apr 13, 2022 5:09 pm

it works when i remove /home/user/.espressif folder and run esp-idf/install.sh again

Who is online

Users browsing this forum: No registered users and 267 guests