Hi,
I tried to get the calculator example of Hexagon SDK 2.0 to run but the build failed with the following errors.
It seems like "posix_spawn" is missing but its manpage exists.
The build environment is 64-bit Ubuntu 16.10 as a guest OS of Virtualbox.
Any ideas?
~/Qualcomm/Hexagon_SDK/2.0$ source setup_sdk_env.shsdk environment already setup~/Qualcomm/Hexagon_SDK/2.0$ tools/scripts/calculator_walkthrough.sh---- Build calculator example for both Android and Hexagon ----make: Entering directory '/home/farleylai/Qualcomm/Hexagon_SDK/2.0/examples/common/calculator'making ../../../lib/common/atomicmaking ../../../test/common/test_utilmaking ../../../tools/qaicmaking ../../../lib/common/rpcmemmaking .make: Leaving directory '/home/farleylai/Qualcomm/Hexagon_SDK/2.0/examples/common/calculator'make: Entering directory '/home/farleylai/Qualcomm/Hexagon_SDK/2.0/examples/common/calculator'making ../../../test/common/test_mainhexagon-clang: error: unable to execute command: posix_spawn failed: No such file or directoryhexagon-clang: error: hexagon-as command failed due to signal (use -v to see invocation)Target: hexagonThread model: posixQuIC LLVM Hexagon Clang version 6.4.06, (git://git-hexagon-aus.quicinc.com/llvm/clang-mainline 62979ad0642094eced906061be76e8d510ec6b02) (llvm/llvm-mainline 0afc9bc1c9eae90f0dbec56acae14d7bdb18ee9f)hexagon-clang: note: diagnostic msg: Please report the bug through your designated Qualcomm/QuIC support channel.hexagon-clang: note: diagnostic msg: Error generating preprocessed source(s).make[1]: *** [hexagon_Debug_dynamic/test_main.o] Error 255ERROR making ../../../test/common/test_mainmake[1]: Entering directory '/home/farleylai/Qualcomm/Hexagon_SDK/2.0/test/common/test_main'/home/farleylai/Qualcomm/HEXAGON_Tools/6.4.06/qc/bin/hexagon-clang -mv5 -c -G0 -g -O0 -Wall -Werror -Wno-cast-align -Wpointer-arith -Wno-missing-braces -Wno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-zero-initialized-in-bss -fdata-sections -fpic -D__V_DYNAMIC__ -Wstrict-prototypes -Wnested-externs -D__FILENAME__=\"test_main.c\" -D_DEBUG -Iinc -Isrc -I../../../inc -I../../../inc/stddef -I../../../lib/common/rtld/ship/hexagon_Debug_dynamic -Ihexagon_Debug_dynamic -o hexagon_Debug_dynamic/test_main.o src/test_main.c../../../tools/make.d/rules.min:589: recipe for target 'hexagon_Debug_dynamic/test_main.o' failedmake[1]: Leaving directory '/home/farleylai/Qualcomm/Hexagon_SDK/2.0/test/common/test_main'glue/hexagon_Debug_dynamic.mak:41: recipe for target 'MAKE_D_5_INCDIR' failedmake: *** [MAKE_D_5_INCDIR] Error 1make: Leaving directory '/home/farleylai/Qualcomm/Hexagon_SDK/2.0/examples/common/calculator'
2.0 SDK uses 6.4.06 tools, These tools are not offically supported on Ubuntu 16.10
If Possible please use Ubuntu 14.04
Alright, I will try installing the 14.04 sooner or later to see if it works as expected.