Some problems encountered in Compile

260998842
Posts: 1
Joined: Wed May 01, 2019 9:18 am

Some problems encountered in Compile

Postby 260998842 » Wed May 01, 2019 9:32 am

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....

ESP_Sprite
Posts: 8926
Joined: Thu Nov 26, 2015 4:08 am

Re: Some problems encountered in Compile

Postby ESP_Sprite » Wed May 01, 2019 11:27 am

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?

Who is online

Users browsing this forum: Bing [Bot], jgrossholtz and 188 guests