This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6657使用h264hpvenc例程的编译错误



使用平台CCS6.0

导入Codecs\C66x_h264hpvenc_01_00_03_00_ELF中的APP应用工程

环境都改成自己的后出现如下库链接失败,但是IPC库在CMD文件中发现已经链接,请问该如何解决

附件中有详细编译过程

'Building target: ../Out/h264hpvenc_ti_c66x.out'
'Invoking: C6000 Linker'
"D:/TI/ccsv6/tools/compiler/c6000_7.4.7/bin/cl6x" -mv6600 --abi=eabi -Ooff -g --define=xdc_target_types__=ti/targets/std.h --define=HIGHFREQ_SUPPRESS_CFG --define=C6600 --define=xdc_target_name__=C66 --display_error_number --diag_warning=225 --opt_for_speed=0 -z -m"../Map/h264hpvenc_ti_c66x.map" -i"D:/TI/ccsv6/tools/compiler/c6000_7.4.7/lib" -i"D:/TI/ccsv6/tools/compiler/c6000_7.4.7/include" -i"../../../../../lib" --reread_libs --warn_sections --xml_link_info="../Out/h264hpvenc_ti_c66x_linkInfo.xml" --rom_model -o "../Out/h264hpvenc_ti_c66x.out" -l"./configPkg/linker.cmd" "./C66X/h264hpvenc_ti_shmemmanager.obj" "./C66X/h264hpvenc_ti_mcIpc.obj" "./C66X/h264hpvenc_ti_edmaConfig.obj" "./C66X/h264hpvenc_ti_GateMPBarrier.obj" "./Common/h264hpvenc_ti_testwrapper.obj" "./Common/h264hpvenc_ti_testapp.obj" "./Common/h264hpvenc_ti_mc_api.obj" "./Common/h264hpvenc_ti_config.obj" "./Common/h264hpvenc_ti_buffermanager.obj" "./Common/alg_malloc.obj" "./Common/alg_create.obj" -l"libc.a" -lh264hpvenc_ti.le66
<Linking>

undefined first referenced
symbol in file
--------- ----------------
ti_sdo_ipc_gates_GateHWSem_query__E D:\TI\Codecs\C66x_h264hpvenc_01_00_03_00_ELF\packages\ti\sdo\codecs\h264hpvenc\App\Client\Build\C66X\Debug\configPkg\package\cfg\h264hpvenc_pe66.oe66

ti_sdo_ipc_gates_GateMPSupportNull_query__E D:\TI\Codecs\C66x_h264hpvenc_01_00_03_00_ELF\packages\ti\sdo\codecs\h264hpvenc\App\Client\Build\C66X\Debug\configPkg\package\cfg\h264hpvenc_pe66.oe66
>> Compilation failure
ti_sdo_ipc_gates_GatePeterson_query__E D:\TI\Codecs\C66x_h264hpvenc_01_00_03_00_ELF\packages\ti\sdo\codecs\h264hpvenc\App\Client\Build\C66X\Debug\configPkg\package\cfg\h264hpvenc_pe66.oe66
ti_sdo_ipc_heaps_HeapMemMP_isBlocking__E D:\TI\Codecs\C66x_h264hpvenc_01_00_03_00_ELF\packages\ti\sdo\codecs\h264hpvenc\App\Client\Build\C66X\Debug\configPkg\package\cfg\h264hpvenc_pe66.oe66

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking;
"../Out/h264hpvenc_ti_c66x.out" not built
gmake: *** [../Out/h264hpvenc_ti_c66x.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • 默认是在6678上运行的,你的实体不一样了可能要改的东西还比较多。

  • 你好  Allen Yin

    C6657理论上也可以使用吧,现在我编译成功了。我的处理时将CFG文件改成CORE0,和CORE1,配置文件ENCODE.CFG也改成2个核。把平台改成C6657,存储位置除了加载到L2SRAM和MSMCSRAM上的其他都加载到DDR3里面,编译是通过的。到C6657evm板上运行后出现以下问题:算法实例创建后,出现Assign Resource Failed [7]的问题,查到是RMAN_assignResources的返回值返回7,值7代表的问题是Error, resource unavailable.不知道是什么原因引发了这个问题,特此请教谢谢