Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Reply To: libxDot_mbed5 linker error in MBED online compiler

$
0
0

Hi again,

Just to update, the compiler/linker errors I kept getting were not helpful enough to track down the problem. Suspecting that it was probably something subtle to do with libraries being stale, I rebuilt my design in a fresh space and reimported brand new xdot (production) and mbed-os libraries from github and my linker problems went away.

I now have a design that builds to a binary, which it great. However, the compiler is still throwing out a cryptic-looking warning that looks ominously like there is something wrong with ostream

To be honest, I can’t make any sense out of the warning.

I will ignore this for now (until it bites me) but you might want to have a look, and if you can see what the problem is please let me know.

I am working from the latest production version of the xdot library and the latest mbed os version (as of today), in the MBED online compiler environment.

Warning: L6439W: Multiply defined Global Symbol std::__1::basic_ostream<char, std::__1::char_traits<char>>::sentry::sentry__sub_object(std::__1::basic_ostream<char, std::__1::char_traits<char>>&) defined in .text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_(/opt/ARMCompiler6.13.0.8/bin/../lib/libcxx/libcpp_w.l(ios.cpp.o)) rejected in favor of Symbol defined in .text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_(../../build/src/read_gnss_data.MTB_MTS_XDOT.o).

  • This reply was modified 11 hours, 8 minutes ago by  Justin Spangaro. Reason: added "linker" errors

Viewing all articles
Browse latest Browse all 7111

Trending Articles