AnsweredAssumed Answered

BF561 -- Error li1152

Question asked by TRON on Feb 7, 2011
Latest reply on Mar 24, 2011 by CraigG

I've been trying to move more and more code to be shared for use by both cores instead of either CoreA or CoreB.

I've run into a problem where this linker error message is being reported by files that make use of:



Build error:

[Error li1152]  The following input file(s) must be unique across link:
    mapped in:
              common memory '.\Debug/' (2 instances)
    mapped in:
              common memory '.\Debug/' (2 instances)

Linker finished with 1 error and 1 warning
cc3089: fatal error: Link failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.



I believe the error message means that my source modules utils and FileSysMan contain function calls to functions that are not shared, meaning they're core specific (or functions that reside in core memory region). My problem is I'm having trouble figuring out what function calls are causing this. Is there anyway I can force the linker to tell me what function calls are being made that are responsible for the error? Because right now this error alone isn't very helpful at all.