[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.rtsc] Re: compilation error in "RTSC Module Primer" Lesson2

it looks like you are using a "pre-release" of xdctools 3.15, which you may have received in some beta of CCS4

i would recommend downloading the "latest" xdctools 3.15 referenced via the link in lesson 0....

the examples -- which *are* prebuilt -- were built with 3.15.00.33... you should use this (or a later!!) version of the tools....

i'll update lesson 0 itself to state this dependency....

my recommendation is that you update to 3.15.00.50, which is the "real" 3.15 release from what i understand; it should be compatible with the pre-built examples....


olivier Paviot wrote:
Hello,

I'm running the "RTSC Module Primer" tutorial.

Lesson0 and Lesson1 are OK.

When compiling Lesson2 (and Lesson3) with "gmake all", I get the following message:

/*********************************************************************************/

C:\userData\rtsc\examples\lesson2>gmake clean
C:/CCStudio_v4.0/xdctools_3_15_00_13/bin/rm -rf cfgsite *.obj *.out

C:\userData\rtsc\examples\lesson2>gmake all
C:/CCStudio_v4.0/xdctools_3_15_00_13/xs xdc.tools.configuro -c C:/CCStudio_v4.0/CCSv4/tools/compiler/c6000_6_1_6 -t ti.targets.C64P -p ti.platforms.sim64Pxx -o
cfgsite prog.cfg
making package.mak (because of package.bld) ...
generating interfaces for package cfgsite (because package/package.xdc.inc is older than package.xdc) ...
configuring prog.x64P from package/cfg/prog_x64P.cfg ...
cl64P package/cfg/prog_x64P.c ...
"package/cfg/prog_x64P.c", line 527: error: "acme_utils_Bench_Module_State" has already been declared in the current scope


"package/cfg/prog_x64P.c", line 534: error: declaration is incompatible with "struct acme_utils_Bench_Module_State__ acme_utils_Bench_Module__state__V" (declared at line 280 of "C:/userData/rtsc/examples/acme/utils/Bench.h")>> Compilation failure

2 errors detected in the compilation of "package/cfg/prog_x64P.c".
gmake.exe: *** [package/cfg/prog_x64P.o64P] Error 1
js: "C:/CCStudio_v4.0/xdctools_3_15_00_13/packages/xdc/tools/Cmdr.xs", line 40:
Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [cfgsite/compiler.opt] Error 1


C:\userData\rtsc\examples\lesson2>
/*****************************************************************************/



Any idea what could be the problem?

Thanks in advance for your help,

have a good day.

Br,

Olivier