| Build issue with static libraries [message #1259954] |
Fri, 28 February 2014 19:16  |
Eclipse User |
|
|
|
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.
Does Someone understand why I need to do this?
It took 2.5 days to figure out this solution.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.58712 seconds