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.

INTERNAL ERROR bin/lnk6x failed to allocate memory

Hello,

C6accel currently in, I have added the original function.
Additional modules I have been describing in cpp (c + + code), INTERNAL ERROR occurs when you write a std :: vector <int>. compilation is completed without error occurs when you write new int in [].

How do I do I do?

I want to add a function that is being written in c + + code.

TMS320C6000 C/C++ CODE GENERATION TOOLS v7.3.4

CCS v5.2

----- console log ------------

======== .executables [packages/ti/c6accel_unitservers/TI816X/] ========
lnke674 bin/ti_platforms_evmTI816X_DSP/ti816x.xe674 ...

INTERNAL ERROR: /home/pal/ti-ezsdk_dm816x-evm_5_04_00_11/dsp-devkit/cgt6x_7_3_1/bin/lnk6x failed to allocate memory

This is a serious problem. Please contact Customer
Support with this message and a copy of the input file
and help us to continue to make the tools more robust.

gmake[1]: *** [bin/ti_platforms_evmTI816X_DSP/ti816x.xe674] エラー 2
make[1]: ディレクトリ `/home/pal/projects/c6accel_custom/soc' から出ます
gmake: *** [packages/ti/c6accel_unitservers/TI816X/,.executables] エラー 2
make[1]: *** [server] エラー 2
make: *** [c6accel] エラー 2


  • We who watch this forum are not familiar with C6Accel.  This wiki page says it is no longer supported, and suggests some alternatives.

    Moving on anyway ...  That diagnostic message indicates some malloc call in the linker (lnk6x) failed.  It is likely you have simply run out of memory.  Can you try this on another system which has more memory?

    Thanks and regards,

    -George

  • I solved by changing the version of the compiler.

    <EZSDK_INSTALL> / Ti-ezsdk_dm816x-evm_5_04_00_11/dsp-devkit/cgt6x_7_3_1/bin/lnk6x

    ↓↓↓↓↓↓

    <CCS_INSTALL> / Ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x

    I've changed to.

    Compilation to be successful, run the original algorithm on the DSP using the c6accel is now available.

    In the Makefile of c6accel, was set to call (v7.3.1) compiler you are using EZSDK. We have resolved to make changes to the compiler you are using (v7.3.4) CCS this.

    and could be used without problems std :: vector