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

CCS6.0编译工程时,总是报错unresolved symbol——TI_pprof_out_hadl, first referenced in../lib/rts2800_ml.lib

请问怎么解决这个问题呢

Susan Yang:有可能是因为您的RTS2800_ml.lib在c2000 linker 的路径没有设置好

您可以参考下

e2e.ti.com/…/451598

e2e.ti.com/…/2026951

请问怎么解决这个问题呢

user5774561:

回复 Susan Yang:

您好,参考了上面的问题,并没有解决我的问题,请问具体应该这么做呢

请问怎么解决这个问题呢

Susan Yang:

回复 user5774561:

请问能否给出console里面详细的编译信息?

关于路径包含与链接的问题,您可以参考

processors.wiki.ti.com/…/Include_paths_and_options

请问怎么解决这个问题呢

user5774561:

回复 Susan Yang:

下面是console的详细信息
**** Build of configuration Debug for project Recorder_app_4009 ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../src/usb.c'
'Invoking: C2000 Compiler'
"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/bin/cl2000" -v28 -ml -mt –float_support=softlib –include_path="c:/ti/ccsv6/tools/compiler/c2000_6.2.5/include" –include_path="C:/Users/lenovo/workspace_v6_0/Recorder_app_4009/include" -g –diag_warning=225 –display_error_number –diag_wrap=off –preproc_with_compile –preproc_dependency="src/usb.pp" –obj_directory="src""../src/usb.c"
'Finished building: ../src/usb.c'
' '
'Building target: Recorder_app_4009.out'
'Invoking: C2000 Linker'
"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/bin/cl2000" -v28 -ml -mt –float_support=softlib -g –diag_warning=225 –display_error_number –diag_wrap=off -z -m"Recorder_app_4009.map" –stack_size=0x300 –warn_sections -i"C:/Users/lenovo/workspace_v6_0/Recorder_app_4009/lib" -i"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/lib" -i"c:/ti/ccsv6/tools/compiler/c2000_6.2.5/include" -i"C:/Users/lenovo/workspace_v6_0/Recorder_app_4009" –reread_libs –display_error_number –diag_wrap=off –xml_link_info="Recorder_app_4009_linkInfo.xml" –rom_model -o "Recorder_app_4009.out""./src/usb.obj" "./src/tmp121.obj" "./src/storage.obj" "./src/queue.obj" "./src/fat.obj" "./src/dtu.obj" "./src/diskio.obj" "./src/ch422.obj" "./src/ch378inc.obj" "./src/cfc.obj" "./src/Xintf.obj" "./src/Update.obj" "./src/SysSWI.obj" "./src/SysInit.obj" "./src/SciSWI.obj" "./src/RecorderMain.obj" "./src/LedCtrl.obj" "./src/EcanRegDoubleRW.obj" "./src/DataProcess.obj" "./src/DSP2833x_usDelay.obj" "./src/DSP2833x_SysCtrl.obj" "./src/DSP2833x_Spi.obj" "./src/DSP2833x_Sci.obj" "./src/DSP2833x_PieVect.obj" "./src/DSP2833x_PieCtrl.obj" "./src/DSP2833x_Mcbsp.obj" "./src/DSP2833x_InitPeripherals.obj" "./src/DSP2833x_Gpio.obj" "./src/DSP2833x_GlobalVariableDefs.obj" "./src/DSP2833x_ECan.obj" "./src/DSP2833x_DefaultIsr.obj" "./src/DSP2833x_DMA.obj" "./src/DSP2833x_CpuTimers.obj" "./src/DSP2833x_CodeStartBranch.obj" "./src/DSP2833x_CSMPasswords.obj" "./src/DSP2833x_Adc.obj" "./src/DSP2833x_ADC_cal.obj" "./src/DSCR887.obj" "./src/CRC16.obj" "./src/AIC10.obj" "../lib/rts2800_ml.lib" "../cmd/DSP2833x_Headers_nonBIOS.cmd" "../cmd/F28335.cmd" -l"libc.a"
<Linking>
undefinedfirst referencedsymbolin file————————-___TI_pprof_out_hndl ../lib/rts2800_ml.lib<exit.c.obj>

error #10234-D: unresolved symbols remain

error #10010: errors encountered during linking; "Recorder_app_4009.out" not built
>> Compilation failure
gmake: *** [Recorder_app_4009.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

请问怎么解决这个问题呢

Susan Yang:

回复 user5774561:

请您对照一下您的图示部分是否链接了rts2800_ml.lib?

请问怎么解决这个问题呢

user5774561:

回复 Susan Yang:

这样配置以后,编译仍然报错

请问怎么解决这个问题呢

Susan Yang:

回复 user5774561:

很高兴您能解决问题

赞(0)
未经允许不得转载:TI中文支持网 » CCS6.0编译工程时,总是报错unresolved symbol——TI_pprof_out_hadl, first referenced in../lib/rts2800_ml.lib
分享到: 更多 (0)