TI E2E Community
Code Composer Studio
Code Composer Forum
Unresolved symbol erros on CSL
I do not want to double post (see here), but as my old answer was marked as "suggested answer" I assume that the support team does not read it anymore, anyway it is another problem so it should be on his own post.
I try to convert my old c6713 projects (done with CCSV2.2, bios and CSL support) to CCSV4. Changing the bios from 4.9.x to 5.4 was also a challenge but is done (see post before), now I have an other problem which I can not explain. I add the CSL to all search pathes, but there are still some unresolved symbol erros:
undefined first referenced symbol in file --------- ---------------- _CACHE_reset C:/Works_Software/MCWD20/Debug/main.obj _EDMA_allocTable C:/Works_Software/MCWD20/Debug/edma_mcasp1.obj _EDMA_intAlloc C:/Works_Software/MCWD20/Debug/edma_mcasp1.obj _EDMA_intDispatcher C:/Works_Software/MCWD20/Debug/c6713cfg.obj _EDMA_intHook C:/Works_Software/MCWD20/Debug/edma_mcasp1.obj _EDMA_map C:/Works_Software/MCWD20/Debug/edma_mcasp1.obj _EDMA_open C:/Works_Software/MCWD20/Debug/edma_mcasp1.obj _EDMA_resetAll C:/Works_Software/MCWD20/Debug/main.obj _GPIO_clear C:/Works_Software/MCWD20/Debug/gpio.obj _GPIO_open C:/Works_Software/MCWD20/Debug/gpio.obj _I2C_open C:/Works_Software/MCWD20/Debug/i2c0.obj _MCASP_enableClk C:/Works_Software/MCWD20/Debug/mcasp1.obj _MCASP_enableFsync C:/Works_Software/MCWD20/Debug/mcasp1.obj _MCASP_enableHclk C:/Works_Software/MCWD20/Debug/mcasp1.obj _MCASP_enableSers C:/Works_Software/MCWD20/Debug/mcasp1.obj _MCASP_enableSm C:/Works_Software/MCWD20/Debug/mcasp1.obj _MCASP_open C:/Works_Software/MCWD20/Debug/mcasp1.obj _MCASP_reset C:/Works_Software/MCWD20/Debug/mcasp1.obj _TIMER_open C:/Works_Software/MCWD20/Debug/timer1.obj __IRQ_eventTable C:/Works_Software/MCWD20/Debug/main.obj error: unresolved symbols remainerror: errors encountered during linking; "C:/Works_Software/MCWD20/Debug/MCWD20_Debug.out" not built
Is there any other libary I have to add? Or is there a file I have to add because I changed the bios version (additional to the *.tcf file)?
I've read some other topics here (like this http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/137625.aspx#495721) and it seems like the same problem, you'll have to add a csl lib to the linker file search path (i'm not sure where this is located in ccs 4).
Ps: the link for your older post is not working.
Max is correct. You are not linking in the CSL lib. You specifically need csl6713.lib. You can get it here:
Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide
Click here to track an issue. Enter your bug id in the "Find Record ID" box
Thanks for your replies! My failure was to just include the CSL to the 'search path' in the linker.
If it should work I have also to add the csl6713.lib libary directly to the linker (that can be done in CCSV4 in the Project Settings>C/C++ Build>C6000 Linker>File Search Path -> "Include libary file or command file as input")!
Thanks again everybody!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.