Hi...
So, I'm doing this project on Ethernet Communication using LPC2378 for school. I compiled and built my project and ended up with a couple of linker errors, all of which look like this:
led.axf: Error: L6200E: Symbol init_TcpNet multiply defined (by at_system.o and at_system.o).
I know that the error is telling me that I have defined init_TcpNet multiple times, but I havent. Because init_TcpNet is supposed to be defined in the TCP_ARM_L library, which I have included in my project along with its debug version.
Hints and directions of any kind will be appreciated.
Thanks.
The debug version of the library isn't a complement to the normal library. It is a complete replacement of the ordinary library with more "chatty" versions of the different functions.
So you obviously can't link both libraries for the same target, without getting serious problems with linker errors.
Got it!!! Thanks both of you!! :D
@ Per Westermark: Ummm... What do you mean "chatty"?
Debug builds can mean different things.
On one hand, a debug build can mean that the code is built with little optimization and full debug information, to make it easy to single-step the code in a debugger.
A debug build can also be code that is instrumented, so there may be extra "assert" statements, and extra printout code, to help catch errors even when not single-stepping in a debugger.