Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: #10010 and #10056 erorrs in ALL example programs

$
0
0

[quote user="Chester Gillon"]These errors are because projects have ended up with both a tm4c123gh6pm_startup_ccs.c source file from the CCS installation and the startup_ccs.c source file from the TivaWare example project. When the existing TivaWare example project is imported, only the startup_ccs.c source file from the TivaWare example project should be added to the project.

Not sure what caused this error, as haven't been able to repeat it - when TivaWare example projects were imported only the startup_ccs.c source file was part to the project.[/quote]Have now managed to re-create those errors:

1) Import an example from  TivaWare_C_Series-2.0.1.11577 into a CCS 5.5 workspace.

2) The following warning is reported:[quote]This project was created using a version of compiler that is not currently installed: 5.0.4 [ARM]. Another version of the compiler will be used during build: 5.1.1. Please install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project properties.[/quote]

3) The project compiles successfully.

4) In the project properties change the compiler version from v5.0.4 (the version used in the imported project) to v5.1.1 (the version installed).

5) The act of changing the compiler version caused CCS to add the tm4c123gh6pm_startup_ccs.c source file from the CCS installation to the project.

6) Attempting to compile the project now produces the errors:[quote]

error #10056: symbol "ResetISR" redefined: first defined in "./tm4c123gh6pm_startup_ccs.obj"; redefined in "./startup_ccs.obj"

error #10056: symbol "g_pfnVectors" redefined: first defined in "./tm4c123gh6pm_startup_ccs.obj"; redefined in "./startup_ccs.obj"

error #10010: errors encountered during linking; "blinky.out" not built[/quote]

7) Delete the  tm4c123gh6pm_startup_ccs.c source file from the project. The project now compiles without any errors or warnings.

 

Guess that it a "bug" that changing the compiler version causes CCS to add the tm4c123gh6pm_startup_ccs.c source file to the project. (that source file is meant for when a new project is created, so doesn't make sense for it to be added when a project property is changed on an imported project)


Viewing all articles
Browse latest Browse all 91752

Trending Articles