Hello,
I am attempting to redefine malloc() and free() in an RTSC application but am running into conflicts when linking.
I was initially getting errors similar to the following when trying to link:
error #10056: symbol "malloc" redefined: first defined in "myapp.obj"; redefined
in ".../package/cfg/app_pe66.oe66"
I found this thread:
http://e2e.ti.com/support/embedded/tirtos/f/355/p/334867/1169434
I followed the suggestion there of adding this line to my .cfg file:
var HeapStd = xdc.useModule('xdc.runtime.HeapStd');
I now get the errors similar to the following when linking:
error #10056: symbol "malloc" redefined: first defined in "myapp.obj"; redefined
in "/opt/ti/C6000CGT7.4.2/lib/rts6600_elf.lib<memory.obj>"
I am using SYSBIOS 6.34.04.22
Regards,
Chris
Signalogic, Inc.