Other Parts Discussed in Thread: CCSTUDIO
This is text from an e-mail I sent TI tech support, with a response that I should use the forums to find an answer. My company purchases many products from TI, and I am a little shocked that there is no support from TI on an issue like this except through a forum. Please help:
Hi Michael,
Here is the issue:
I’m building two separate things. One is an infrastructure library (archived to a .lib file) that uses the CSL PCI. I’ve included the csl_pci.h file in the source code that makes the below PCI calls. The other is an executable build that includes the .lib file. I get the following linker error when building the executable:
undefined first referenced
symbol in file
--------- ----------------
PCI_xfrTest() T:\\UDB_SW\\dspi\\Source_Code\\build\\scm_build\\Dspi_Jpals.lib
PCI_xfrStart(unsigned int) T:\\UDB_SW\\dspi\\Source_Code\\build\\scm_build\\Dspi_Jpals.lib
PCI_intEnable(unsigned int) T:\\UDB_SW\\dspi\\Source_Code\\build\\scm_build\\Dspi_Jpals.lib
PCI_xfrConfig(PCI_ConfigXfr *) T:\\UDB_SW\\dspi\\Source_Code\\build\\scm_build\\Dspi_Jpals.lib
PCI_dspIntReqSet() T:\\UDB_SW\\dspi\\Source_Code\\build\\scm_build\\Dspi_Jpals.lib
PCI_eepromEraseAll() T:\\UDB_SW\\dspi\\Source_Code\\build\\scm_build\\Dspi_Jpals.lib
PCI_intClear(unsigned int) T:\\UDB_SW\\dspi\\Source_Code\\build\\scm_build\\Dspi_Jpals.lib
PCI_dspIntReqClear() T:\\UDB_SW\\dspi\\Source_Code\\build\\scm_build\\Dspi_Jpals.lib
>> error: symbol referencing errors - './Debug/JpalsDsp.out' not built
>> Compilation failure
Build Complete,
2 Errors, 2 Warnings, 0 Remarks.
Recursive Build Complete,
Total Count: 2 Errors, 2 Warnings, 0 Remarks.
I am using the C6416 chip, so I believe the PCI_SUPPORT compiler flag should already be defined according to the csl_chiphal.h file. Other libraries I am including in the build are:
fastrts64x.lib
dsp64x.lib
csl6416.lib
This is a little endian project, and I am using the “C6416 Device Cycle Accurate Simulator” (little endian version) to do the builds. I am using Code Composer v3.3.
Any help would be appreciated.
Thanks,
Loren
Northrop Grumman, Inc.
