Eralt / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

IDE decides core directory is a library due to #include, results in multiply defined symbols. #387

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Arduino-0019 or later on Mac, in the normal applications directory.
2. Rename and move to /Applications/arduino/Ardino-21.app
3. open and try to build the ArduinoISP example program.

What is the expected output? What do you see instead?
Expected output is a successful compile.  Actual output is complaints about 
multiply defined symbols (attached.)  Apparently the IDE has decided (because 
of the #include "pins_arduino.h" that the hardware/arduino/cores/arduino 
directory is a LIBRARY, so it compiles everything there again and includes them 
in the final link step (as well as the .a file that already contains them!)

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
This apparently starts in 0019; an 0018 install works OK.
MacOSX 10.5.8, not board specific (first seen with diecimilla with 168)

Please provide any additional information below.

Original issue reported on code.google.com by wes...@gmail.com on 24 Oct 2010 at 4:23

Attachments:

GoogleCodeExporter commented 9 years ago
Can't duplicate this issue with Arduino IDE 1.0.

Original comment by rsb...@gmail.com on 18 Feb 2012 at 4:53

GoogleCodeExporter commented 9 years ago
rsbohn: I appreciate you trying this out, but I'd like to leave it open until 
we hear back from westfw.  

WestFW, does this still seem to be a problem?

Original comment by dmel...@gmail.com on 19 Feb 2012 at 1:12

GoogleCodeExporter commented 9 years ago
I'm not sure that the description of the problem is accurate any more.
I've had situations where this no longer occurs, and times where I get the 
"multiply defined symbol" problem that seems to be more likely to be due to not 
cleaning the build directory of the previously compiled sketch remnants.  In 
some way that I've yet to narrow down...

I'd be OK with closing this; I can open a better-described version if I figure 
out what is going on.

Original comment by wes...@gmail.com on 16 Mar 2012 at 4:32

GoogleCodeExporter commented 9 years ago
Okay, thanks for checking it.

Original comment by dmel...@gmail.com on 16 Mar 2012 at 2:42