Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Issue With Arduino CDT & ESP8266 Program
Issue With Arduino CDT & ESP8266 Program [message #1794972] Tue, 11 September 2018 23:05 Go to next message
The sed is currently offline The sedFriend
Messages: 1
Registered: September 2018
Junior Member
Hello all,

I am trying to compile a Generic ESP8266 Module program using the Arduino CDT plugin. I installed a fresh instance of Eclipse Photon, downloaded the esp8266 board using the Arduino Downloads manager, and tried to compile a basic program and receive this error:

c:/users/kmahajan/.arduinocdt/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: cannot open linker script file ../ld/ No such file or directory
collect2.exe: error: ld returned 1 exit status
make: *** [Tesst.elf] Error 1
makefile:101: recipe for target 'Tesst.elf' failed

This program does compile in the Arduino IDE, but when I bring it over to Eclipse, it does not compile. Does anyone have any suggestion on how I can get any program to compile for the ESP8266 module? Any good documentation for setting up the esp8266 in Arduino correctly? Thanks guys.
Re: Issue With Arduino CDT & ESP8266 Program [message #1795280 is a reply to message #1794972] Wed, 19 September 2018 18:37 Go to previous message
Paolo Borsi is currently offline Paolo BorsiFriend
Messages: 1
Registered: September 2018
Junior Member
I had the same problem and then I've found a solution.

Following advices from here:

I modified the file


at line 98 and added ( in bold )

recipe.c.combine.pattern={recipe.hooks.linking.prelink.1.pattern};"{compiler.path}{compiler.c.elf.cmd}" -Wl,-Map "-Wl,{build.path}/{build.project_name}.map" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/" {compiler.c.elf.libs} -Wl,--end-group "-L{build.path}"

Hope it helps
Previous Topic:Errors exist in the active configuration
Next Topic:Real time refresh of "expressions" ( Global ) - Error: Target not available.
Goto Forum:

Current Time: Tue Nov 20 08:29:14 GMT 2018

Powered by FUDForum. Page generated in 0.01765 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top