Page 1 of 1

Some problems encountered in Compile

Posted: Wed May 01, 2019 9:32 am
by 260998842
Generating libwpa_supplicant.a.sections_info
Generating libxtensa-debug-module.a.sections_info
Generating esp32.project.ld
Traceback (most recent call last):
File "/home/carl/桌面/esp-idf/tools/ldgen/ldgen.py", line 113, in <module>
main()
File "/home/carl/桌面/esp-idf/tools/ldgen/ldgen.py", line 88, in main
sections_infos.add_sections_info(sections_info_file_obj)
File "/home/carl/桌面/esp-idf/tools/ldgen/generation.py", line 606, in add_sections_info
raise ParseException("File " + sections_info_file.name + " is not a valid sections info file. " + p.message)
pyparsing.ParseException: File /home/carl/桌面/esp-idf/app/build/app_trace/libapp_trace.a.sections_info is not a valid sections info file. (at char 0), (line:1, col:1)
/home/carl/桌面/esp-idf/components/esp32/Makefile.projbuild:50: recipe for target '/home/carl/桌面/esp-idf/app/build/esp32/esp32.project.ld' failed
make: *** [/home/carl/桌面/esp-idf/app/build/esp32/esp32.project.ld] Error 1

I use win10 and ubuntu18.04 to compile ESP32 project and all meet this probliem, but when compile other ESP8266 project(use lx106 toolchain) it is no error occurr

i need some help , the PC environment is new, i use old PC to compile is OK..... why....

Re: Some problems encountered in Compile

Posted: Wed May 01, 2019 11:27 am
by ESP_Sprite
Can you see if renaming the folder with Chinese characters in it to something that has normal ASCII characters in it works? If not, can you post /home/carl/桌面/esp-idf/app/build/app_trace/libapp_trace.a.sections_info here?