cannot open linker script file

Patrik Celin
Posts: 5
Joined: Tue Nov 27, 2018 1:29 pm

cannot open linker script file

Postby Patrik Celin » Tue Nov 27, 2018 2:07 pm

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

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: cannot open linker script file

Postby ESP_igrr » Tue Nov 27, 2018 2:42 pm

Could you please run 'make list-components' and paste the output?

Patrik Celin
Posts: 5
Joined: Tue Nov 27, 2018 1:29 pm

Re: cannot open linker script file

Postby Patrik Celin » Tue Nov 27, 2018 2:53 pm

Sure!
out.txt
(2.88 KiB) Downloaded 968 times

gigijoe
Posts: 21
Joined: Wed Aug 02, 2017 10:16 am

Re: cannot open linker script file

Postby gigijoe » Wed Nov 28, 2018 9:42 am

I'm facing exactly the same problem ...

MindReader32
Posts: 25
Joined: Mon May 14, 2018 8:33 am

Re: cannot open linker script file

Postby MindReader32 » Wed Nov 28, 2018 10:55 am

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
Attachments
out.txt
(3.8 KiB) Downloaded 941 times

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: cannot open linker script file

Postby ESP_Angus » Mon Dec 03, 2018 4:24 am

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

Patrik Celin
Posts: 5
Joined: Tue Nov 27, 2018 1:29 pm

Re: cannot open linker script file

Postby Patrik Celin » Fri Dec 07, 2018 9:33 am

Ok, with the last release of the master is fixed.

Thanks

Who is online

Users browsing this forum: Bing [Bot] and 92 guests