我在跑6678的工程时,出现以下的问题,CCS5.3的problem栏的错误已经全部修正,只剩下warning了,如下图所示
但是我的CCS在console栏中出现的一些语句提示我编译应该是不正常的
下面我把console中的所有提示都粘贴出来,大家帮忙看一下是什么情况
**** Build of configuration Debug for project GE_srio_0 ****
"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../src/GE_2DSP_Test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/GE_2DSP_Test.pp" --obj_directory="src" "../src/GE_2DSP_Test.c"
"../src/GE_2DSP_Test.c", line 68: warning #552-D: variable "uiCycles" was set but never used
>> Compilation failure
gmake: *** [src/GE_2DSP_Test.obj] Error 1
'Building file: ../src/GE_Interrupts.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/GE_Interrupts.pp" --obj_directory="src" "../src/GE_Interrupts.c"
>> Compilation failure
gmake: *** [src/GE_Interrupts.obj] Error 1
'Building file: ../src/GE_PktDMA_Init.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/GE_PktDMA_Init.pp" --obj_directory="src" "../src/GE_PktDMA_Init.c"
"../src/GE_PktDMA_Init.c", line 73: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 74: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 75: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 76: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 86: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 86: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 87: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 87: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 89: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 89: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 90: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 90: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 92: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 92: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 93: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 93: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 95: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 95: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 96: warning #172-D: pointer points outside of underlying object
"../src/GE_PktDMA_Init.c", line 96: warning #172-D: pointer points outside of underlying object
>> Compilation failure
gmake: *** [src/GE_PktDMA_Init.obj] Error 1
'Building file: ../src/GE_Test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/GE_Test.pp" --obj_directory="src" "../src/GE_Test.c"
"C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/Keystone_common.h", line 84: warning #48-D: incompatible redefinition of macro "MAX" (declared at line 109 of "C:\ti\vlib_c66x_3_2_0_2\vlib_c66x_3_2_0_2\components\ti\vlib\src\VLIB_afast12_detectCorners\c66\../../common/VLIB_orb.h")
"../src/GE_Test.c", line 441: warning #190-D: enumerated type mixed with another type
"../src/GE_Test.c", line 537: warning #190-D: enumerated type mixed with another type
"../src/GE_Test.c", line 754: warning #179-D: variable "status" was declared but never referenced
"../src/GE_Test.c", line 757: warning #552-D: variable "uiCycles0" was set but never used
"../src/GE_Test.c", line 757: warning #552-D: variable "uiCycles1" was set but never used
"../src/GE_Test.c", line 767: warning #179-D: variable "outdata640" was declared but never referenced
"../src/GE_Test.c", line 787: warning #179-D: variable "ccHandleSize" was declared but never referenced
"../src/GE_Test.c", line 956: warning #552-D: variable "status" was set but never used
"../src/GE_Test.c", line 1171: warning #112-D: statement is unreachable
>> Compilation failure
gmake: *** [src/GE_Test.obj] Error 1
'Building file: ../src/GE_debug.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/GE_debug.pp" --obj_directory="src" "../src/GE_debug.c"
"../src/GE_debug.c", line 97: warning #552-D: variable "Port_BLK_CNT" was set but never used
>> Compilation failure
gmake: *** [src/GE_debug.obj] Error 1
'Building file: ../src/GE_loopback_Test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/GE_loopback_Test.pp" --obj_directory="src" "../src/GE_loopback_Test.c"
>> Compilation failure
gmake: *** [src/GE_loopback_Test.obj] Error 1
'Building file: ../src/GE_vectors.asm'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/GE_vectors.pp" --obj_directory="src" "../src/GE_vectors.asm"
>> Compilation failure
gmake: *** [src/GE_vectors.obj] Error 1
'Building file: C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/KeyStone_DDR_Init.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/KeyStone_DDR_Init.pp" --obj_directory="src" "C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/KeyStone_DDR_Init.c"
>> Compilation failure
gmake: *** [src/KeyStone_DDR_Init.obj] Error 1
'Building file: C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/KeyStone_GE_Init_drv.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/KeyStone_GE_Init_drv.pp" --obj_directory="src" "C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/KeyStone_GE_Init_drv.c"
"C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/KeyStone_GE_Init_drv.c", line 698: warning #552-D: parameter "dataAddr" was set but never used
>> Compilation failure
gmake: *** [src/KeyStone_GE_Init_drv.obj] Error 1
'Building file: C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/KeyStone_Navigator_init_drv.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/KeyStone_Navigator_init_drv.pp" --obj_directory="src" "C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/KeyStone_Navigator_init_drv.c"
>> Compilation failure
gmake: *** [src/KeyStone_Navigator_init_drv.obj] Error 1
'Building file: ../src/KeyStone_SRIO_Init_drv.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/KeyStone_SRIO_Init_drv.pp" --obj_directory="src" "../src/KeyStone_SRIO_Init_drv.c"
>> Compilation failure
gmake: *** [src/KeyStone_SRIO_Init_drv.obj] Error 1
'Building file: C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/KeyStone_common.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/KeyStone_common.pp" --obj_directory="src" "C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/KeyStone_common.c"
>> Compilation failure
gmake: *** [src/KeyStone_common.obj] Error 1
'Building file: C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/Keystone_Serdes_init.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -O3 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common" --include_path="C:/ti/vlib_c66x_3_2_0_2/vlib_c66x_3_2_0_2/components" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" --include_path="C:/ti/pdk_C6678_1_1_2_6/packages" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/Keystone_Serdes_init.pp" --obj_directory="src" "C:/Users/Administrator/workspace_v5_3/GE_packet_sucess1212 - copied/GE_packet_sucess1212 - copied/common/Keystone_Serdes_init.c"
>> Compilation failure
gmake: *** [src/Keystone_Serdes_init.obj] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
希望能够得到解答,谢谢!