Forums - SDK 2.0 calculator build failure on Ubuntu 16.10.

3 posts / 0 new
Last post
SDK 2.0 calculator build failure on Ubuntu 16.10.
farleylai
Join Date: 4 Dec 14
Posts: 13
Posted: Sat, 2016-11-12 20:41
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.sh 
sdk 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/atomic
making ../../../test/common/test_util
making ../../../tools/qaic
making ../../../lib/common/rpcmem
making .
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_main
hexagon-clang: error: unable to execute command: posix_spawn failed: No such file or directory
hexagon-clang: error: hexagon-as command failed due to signal (use -v to see invocation)
Target: hexagon
Thread model: posix
QuIC 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 255
ERROR making ../../../test/common/test_main
make[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' failed
make[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' failed
make: *** [MAKE_D_5_INCDIR] Error 1
make: Leaving directory '/home/farleylai/Qualcomm/Hexagon_SDK/2.0/examples/common/calculator'

 

  • Up0
  • Down0
chennak
Join Date: 22 Sep 16
Posts: 78
Posted: Mon, 2016-11-14 10:04

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

  • Up0
  • Down0
farleylai
Join Date: 4 Dec 14
Posts: 13
Posted: Mon, 2016-11-14 10:30

Alright, I will try installing the 14.04 sooner or later to see if it works as expected.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.