Trying to port an program for this platform, I get the following error:
final link failed: Bad value LoadCell3 C/C++ Problem
LoadCell3.elf: hidden symbol `__dso_handle' isn't defined LoadCell3 C/C++ Problem
make: *** [makefile:62: LoadCell3.elf] Error 1 LoadCell3 C/C++ Problem
undefined reference to `__dso_handle' LoadCell3 line 71, external location: \home\ubuntu\build\.build\HOST-mingw32\arm-unknown-eabi\src\gcc\libstdc++-v3\src\c++11\system_error.cc C/C++ Problem
undefined reference to `__dso_handle' LoadCell3 line 75, external location: \home\ubuntu\build\.build\HOST-mingw32\arm-unknown-eabi\src\gcc\libstdc++-v3\src\c++11\cxx11-ios_failure.cc C/C++ Problem
It builds without any errors on the MOD5441X target platform.
Any idea how to resolve this error?
Ed
Linker error building V 3.0.0 for MODM7AE70
Re: Linker error building V 3.0.0 for MODM7AE70
More on this...
I loaded the SimpleHtml project and compiled it. It worked fine.
I added the following code after the other #includes:
and I get the error: "undefined reference to `__dso_handle'" and it fails.
Also, #include <iostream> and using std::cout gives me the same error.
I loaded the SimpleHtml project and compiled it. It worked fine.
I added the following code after the other #includes:
Code: Select all
#include <sstream>
std::ostringstream Reading;
Also, #include <iostream> and using std::cout gives me the same error.
Re: Linker error building V 3.0.0 for MODM7AE70
Looks like we missed the standard c++ library inclusion. While I fixed this on our side and it will be fixed in 3.0.1, you can fix it on your side by right clicking on your project and going to Properties. See included image. Basically, you need to add stdc++ as an include library.
- Attachments
-
- Properties-for-project.png (138.88 KiB) Viewed 2053 times
Forrest Stanley
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn