Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Build issue with static libraries(linker can't resolve some library procedure symbol names)
Build issue with static libraries [message #1262501] Mon, 03 March 2014 18:00
michael schmid is currently offline michael schmidFriend
Messages: 4
Registered: November 2013
Junior Member
I first posted on Eclipse general Forum, then re-posted here.

First let me say I can build my project using the same Linaro GCC eabi
tools chain without this issue, when invoking the build process from
the command line. Also I should mention that libraries are static
libraries.

My issue is when I try to build from within Eclipse ( using external
Linaro GCC non-linux) for some reason the linker reports undefined
procedure library names (symbols). The procedures that are giving me
issues are called from another library, I do have the link order
correct and set the same as when I build outside of eclipse. I even
went so far as to use --start-group with --end-group options for both
of the dependent libraries still no luck.
What I eventually had to do was add the linker option --whole-archive
when I build from Eclipse, but this is not required when I build the
project from the command line make.

Can someone help me to understand why I need to do this? Is there a better way to clean this up?

Any help here would be appreciated.
Previous Topic:undefined reference to C-Code function from C++ project
Next Topic:JNI symbols could not be resolved
Goto Forum:
  


Current Time: Fri Mar 29 05:39:58 GMT 2024

Powered by FUDForum. Page generated in 0.03788 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top