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.

AER (Acoustic Echo Removal) linking problem

Note: if this is the wrong forum please move.

Hello:
I am using CCS V5.3.0.00090, bios_5_42_00_07, xdctools_3_24_05_48
trying to build AER project aertest_c55l_C55L_COFF


All of the .c source files compile and when it tries to link I get the following...

'Building target: aertest_c55l_C55L_COFF.out'
'Invoking: C5500 Linker'
"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5509A -g --define=ti_targets_C55_large --define=xdc_target_types__=ti/targets/std.h --define=C5510 --define=c5509a --diag_suppress=1112 --diag_suppress=825 --diag_suppress=838 --diag_suppress=828 --diag_suppress=827 --diag_suppress=77 --diag_suppress=837 --diag_suppress=824 --diag_warning=225 --optimize_with_debug --ptrdiff_size=32 --algebraic --memory_model=large --std_lib_func_defined -k --c_src_interlist --output_all_syms -z -m"aertest_c55l_C55L_COFF.map" --stack_size=0x200 --heap_size=0x400 --warn_sections -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" --reread_libs --rom_model --sys_stacksize=0x200 -o "aertest_c55l_C55L_COFF.out" -l"./configPkg/linker.cmd"  "./veuinstbuff.obj" "./siutx.obj" "./siurx.obj" "./siumss.obj" "./siudrc.obj" "./siuagc.obj" "./siuaer.obj" "./siu_multi_mic.obj" "./siu.obj" "./sgnsim.obj" "./piu.obj" "./drcinstbuff.obj" "./drcfilter.obj" "./agcinstbuff.obj" "./aerxbuff.obj" "./aerworkb.obj" "./aertxeqfb.obj" "./aersim_setup.obj" "./aersim_fileIO.obj" "./aersim.obj" "./aerrxtxscratch.obj" "./aerrxeqfb.obj" "./aerrxbsout.obj" "./aerrbuff.obj" "./aerpsiu.obj" "./aerpowbuff.obj" "./aerpbuff.obj" "./aernrbuff.obj" "./aernbuff.obj" "./aeriobuff.obj" "./aerinstbuff.obj" "./aerhupab.obj" "./aerhovfb.obj" "./aerhbuff.obj" "./aerfdnlps.obj" "./aerfdnlpb.obj" "./aerbsdlb2.obj" "./aerbsdlb.obj" "./aepsim.obj" -l"libc.a" "C:/ti/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd"
<Linking>
error: cannot find file "./configPkg/linker.cmd"

"C:/ti/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 337: warning:
>> Compilation failure
   no matching section
error: errors encountered during linking; "aertest_c55l_C55L_COFF.out" not
   built
gmake: *** [aertest_c55l_C55L_COFF.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

I did a full directory file search of everything TI and only find...
C:\ti\packages\ti\mas\aer\test\aertest_c55l_C55L_COFF\Debug\configPkg\linker.cmd.cp
C:\ti\xdctools_3_24_05_48\packages\xdc\tools\configuro\template\linker.cmd.asm.xdt
C:\ti\bios_5_42_00_07\xdctools\packages\xdc\tools\configuro\template\linker.cmd.asm.xdt

Can anyone tell me where is or where to find ./configPkg/linker.cmd ?

Thanks

  • Brian,

    Is this project one of the example projects included with AER package? If so, I believe the experts in the C5000 forum will be able to assist better since they develop and release this package. I will move this thread to the C5000 forum.

  • AartiG

    >Is this project one of the example projects included with AER package?>

    Yes it is.

    Thanks for the move maybe get some traction hear then.

    Brian

  • Hello,

    I'm having the same issue trying to get AER up and running.. and cannot find  ./configPkg/linker.cmd.

    I'm sure there are folks out there who have gotten VoLIB AER to work.  We're spinning wheels out here, lease help!!


    Thanks!


    Seth

  • Hi Seth,

    The pre-built AER test project was generated by CCS v4.2. It is incompatible with CCS v5.x. Please try CCS v4.2.

    Regards,

    Jianzhong

  • I'm also having linker problem. I'm using the CSS 4.2 that came with the C5535 eval kit:

    **** Build of configuration Debug for project aertest_c55l_C55L_COFF ****

    C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake -k all
    'Building target: aertest_c55l_C55L_COFF.out'
    'Invoking: Linker'
    "C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c5500/bin/cl55" -vcpu:2.1 -g --define=ti_targets_C55_large --define=xdc_target_types__=ti/targets/std.h --define=C5535 --diag_suppress=1112 --diag_suppress=825 --diag_suppress=838 --diag_suppress=828 --diag_suppress=827 --diag_suppress=77 --diag_suppress=837 --diag_suppress=824 --diag_warning=225 --optimize_with_debug --ptrdiff_size=16 --algebraic --memory_model=large -k --c_src_interlist --output_all_syms -z -m"aertest_c55l_C55L_COFF.map" --warn_sections -i"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c5500/lib" -i"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c5500/include" -i"c:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas" --reread_libs --rom_model -o "aertest_c55l_C55L_COFF.out" "./veuinstbuff.obj" "./siutx.obj" "./siurx.obj" "./siumss.obj" "./siudrc.obj" "./siuagc.obj" "./siuaer.obj" "./siu_multi_mic.obj" "./siu.obj" "./sgnsim.obj" "./piu.obj" "./drcinstbuff.obj" "./drcfilter.obj" "./agcinstbuff.obj" "./aerxbuff.obj" "./aerworkb.obj" "./aertxeqfb.obj" "./aerspabuff2.obj" "./aerspabuff1.obj" "./aersim_setup.obj" "./aersim_fileIO.obj" "./aersim.obj" "./aerrxtxscratch.obj" "./aerrxeqfb.obj" "./aerrxbsout.obj" "./aerrbuff.obj" "./aerpsiu.obj" "./aerpowbuff.obj" "./aerpbuff.obj" "./aernrbuff.obj" "./aernbuff.obj" "./aeriobuff.obj" "./aerinstbuff.obj" "./aerhupab.obj" "./aerhovfb.obj" "./aerhbuff.obj" "./aerfdnlps.obj" "./aerfdnlpb.obj" "./aerbsdlb2.obj" "./aerbsdlb.obj" "./aepsim.obj" -l"libc.a" "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd"
    <Linking>
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 81: warning:
    no matching section
    ...(same for line 82 - 100)
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 101: warning:
    no matching section
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 323: warning:
    no matching section
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 324: warning:
    no matching section
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 329: warning:
    no matching section
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 338: warning:
    no matching section
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 339: warning:
    no matching section
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 346: warning:
    no matching section
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 347: warning:
    no matching section
    "C:/c55/aer_c55l_obj_16_1_0_3/packages/ti/mas/aer/test/lnkr/c55l/aertest_c55l_ccs.cmd", line 141: error:
    placement fails for object ".text", size 0xda92 (page 0). Available ranges:
    PROG5 size: 0xd000 unused: 0xc241 max hole: 0xc241
    error: errors encountered during linking; "aertest_c55l_C55L_COFF.out" not
    built

    >> Compilation failure
    gmake: *** [aertest_c55l_C55L_COFF.out] Error 1
    gmake: Target `all' not remade because of errors.
    Build complete for project aertest_c55l_C55L_COFF

    Is such a complicated linker file needed or would the linker do a good job with just a couple of bigger chunks of SARAM and DARAM?