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.

PROCESSOR-SDK-AM335X: Linux SDK installation issue

Part Number: PROCESSOR-SDK-AM335X

Hi, 

I installed sitara SDK by following the instructions step by step. And ran enviornment setup with setup.sh, set PATH and Cross_compile. (Ubuntu 1604 64bits )

But when I tried to the example code of thread-ex.c (in this link  processors.wiki.ti.com/.../Processor_Linux_SDK_GCC_Toolchain), I got the error:

$ arm-linux-gnueabihf-gcc '-Ipthread' thread-ex.c -o thread-ex

/tmp/ccWSh2CX.o: In function 'main':

thread-ex.c:(.text+0x56): undefined reference to 'pthread_create'

thread-ex.c:(.text+0x6c): undefined reference to 'pthread_create'

thread-ex.c:(.text+0x78): undefined reference to 'pthread_join'

thread-ex.c:(.text+0x84): undefined reference to 'pthread_join'

And I found out that there is no Cross_compile libraries folder (-vfp-neon-linux-gnueabi) under sdk_install_dir\linux\devkit\sysroot\x86_64-arago-linux\. Did I miss something while installing the SDK?