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 安装问题

Guru**** 2537520 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/596636/processor-sdk-am335x-linux-sdk-installation-issue

器件型号:PROCESSOR-SDK-AM335X

您好!  

我按照说明逐步安装了 Sitara SDK。 并使用 setup.sh 运行环境设置、设置路径和 Cross_compile。 (Ubuntu 1604 64位)

但是、当我尝试使用 thread-ex.c 的示例代码(在该链接 processors.wiki.ti.com/.../Processor_Linux_SDK_GCC_Toolchain 中)时、我遇到错误:

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

/tmp/ccWSh2CX.o:在函数'main'中:

thread-ex.c:(.text+0x56):未定义对'pthread_create'的引用

thread-ex.c:(.text+0x6c):未定义对'pthread_create'的引用

thread-ex.c:(.text+0x78):未定义对'pthread_join'的引用

thread-ex.c:(.text+0x84):未定义对'pthread_join'的引用

我发现 SDK_install_dir\linux\devkit\sysroot\x86_64 Arago-linux\下没有 Cross_compile 库文件夹(-vfp-neon -linux-gnueabi)。 我在安装 SDK 时是否错过了一些内容?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    软件团队已收到通知。 他们将在这里作出回应。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、英杰、

    pthread 之前的字母应为小写字母 L、表示库。

    此致、
    Kemal