This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6000 Linker Unresolved Symbols ccsLinker.opt

I am trying to link the DSPLIB (dsplib_c64Px_3_2_0_1) on c674x.  I'm using CCS Version: 5.5.0.00077, compiler v7.4.5, BIOS 5.42.1.09.

When I link the library (dsplib.lib) in a small CCS project, it links as expected.

However, when I try to link the library normally in my dev project which is much larger, the compiler succeeds and the linker complains of "unresolved symbols", basically telling me it can't find the function definitions inside the library.  So, compile succeeds, there is no mention of the .lib not being found, but the linker bombs.  I also noticed that the xml_link_info file makes no mention of the .lib file anywhere.

One note, and possibly the only difference I see between the smaller project that works and the larger project is that the linker invokes the ccsLinker.opt file for the larger project.  I can see that the ccsLinker.opt file is generated in a reasonable manner (i.e. dsplib.lib is there).

Also, other libraries previously ported into this larger project work fine, just not the DSPLIB mentioned above.

Any help would be greatly appreciated.

Thanks.

  • Can you copy and paste the full output of the CCS build console (including the linker unresolved symbol errors) to a text file and attach it here? Also please attach the ccsLinker.opt file. If you can attach these files for both builds (the one that works with the smaller project and the one that errors with the larger project) that would be helpful.