All
Here is my configuration:
{ CCS: Version: 4.2.0.10017 / CGTools: 7.0.4 / SYS/BIOS 6.30.02.42 / IPC 1.21.02.23}
I am using the message_single example for C6472 as boiler-plate.
It seems like including the IPC package does not pull in the link dependency for ti.sdo.ipc.gates(?)
I also tried changing the platform from ti.sdo.ipc.examples.platforms.evm6472.core0 to ti.platforms.evm6472, but, no luck.
------------------------------------------------------------------------------------------------------
undefined first referenced
symbol in file
--------- ----------------
_ti_sdo_ipc_gates_GateHWSem_Object__create__S ./message_single.obj
_ti_sdo_ipc_gates_GateHWSem_Params__init__S ./message_single.obj
error: unresolved symbols remain
error: errors encountered during linking; "test4.out" not built
------------------------------------------------------------------------------------------------------
I even tried adding the library explicitly as follows, but no luck.
If memory serves, the 7x toolchain default is COFF... and I've confirmed that the archive has the required symbols and is COFF as well
'Building target: test4.out'
'Invoking: Linker'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.0.4/bin/cl6x" -mv64+ -g --diag_warning=225 -z -m"test4.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.0.4/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.0.4/include" --reread_libs --rom_model -o "test4.out" -l"./configPkg/linker.cmd" "./message_single.obj" -l"libc.a" -l"C:\Program Files\Texas Instruments\ipc_1_21_02_23\packages\ti\sdo\ipc\gates\lib\whole_program_debug\ti.sdo.ipc.gates.a64P"
A quick response is greatly appreciated.
Thanks!