Page 1 of 1

read in flex scanner failed

Posted: Sat Mar 16, 2024 10:25 am
by RamPrasanth
Hello,

I have this following error for a while and could not figure out the cause. I have already checked about this error and the problem was mostly about adding linker script, but in this case, the error is in esp-idf's tools, which is supposed to work fine without any modifications, although it could be that some setting from my side is causing this error, I am not sure.

OS: Ubuntu 22.04.4 LTS
esp-idf version: 5.2.
executing this code in Linux command line. Because this is a private project, I cannot share more details about the project itself, however, if you have suggestions or if you think it is a known issue, please let me know, I open to provide info as much as I can.

Code: Select all

/home/ram/esp/esp-idf/tools/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: read in flex scanner failed
Thank you in advance.

Kind Regards,
Ram