Page 1 of 1

cannot open linker script file

Posted: Tue Nov 27, 2018 2:07 pm
by Patrik Celin
Hi,
I've upgrade ESP-IDF from v.3.2-beta1 to v.3.3-dev and I've got an error with the linker also with hello-world example:

"linker script generation failed for /esp-idf/components/esp32/ld/esp32.commonld.in
ERROR:
LD build/hello-world.elf
/../../../xtensa-esp32-elf/bin/ld:
cannot open linker script file /esp/hello_world/build/esp32.common.ld: No such file or directory
collect2: error: ld returned 1 exit status"

Some idea?
Thanks
Best Regards

Re: cannot open linker script file

Posted: Tue Nov 27, 2018 2:42 pm
by ESP_igrr
Could you please run 'make list-components' and paste the output?

Re: cannot open linker script file

Posted: Tue Nov 27, 2018 2:53 pm
by Patrik Celin
Sure!
out.txt
(2.88 KiB) Downloaded 968 times

Re: cannot open linker script file

Posted: Wed Nov 28, 2018 9:42 am
by gigijoe
I'm facing exactly the same problem ...

Re: cannot open linker script file

Posted: Wed Nov 28, 2018 10:55 am
by MindReader32
Hi,

I'm also facing exactly the same issue with fa59b1b1c9e9085dde5fb2bbc7610bbdb2289741

I've attach an edited version of make list-components. It has my projects components and pathnames omitted for NDA reasons.

Thanks

Re: cannot open linker script file

Posted: Mon Dec 03, 2018 4:24 am
by ESP_Angus
Hi all,

Please update to the latest master branch. We've fixed some ldgen linker script generation issues, but also improved the error messages so if still fails there should be more information given about why.

Angus

Re: cannot open linker script file

Posted: Fri Dec 07, 2018 9:33 am
by Patrik Celin
Ok, with the last release of the master is fixed.

Thanks