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?
Solved! Go to Solution.
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.
Hello
Which MCU are you targeting (HCS08, Coldfire, Kinetis, ...)?
CrasyCat
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.