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.

TMS320C6748: Using ndk for udp connection in TMS320C6748 SYS/BIOS

Part Number: TMS320C6748


Hi

When I added the ndk library and called the api interface, there is an error. The error is as follows:

Description Resource Path Location Type
<a href="processors.wiki.ti.com/.../10234"> unresolved symbols remain udp_t C/C++ Problem
gmake: *** [all] Error 2 udp_t C/C++ Problem
gmake[1]: *** [udp_t.out] Error 1 udp_t C/C++ Problem
unresolved symbol mmZeroInit, first referenced in ./main.obj udp_t C/C++ Problem
unresolved symbol NDK_bind, first referenced in ./main.obj udp_t C/C++ Problem
unresolved symbol NDK_sendto, first referenced in ./main.obj udp_t C/C++ Problem
unresolved symbol NDK_socket, first referenced in ./main.obj udp_t C/C++ Problem

what is the reason? If you have an existing reference routine, please let me know. Thanks.

  • Hi Duoduo Cheng,

    The team is notified. They will post their feedback directly here.

    BR
    Tsvetolin Shulev
  • Hello,

    I suspect you need to add the NDK package to your cfg file:

    var Ndk       = xdc.loadPackage('ti.ndk.config');
    var Global       = xdc.useModule('ti.ndk.config.Global')

    It may be good to start with one of our examples. They can be built into CCS projects by running the following commands:

    cd C:\ti\pdk_omapl138_1_0_5\packages
    
    pdksetupenv.bat
    
    pdkProjectCreate.bat OMAPL138 lcdkOMAPL138 little nimu all dsp