TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320C6674: keystone_main_pll_init  和  keystone_ddr_init 未定义

Part Number:TMS320C6674

keystone_common.h、keystone_ddr_int.h及其源文件放在工程目录中编译通过了,但是在使用上述两个函数时报错,显示未定义,请问如何解决?

Shine:

请问编译的是哪个例程?把错误信息截图看一下。

,

tt y:

**** Build of configuration Debug for project pgd_slave1 ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O 'Building file: ../source/cvfilter.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvfilter.d" –obj_directory="source" "../source/cvfilter.cpp"'Finished building: ../source/cvfilter.cpp'' ''Building file: ../source/cvmorph.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvmorph.d" –obj_directory="source" "../source/cvmorph.cpp"'Finished building: ../source/cvmorph.cpp'' ''Building file: ../source/cvapprox.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvapprox.d" –obj_directory="source" "../source/cvapprox.cpp"'Finished building: ../source/cvapprox.cpp'' ''Building file: ../source/IPC_slave1.c''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/IPC_slave1.d" –obj_directory="source" "../source/IPC_slave1.c""../source/IPC_slave1.c", line 139: warning #226-D: the format string requires additional arguments'Finished building: ../source/IPC_slave1.c'' ''Building file: ../source/cvshapedescr.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvshapedescr.d" –obj_directory="source" "../source/cvshapedescr.cpp"'Finished building: ../source/cvshapedescr.cpp'' ''Building file: ../source/cvtables.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvtables.d" –obj_directory="source" "../source/cvtables.cpp"'Finished building: ../source/cvtables.cpp'' ''Building file: ../source/cvsumpixels.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvsumpixels.d" –obj_directory="source" "../source/cvsumpixels.cpp"'Finished building: ../source/cvsumpixels.cpp'' ''Building file: ../source/cvcontours.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvcontours.d" –obj_directory="source" "../source/cvcontours.cpp"'Finished building: ../source/cvcontours.cpp'' ''Building file: ../source/cvthresh.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvthresh.d" –obj_directory="source" "../source/cvthresh.cpp"'Finished building: ../source/cvthresh.cpp'' ''Building file: ../source/cvutils.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvutils.d" –obj_directory="source" "../source/cvutils.cpp"'Finished building: ../source/cvutils.cpp'' ''Building file: ../source/cxarithm.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxarithm.d" –obj_directory="source" "../source/cxarithm.cpp"'Finished building: ../source/cxarithm.cpp'' ''Building file: ../source/cxalloc.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxalloc.d" –obj_directory="source" "../source/cxalloc.cpp""../source/cxalloc.cpp", line 69: warning #994-D: missing return statement at end of non-void function "cvFree_"'Finished building: ../source/cxalloc.cpp'' ''Building file: ../source/cvhaar.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvhaar.d" –obj_directory="source" "../source/cvhaar.cpp"'Finished building: ../source/cvhaar.cpp'' ''Building file: ../source/KeyStone_DDR_Init.c''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/KeyStone_DDR_Init.d" –obj_directory="source" "../source/KeyStone_DDR_Init.c"'Finished building: ../source/KeyStone_DDR_Init.c'' ''Building file: ../source/cxcmp.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxcmp.d" –obj_directory="source" "../source/cxcmp.cpp"'Finished building: ../source/cxcmp.cpp'' ''Building file: ../source/cxcopy.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxcopy.d" –obj_directory="source" "../source/cxcopy.cpp"'Finished building: ../source/cxcopy.cpp'' ''Building file: ../source/cxouttext.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxouttext.d" –obj_directory="source" "../source/cxouttext.cpp"'Finished building: ../source/cxouttext.cpp'' ''Building file: ../source/cxerror.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxerror.d" –obj_directory="source" "../source/cxerror.cpp"'Finished building: ../source/cxerror.cpp'' ''Building file: ../source/cxtables.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxtables.d" –obj_directory="source" "../source/cxtables.cpp"'Finished building: ../source/cxtables.cpp'' ''Building file: ../source/cxsumpixels.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxsumpixels.d" –obj_directory="source" "../source/cxsumpixels.cpp""../source/cxsumpixels.cpp", line 216: warning #112-D: statement is unreachable'Finished building: ../source/cxsumpixels.cpp'' ''Building file: ../source/define.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/define.d" –obj_directory="source" "../source/define.cpp""../source/define.cpp", line 165: warning #1-D: last line of file ends without a newline'Finished building: ../source/define.cpp'' ''Building file: ../source/loadsave.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/loadsave.d" –obj_directory="source" "../source/loadsave.cpp"'Finished building: ../source/loadsave.cpp'' ''Building file: ../source/ourGaussian.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/ourGaussian.d" –obj_directory="source" "../source/ourGaussian.cpp""../source/ourGaussian.cpp", line 82: warning #1-D: last line of file ends without a newline'Finished building: ../source/ourGaussian.cpp'' ''Building file: ../source/cvimgwarp.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvimgwarp.d" –obj_directory="source" "../source/cvimgwarp.cpp"'Finished building: ../source/cvimgwarp.cpp'' ''Building file: ../source/ourCalcHist.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/ourCalcHist.d" –obj_directory="source" "../source/ourCalcHist.cpp""../source/ourCalcHist.cpp", line 80: warning #179-D: variable "nums_zero" was declared but never referenced'Finished building: ../source/ourCalcHist.cpp'' ''Building file: ../source/KeyStone_common.c''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/KeyStone_common.d" –obj_directory="source" "../source/KeyStone_common.c"'Finished building: ../source/KeyStone_common.c'' ''Building file: ../source/ourcvCvtColor.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/ourcvCvtColor.d" –obj_directory="source" "../source/ourcvCvtColor.cpp""../source/ourcvCvtColor.cpp", line 31: warning #1-D: last line of file ends without a newline'Finished building: ../source/ourcvCvtColor.cpp'' ''Building file: ../source/ourNormlize.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/ourNormlize.d" –obj_directory="source" "../source/ourNormlize.cpp""../source/ourNormlize.cpp", line 9: warning #552-D: parameter "a" was set but never used"../source/ourNormlize.cpp", line 9: warning #552-D: parameter "b" was set but never used'Finished building: ../source/ourNormlize.cpp'' ''Building file: ../source/ourMinMaxLoc.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/ourMinMaxLoc.d" –obj_directory="source" "../source/ourMinMaxLoc.cpp""../source/ourMinMaxLoc.cpp", line 297: warning #1-D: last line of file ends without a newline'Finished building: ../source/ourMinMaxLoc.cpp'' ''Building file: ../source/ourMatchTemplate.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/ourMatchTemplate.d" –obj_directory="source" "../source/ourMatchTemplate.cpp""../source/ourMatchTemplate.cpp", line 398: warning #552-D: variable "R" was set but never used"../source/ourMatchTemplate.cpp", line 552: warning #179-D: variable "gtdes" was declared but never referenced"../source/ourMatchTemplate.cpp", line 570: warning #179-D: variable "gtdes" was declared but never referenced'Finished building: ../source/ourMatchTemplate.cpp'' ''Building file: ../source/cxdrawing.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxdrawing.d" –obj_directory="source" "../source/cxdrawing.cpp"'Finished building: ../source/cxdrawing.cpp'' ''Building file: ../source/testdis.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/testdis.d" –obj_directory="source" "../source/testdis.cpp""../source/testdis.cpp", line 189: warning #552-D: variable "p" was set but never used"../source/testdis.cpp", line 215: warning #179-D: variable "matchLoc" was declared but never referenced'Finished building: ../source/testdis.cpp'' ''Building file: ../source/cxarray.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxarray.d" –obj_directory="source" "../source/cxarray.cpp"'Finished building: ../source/cxarray.cpp'' ''Building file: ../source/cxdatastructs.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cxdatastructs.d" –obj_directory="source" "../source/cxdatastructs.cpp"'Finished building: ../source/cxdatastructs.cpp'' ''Building file: ../source/cvpyramids.cpp''Invoking: C6000 Compiler'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 –include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages" –include_path="C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl" –include_path="C:/Users/zhuco/Desktop/dapigu/pgd_slave1/header" -g –display_error_number –diag_wrap=off –diag_warning=225 –preproc_with_compile –preproc_dependency="source/cvpyramids.d" –obj_directory="source" "../source/cvpyramids.cpp"'Finished building: ../source/cvpyramids.cpp'' ''Building target: pgd_slave1.out''Invoking: C6000 Linker'"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 -g –display_error_number –diag_wrap=off –diag_warning=225 -z -m"pgd_slave1.map" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/lib" -i"C:/Users/zhuco/Desktop/dapigu/pgd_slave1/common" -i"C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" –reread_libs –diag_wrap=off –warn_sections –display_error_number –xml_link_info="pgd_slave1_linkInfo.xml" –rom_model -o "pgd_slave1.out" "./source/IPC_slave1.obj" "./source/KeyStone_DDR_Init.obj" "./source/KeyStone_common.obj" "./source/cvapprox.obj" "./source/cvcontours.obj" "./source/cvfilter.obj" "./source/cvhaar.obj" "./source/cvimgwarp.obj" "./source/cvmorph.obj" "./source/cvpyramids.obj" "./source/cvshapedescr.obj" "./source/cvsumpixels.obj" "./source/cvtables.obj" "./source/cvthresh.obj" "./source/cvutils.obj" "./source/cxalloc.obj" "./source/cxarithm.obj" "./source/cxarray.obj" "./source/cxcmp.obj" "./source/cxcopy.obj" "./source/cxdatastructs.obj" "./source/cxdrawing.obj" "./source/cxerror.obj" "./source/cxouttext.obj" "./source/cxsumpixels.obj" "./source/cxtables.obj" "./source/define.obj" "./source/loadsave.obj" "./source/ourCalcHist.obj" "./source/ourGaussian.obj" "./source/ourMatchTemplate.obj" "./source/ourMinMaxLoc.obj" "./source/ourNormlize.obj" "./source/ourcvCvtColor.obj" "./source/testdis.obj" "../C6678.cmd" -llibc.a -l"C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl/lib/ti.csl.intc.ae66" -l"C:/ti/pdk_C6678_1_1_2_6/packages/ti/csl/lib/ti.csl.ae66" <Linking>

undefined first referenced symbol in file ——— —————- KeyStone_DDR_init(float, unsigned int, unsigned int, DDR_ECC_Config *) ./source/testdis.obj KeyStone_main_PLL_init(float, unsigned int, unsigned int) ./source/testdis.obj

error #10234-D: unresolved symbols remainerror #10010: errors encountered during linking; "pgd_slave1.out" not built

>> Compilation failuremakefile:179: recipe for target 'pgd_slave1.out' failedgmake[1]: *** [pgd_slave1.out] Error 1makefile:175: recipe for target 'all' failedgmake: *** [all] Error 2

**** Build Finished ****

,

tt y:

编译的是自己的工程,加上了这两个头文件以及他们的源文件,请问是还需要其他配置吗?

,

Shine:

请问您是c++, c混合编程的吗?请尝试到C6000 Compiler->Advanced Options->Language Options使能Treat C files as C++ files选项。

,

tt y:

确实是c++, c混合编程引起的,已解决,谢谢!

赞(0)
未经允许不得转载:TI中文支持网 » TMS320C6674: keystone_main_pll_init  和  keystone_ddr_init 未定义
分享到: 更多 (0)