spi_flash_hal.c.obj: file format not recognized 这是啥情况

韶华2100
Posts: 3
Joined: Fri May 15, 2020 7:46 am

spi_flash_hal.c.obj: file format not recognized 这是啥情况

Postby 韶华2100 » Fri May 15, 2020 8:02 am

esp_gcc_tool_link/xtensa-esp32-elf/bin/xtensa-esp32-elf-objdump: spi_flash_hal.c.obj: file format not recognized
Traceback (most recent call last):
File "/mnt/hgfs/Project/esp-idf-v4.0/tools/ldgen/ldgen.py", line 150, in <module>
main()
File "/mnt/hgfs/Project/esp-idf-v4.0/tools/ldgen/ldgen.py", line 106, in main
dump = StringIO(subprocess.check_output([objdump, "-h", library]).decode())
File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['/home/houqz/esp_gcc_tool_link/xtensa-esp32-elf/bin/xtensa-esp32-elf-objdump', '-h', '/mnt/hgfs/Project/wifi_gateway/build/esp-idf/soc/libsoc.a']' returned non-zero exit status 1
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 227 guests