AWS Freertos Linker script error

Hello all,

Has anyone faced any such error as mentioned below in AWS freertos ?

linker script generation failed for /home/mohit/Documents/amazon-freertos/vendors/espressif/esp-idf/components/esp32/ld/
ERROR: failed to parse /home/mohit/Documents/amazon-freertos/vendors/espressif/esp-idf/components/esp_event/linker.lf
Expected end of text, found 'i'  (at char 0), (line:1, col:1)
make[2]: *** [esp-idf/esp32/CMakeFiles/__ldgen_output_esp32.project.ld.dir/build.make:157: esp-idf/esp32/ld/esp32.project.ld] Error 1
make[1]: *** [CMakeFiles/Makefile2:5252: esp-idf/esp32/CMakeFiles/__ldgen_output_esp32.project.ld.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

How to overcome this ? Is it due to some compiler issues ?

Thanks in advance.

It seems that the build system pre-processes a linker script template to generate the final linker script used by the compiler/linker of your (GCC ?) tool chain. I think it’s not a compiler issue, but a build system (configuration) problem.
Sorry - I’m not familiar with the espressif build system. Maybe you find something helpful in their forum.

Try downgrading the pyparsing

pip uninstall pyparsing
pip install pyparsing==2.2.0