在下载了Qualcomm的Hexagon SDK 351版本之后,想跑里面的examples,然后参照文档的说,比如在examples/common/sobel3x3_v60目录下面,先执行了SDK根目录下面的setup_sdk_env.cmd,然后执行make tree V=hexagon_Debug_dynamic_toolv82_v65编译命令,结果编译错误,输出如下错误log,

Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin
"F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin\\hexagon-link.exe" --hash-style=sysv -march=hexagon -mcpu=hexagonv60 -G0 -o hexagon_Release_dynamic_toolv72_v60/atomic_q F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/crt0_standalone.o F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/crt0.o F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/init.o -LF:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0 -LF:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60 -LF:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib --start-group --whole-archive -lc -lgcc -lc++ -lc++abi -lc_eh F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/target/hexagon/lib/v60/G0/libhexagon.a --no-whole-archive --end-group --dynamic-linker= -E --force-dynamic --start-group hexagon_Release_dynamic_toolv72_v60/atomic_q.o hexagon_Release_dynamic_toolv72_v60/atomic.a --end-group --start-group -lstandalone -lc -lgcc --end-group F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/fini.o
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x0): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x50): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0xf0): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x4): undefined reference to `clock_gettime'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0xe8): undefined reference to `clock_gettime'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x324): undefined reference to `pthread_getspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x4): undefined reference to `pthread_cond_destroy'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x18): undefined reference to `pthread_cond_signal'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x2c): undefined reference to `pthread_cond_broadcast'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x4c): undefined reference to `pthread_cond_wait'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x140): undefined reference to `pthread_cond_timedwait'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x4a8): undefined reference to `pthread_getspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x1e0): undefined reference to `pthread_mutex_trylock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x1f4): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x210): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x190): undefined reference to `pthread_getspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x1ac): undefined reference to `pthread_setspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x1b8): undefined reference to `pthread_getspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x4): undefined reference to `pthread_mutex_destroy'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x14): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x34): undefined reference to `pthread_mutex_trylock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x4c): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x6c): undefined reference to `pthread_mutexattr_init'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x7c): undefined reference to `pthread_mutexattr_settype'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x88): undefined reference to `pthread_mutex_init'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x9c): undefined reference to `pthread_mutexattr_destroy'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0xc0): undefined reference to `pthread_mutexattr_destroy'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0xd4): undefined reference to `pthread_mutex_destroy'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0xec): undefined reference to `pthread_mutex_destroy'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x100): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x120): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x134): undefined reference to `pthread_mutex_trylock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x160): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x16c): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x178): undefined reference to `pthread_mutex_destroy'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x1bc): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x200): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x20): undefined reference to `pthread_join'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x54): undefined reference to `pthread_detach'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x220): undefined reference to `pthread_mutex_trylock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x258): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x280): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x294): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x2cc): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x2d8): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x2e4): undefined reference to `pthread_mutex_destroy'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x328): undefined reference to `pthread_self'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x340): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x39c): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x3d0): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x134): undefined reference to `nanosleep'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x3ec): undefined reference to `pthread_self'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x3f4): undefined reference to `pthread_mutex_trylock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x438): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x468): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x488): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x8): undefined reference to `pthread_once'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x20): undefined reference to `pthread_getspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x490): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x4d0): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x198): undefined reference to `pthread_key_create'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x48): undefined reference to `pthread_setspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x88): undefined reference to `pthread_once'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x14): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x4f0): undefined reference to `pthread_cond_wait'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x510): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0xac): undefined reference to `pthread_getspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x58): undefined reference to `pthread_cond_wait'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x90): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x51c): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x530): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x540): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x54c): undefined reference to `pthread_cond_broadcast'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x564): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x574): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++.a(.text+0x580): undefined reference to `pthread_cond_broadcast'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0xbc): undefined reference to `pthread_key_create'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0xe8): undefined reference to `pthread_setspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0xc8): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0xe8): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x28): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0xf8): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x180): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x23c): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0xf8): undefined reference to `pthread_cond_broadcast'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x130): undefined reference to `pthread_mutex_lock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x150): undefined reference to `pthread_mutex_unlock'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x160): undefined reference to `pthread_cond_broadcast'Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0x58): undefined reference to `pthread_setspecific'
Error: F:/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/G0/libc++abi.a(.text+0xd8): undefined reference to `pthread_key_create'
Fatal: Linking had errors.
hexagon-clang.exe: error: hexagon-link command failed with exit code 1 (use -v to see invocation)
make[1]: *** [hexagon_Release_dynamic_toolv72_v60/atomic_q] Error 1

粗一看,显然是缺少了对libpthread.so的依赖,第一反应就是想着看能不能添加对这个库的依赖。后面又看了一下编译命令,输入make tree V=hexagon,看到提示支持的variants,发现有不同的toolv,部分如下

  hexagon_Debug_toolv72_v60
hexagon_Debug_toolv81_v60
hexagon_Debug_toolv81_v62
hexagon_Debug_toolv81_v65
hexagon_Debug_toolv82_v60
hexagon_Debug_toolv82_v62
hexagon_Debug_toolv82_v65
hexagon_Debug_toolv82_v66
hexagon_Debug_toolv83_v60
hexagon_Debug_toolv83_v62
hexagon_Debug_toolv83_v65
hexagon_Debug_toolv83_v66

然后就想到本SDK中的tools为83版本,于是把编译命令改为make tree V=hexagon_Debug_toolv83_v60,果然,顺利编译完成。然后又试着改为了make tree V=hexagon_Debug_toolv83_v66,也是正确的。所以,出现上述的错误的关键就是在于tools的版本不对,如果这个版本不对,比如我的编译命令中表明需要使用82版本,而本SDK中又只有83版本,然后就找不到对应的tools,所以就会出现这样的问题。

VSCode配置

c_cpp_properties.json文件设置实例

{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"F:\\Qualcomm\\Hexagon_SDK\\3.5.1\\tools\\HEXAGON_Tools\\8.3.07\\Tools\\target\\hexagon\\include\\**",
"F:\\Qualcomm\\Hexagon_SDK\\3.5.1\\tools\\HEXAGON_Tools\\8.3.07\\Tools\\include\\**",
"F:\\Qualcomm\\Hexagon_SDK\\3.5.1\\incs\\**",
"F:\\Qualcomm\\Hexagon_SDK\\3.5.1\\tools\\android-ndk-r19c\\sysroot\\usr\\include\\**",
"F:\\Qualcomm\\Hexagon_SDK\\3.5.1\\libs\\fastcv\\fastcv\\hexagon_Release_toolv83_v66\\**",
"F:\\Qualcomm\\Hexagon_SDK\\3.5.1\\libs\\fastcv\\dspCV\\inc\\**",
"F:\\Qualcomm\\Hexagon_SDK\\3.5.1\\libs\\fastcv\\dspCV\\hexagon_Release_dynamic_toolv83_v66\\**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE",
"__hexagon__",
"__HVX_ARCH__=66",
"__HVX_LENGTH__=128",
"__HVX__",
"__HVXDBL__"
],
"windowsSdkVersion": "10.0.17763.0",
"compilerPath": "F:\\Qualcomm\\Hexagon_SDK\\3.5.1\\tools\\HEXAGON_Tools\\8.3.07\\Tools\\bin\\hexagon-clang.exe",
"cStandard": "c11",
"cppStandard": "c++11",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}

编译Qualcomm的Hexagon exampls错误的更多相关文章

  1. 编译php时出现xsl错误的解决方法

    是因为系统没安装一个叫 libxslt-devel 的包, 安装上就好了. 附编译php时的常见错误: http://www.myhack58.com/Article/sort099/sort0102 ...

  2. windows下编译java源文件的编码错误

    import java.util.Arrays;public class ArrayAsAReference{ public static void main(String[] args) { int ...

  3. keilc 4 编译出现的几个错误…

    原文地址:keilc 4 编译出现的几个错误解决作者:黑子     今天安装了keilc4,因为项目用到,所以把遇到的几个编译错误解决方法说说,第一次写东西不知道写啥!!    一  第一个是错误提示 ...

  4. 在Idea2017.1中编译时发生如下的错误

    错误 在Idea2017.1中编译时发生如下的错误 Information:java: javacTask: 源发行版 1.8 需要目标发行版 1.8 Information:java: Errors ...

  5. Delphi - 10.1编译OSX10.12程序遇到错误解决了!

    昨天,尝试Delphi的跨平台开发功能,在windows10下,做了一个控制台程序,发布目标平台是OSX10.12,中间配置过程都非常顺利,没有任何错误,但是当编译运行时候出现下面错误: [dccos ...

  6. 使用AndroidStudio编译NDK的方法及错误解决方式

    參考资料: [android ndk]macos环境下Android Studio中利用gradle编译jni模块及配置:http://demo.netfoucs.com/ashqal/article ...

  7. 编译cuda Examples 时出现错误:/bin/ld cannot find -lglut

    编译cuda Examples 时出现错误:/bin/ld cannot find -lglut ,可以先找找是否缺少库,有时候可能是symbolic link不正确,没有链接到正确位置,导致找不到库 ...

  8. libevent在windows下用visual studio编译时出现error C2894错误的原因与解决方法

    libevent是一个使用很广泛的网络库,今天想了解下它.于是去git clone了一份源码,用vs2005的命令行:nmake -f makefile.nmake编译之,顺利编译通过,生成三个静态库 ...

  9. VC命令行编译中出现Invalid switch错误的解决办法

    作者:朱金灿 来源:http://blog.csdn.net/clever101 使用makefile编译gdal库出现一个错误: cd .. if exist./gdal19_i_D.lib del ...

随机推荐

  1. SpringCloud Zipkin

    原文地址:https://blog.csdn.net/z8414/article/details/78600646 Zipkin是一个链路跟踪工具,可以用来监控微服务集群中调用链路的通畅情况 前提:S ...

  2. 用postman导出excel文件

    原文地址:https://jingyan.baidu.com/article/915fc414559b4351394b2084.html 现在的web和移动开发,常常会调用服务器提供restful接口 ...

  3. Java中的循环语句

    1.1 while 循环语句 while 语句也称为条件判断语句. 循环方式 : 利用一个条件来控制是否要反复执行这个语句. 语法 : while(条件表达式){ 执行语句 } 当条件表达式的返回值为 ...

  4. PyCharm2019.3.2专业版激活

    PyCharm2019.3.2专业版激活 Ryan 蚂蚁小黑  PyCharm 专业版激活 今天是除夕,在这阖家团圆的日子里,祝大家新春快乐,鼠年大吉,愿大家在新的一年里身体健康,万事如意! 新的一年 ...

  5. DRF框架之使用Django框架完成后端接口(API)的定义

    学习DRF框架,首先我们就需要明白为什么要学习这个框架. 接下来我们就先用原生的Django框架来定义一个符合RESTful设计方法的接口(API). RESTful接口的需求如下: GET /boo ...

  6. Word Embeddings: Encoding Lexical Semantics(译文)

    词向量:编码词汇级别的信息 url:http://pytorch.org/tutorials/beginner/nlp/word_embeddings_tutorial.html?highlight= ...

  7. 八、django学习之分组查询、F查询和Q查询

    分组查询.F查询和Q查询 分组查询 统计每个出版社出版的书籍的平均价格 第一种方式 obj = models.Book.objects.values('publishs_id').annotate(a ...

  8. 表达式属性(C#6.0和C#7.0

    从C#6开始,只读属性可简写为表达式属性.它使用双箭头替换了花括号,get访问器和return关键字. 例如: decimal CurrentPrice,sharedOwned; public dec ...

  9. Windbg实用手册

    Windbg工作中用的不多,所以命令老是记不住,每次使用都要重新查命令,挺烦. 趁这次培训的机会好好测试和总结了一下,下次再用就方便多了. 在这里一起共享一下,如果有错误,请指正. 基本知识和常用命令 ...

  10. objectarx 统计面积

    除了最后一个输出面积到excel没做,其他都是做了的.只支持AcDbPolyline和AcDbCircle.这是我模仿网上的动态图做的,主要是为了练习.下面我把自己的一些心得分享出来.使用到的一些帮助 ...