Other Parts Discussed in Thread: CCSTUDIO, SYSBIOS
Hi
Just an FYI.
If you change from CGT v6 to CGT v7 (done by right click on project -> Build Properties -> CCS Build -> Code Generation Tools), the "Runtime Support Library may change to "automatic". That will cause you to get the errors below. I had to re-select rts64plus.lib. (thanks to Piyush P on this solution).
If you return back to CGT v6, you will have to re-select your runtime lib again.
Cheers
'Invoking: Linker'
"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.0.1/bin/cl6x" -mv64+ -g --define=_DEBUG --define=USE_BIOS_6 --define=_OS_SUPPORT --define=_COM_BENCH --define=CHIP_C6474 --diag_warning=225 -z -m"testDIO_preFramework_bios6.map" --warn_sections -i"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.0.1/lib" -i"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.0.1/include" -i"C:/CCStudio_v3.3/C6000/csl_c6474/lib" -i"C:/CCStudio_v3.3/C6000/csl_c64xplus_intc/lib" -i"C:/CCStudio_v3.3/boards/evmc6474_v1/lib" --reread_libs --rom_model -l"C:/Work/CCSv4/testDIO_preFramework_bios6_configuration/Default/configPkg/linker.cmd" -o "testDIO_preFramework_bios6.out" "./srio_interface.obj" "./main_testSrio.obj" "./cslUtils.obj" -l"evm6474bsl.lib" -l"csl_c6474.lib" -l"csl_c64xplus_intc.lib" -l"libc.a" "C:/Work/CCSv4/DirectIO_lib/lib/DirectIO_Debug_C6474.lib" "C:/CCStudio_v3.3/boards/evmc6474_v1/lib/evm6474bsl.lib"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_HOSTwrite C:\Work\CCSv4\testDIO_preFramework_bios6_configuration\Default\configPkg\package\cfg\common_x64P.o64P
__args_main C:\Program Files\Texas Instruments\bios_6_21_00_13\packages\ti\targets\rts6000\lib\boot.a64P<boot.o64P>
__divlli C:\Program Files\Texas Instruments\bios_6_21_00_13\packages\ti\sysbios\timers\timer64\lib\whole_program_debug\ti.sysbios.timers.timer64.a64P<Timer.o64P>
__divu C:\Program Files\Texas Instruments\bios_6_21_00_13\packages\ti\sysbios\utils\lib\whole_program_debug\ti.sysbios.utils.a64P<Load.o64P>
__nop C:\Work\CCSv4\testDIO_preFramework_bios6_configuration\Default\configPkg\package\cfg\common_x64P.o64P
__register_lock C:\Work\CCSv4\testDIO_preFramework_bios6_configuration\Default\configPkg\package\cfg\common_x64P.o64P
__register_unlock C:\Work\CCSv4\testDIO_preFramework_bios6_configuration\Default\configPkg\package\cfg\common_x64P.o64P
>> Compilation failure
__remu C:\Program Files\Texas Instruments\bios_6_21_00_13\packages\ti\sysbios\timers\timer64\lib\whole_program_debug\ti.sysbios.timers.timer64.a64P<Timer.o64P>
_abort C:\Program Files\Texas Instruments\bios_6_21_00_13\packages\ti\targets\rts6000\lib\ti.targets.rts6000.a64P<System.o64P>
_atexit C:\Program Files\Texas Instruments\bios_6_21_00_13\packages\ti\targets\rts6000\lib\ti.targets.rts6000.a64P<System.o64P>
_exit C:\Program Files\Texas Instruments\bios_6_21_00_13\packages\ti\targets\rts6000\lib\ti.targets.rts6000.a64P<System.o64P>
_free C:/Work/CCSv4/DirectIO_lib/lib/DirectIO_Debug_C6474.lib<DIO_streamingReq.obj>
_malloc C:/Work/CCSv4/DirectIO_lib/lib/DirectIO_Debug_C6474.lib<DIO_streamingReq.obj>
_memcpy C:\Program Files\Texas Instruments\ipc_1_20_00_14_eng\packages\ti\sdo\utils\lib\whole_program_debug\ti.sdo.utils.a64P<NameServer.o64P>
_memset C:\Program Files\Texas Instruments\bios_6_21_00_13\packages\ti\targets\rts6000\lib\ti.targets.rts6000.a64P<SysMin.o64P>
_strlen C:\Program Files\Texas Instruments\ipc_1_20_00_14_eng\packages\ti\sdo\io\converters\lib\whole_program_debug\ti.sdo.io.converters.a64P<DriverAdapter.o64P>
_strncmp C:\Program Files\Texas Instruments\ipc_1_20_00_14_eng\packages\ti\sdo\utils\lib\whole_program_debug\ti.sdo.utils.a64P<NameServer.o64P>
error: unresolved symbols remain
error: errors encountered during linking; "testDIO_preFramework_bios6.out" not
built
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [testDIO_preFramework_bios6.out] Error 1
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.