Library Inclusion in CW 10 Application Project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Library Inclusion in CW 10 Application Project

Jump to solution
580 Views
jimfell
Contributor III

I have a CodeWarrior 10 application project that references multiple compiled libraries.  One of these libraries references yet another library.  All of the library projects build without any problems.  However, when I try to build my application project, it gets numerous link errors for undefined symbols, all of which are located in that one sub-library.  I thought that when building a library that references another library, that referenced library gets pulled into the library being built.  Is that not the case with CodeWarrior 10?  Is there a way to get CodeWarrior 10 to include referenced libraries in the final output when building a library project?

Labels (1)
0 Kudos
1 Solution
352 Views
jimfell
Contributor III

Hi CrasyCat.  We're using ColdFire V1.  However, I think that I've been able to resolve this particular issue.  The sub-library was missing a source file, which had the function definitions in question, when it was built.  It didn't complain when being built as a library because the function prototypes in the header file were declared as external.

View solution in original post

0 Kudos
2 Replies
352 Views
CrasyCat
Specialist III

Hello

   Which MCU are you targeting  (HCS08, Coldfire, Kinetis, ...)?

CrasyCat

0 Kudos
353 Views
jimfell
Contributor III

Hi CrasyCat.  We're using ColdFire V1.  However, I think that I've been able to resolve this particular issue.  The sub-library was missing a source file, which had the function definitions in question, when it was built.  It didn't complain when being built as a library because the function prototypes in the header file were declared as external.

0 Kudos