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.

NDK example: TSK_self is undefined?

Other Parts Discussed in Thread: SYSBIOS

I'm trying to port some Linux socket code to TI and using the example on page 46 of http://wisconsin.cern.ch/ROD/ti_documents/tcpip_ndk_users_guide.pdf

What do I need to do in order to call TSK_self in code like

fdOpenSession( (HANDLE)TSK_self() );

I have included the Task module in XDC cfg

var Task    =   xdc.useModule('ti.sysbios.knl.Task');

And I include in my C file

#include <ti/sysbios/knl/Task.h>

But I get

 undefined first referenced
  symbol       in file
 --------- ----------------
 TSK_self  c:\gedev\system/nt/ti_c6678/lib/libent_target_bsp.a<ti_utils.obj>

What physical library file should this symbol be defined in?  Or what include am I missing to redefine it to another symbol and where is that symbol defined at?