VS Arduino
Visual Micro >> General Board >> Multiple Definitions problem
https://www.visualmicro.com/forums/YaBB.pl?num=1532834724

Message started by Bob Jones on Jul 29th, 2018 at 3:25am

Title: Multiple Definitions problem
Post by Bob Jones on Jul 29th, 2018 at 3:25am
Tim,

I keep getting stung by messages like this one:


Code (c++):
BJRF24SendReceive.cpp.o (symbol from plugin)*: In function BJRF24SendReceive::receive()
(.text+0x0)*: multiple definition of serial_putc(char, __file*)


These messages are so bloody cryptic that the only information I can see is that the file that contains the receive function appears to have been included twice... or not.

Is there a way to dump the symbol table and look at what the linker is barfing on?

Bob
p.s. I made it over last week's hurdles with your help. Thanks!

Title: Re: Multiple Definitions problem
Post by Bob Jones on Jul 29th, 2018 at 3:27am
Here's the worst offender:


Code (c++):
RemoteControllerV3.1.0.cpp.o (symbol from plugin)*: (.text+0x0): first defined here


Where is "here?" ;D  >:( :(

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.