Reply by "Paolo Terraneo (Pro-Ware s.a.s.)" May 2, 20102010-05-02
Hi,
beside what Jeff said, I see you have a very old generation tool.
It seems you are not using 6.1.X (currently I'm using 6.1.13).
You can have it but may be you have not "enabled" it.

Help - About... will show you what you are using, click on Component Manager to select the versions you want to use (open Build Tools, then open the DSP family you are using and finally select the Code Generation version you want to use).
You may switch at any time between versions, you just have to rebuild.
If I remember well this setting is not in the workspace, it's like a static (project/workspace independent) setting.

terry64

_____________________________________
Reply by Jeff Brower April 29, 20102010-04-29
Anurag-

> I am developing Canopen drivers on TMS320F2812 and using
> Code composer studio version 3.3
> Bios version 5.31.02
> Code generation tools version 4.1.4.
>
> Each file is being compiled separately.All other project
> files are also compiling except this.
> Am getting an error like
>
> undefined first referenced
> symbol in file
> --------- ----------------
> _ECanaShadow C:\CCStudio_v3.3\MyProjects\CANOpen_Slave\Debug\CANOpen_Shell.obj
>>> error: symbol referencing errors - './Debug/CANOpen_Slave.out' not built
>
>>> Compilation failure
>
> Build Complete,
> 2 Errors, 5 Warnings, 0 Remarks.
>
> I searched the FAq link regarding CCS.
>
> Here actually it says
> You must be linking an object module built with compiler
> version 6.0.X (or higher) with a runtime support (RTS)
> library from compiler version 5.1.X (or lower).
> Two solutions exist. One: Upgrade from compiler version
> 5.1.X to 6.0.X (or later). Two: Change to using an older
> vendor library that was built with compiler version
> 5.1.X (or earlier).
>
> well i updated my CCS V3.3 With new released patch.
> Updated Code generation tools version also.
>
> STILL FACING THE SAME ERROR.

The error message is saying it can't find _ECanaShadow in *any* .obj or .lib file in your project. My guess is you
should trust CCS and assume it speaks the truth, and somehow that symbol is not visible in your project. Is
ECanaShadow a function? A var or structure? What does the C code reference to it look like?

One method I use from time-to-time is to open all referenced .obj and library (.l64, etc) files with a hex editor
(i.e. an editor that doesn't choke on non-ASCII contents) and search for the symbol name. This works because symbol
names are visible as standard text. If not found, then CCS is correct and a library or other file needs to be added
to the project (or possibly an update is needed). If found, then it's some other type of problem -- say like you
mentioned, a version incompatibility that causes the entire library file to be rejected.

-Jeff

_____________________________________
Reply by anurag367762 April 29, 20102010-04-29
Hello,
I am developing Canopen drivers on TMS320F2812 and using
Code composer studio version 3.3
Bios version 5.31.02
Code generation tools version 4.1.4.

Each file is being compiled separately.All other project files are also compiling except this.
Am getting an error like

undefined first referenced
symbol in file
--------- ----------------
_ECanaShadow C:\CCStudio_v3.3\MyProjects\CANOpen_Slave\Debug\CANOpen_Shell.obj
>> error: symbol referencing errors - './Debug/CANOpen_Slave.out' not built

>> Compilation failure

Build Complete,
2 Errors, 5 Warnings, 0 Remarks.

I searched the FAq link regarding CCS.

Here actually it says
You must be linking an object module built with compiler version 6.0.X (or higher) with a runtime support (RTS) library from compiler version 5.1.X (or lower).
Two solutions exist. One: Upgrade from compiler version 5.1.X to 6.0.X (or later). Two: Change to using an older vendor library that was built with compiler version 5.1.X (or earlier).

well i updated my CCS V3.3 With new released patch.Updated Code generation tools version also.

STILL FACING THE SAME ERROR.
PLEASE HELP.

Thankx in advance.
Regards,
Anurag
Bangalore

_____________________________________