Forums - Unable to compile when compiling Hexagon SDK 3.4.3 calculator example

4 posts / 0 new
Last post
Unable to compile when compiling Hexagon SDK 3.4.3 calculator example
yihao.ye
Join Date: 29 May 19
Posts: 3
Posted: Wed, 2019-05-29 19:06

While I was following calculator walkthrough in hexagon SDK 3.4.3 on ubuntu 16.04.6 , I met such build problem:

Terminal output:

yihaoye@mp-yihao-ld:~/Qualcomm/Hexagon_SDK/3.4.3/examples/common/calculator$ make tree V=hexagon_Debug_dynamic_toolv82_v65 /home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/build/defines.min:31: OUTPUT: "/home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/examples/common/calculator/hexagon_Debug_dynamic_toolv82_v65/ship" making /home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/tools/qaic making /home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/libs/common/atomic make[2]: /home/yihaoye/Qualcomm/HEXAGON_Tools/8.2.07/Tools/bin/hexagon-clang: Command not found make[2]: *** [hexagon_Debug_dynamic_toolv82_v65/atomic.o] Error 127 make[1]: *** [tree] Error 1 ERROR making /home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/libs/common/atomic make[1]: Entering directory '/home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/libs/common/atomic' making . ERROR making . make[2]: Entering directory '/home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/libs/common/atomic' /home/yihaoye/Qualcomm/HEXAGON_Tools/8.2.07/Tools/bin/hexagon-clang -mv65 -c -v -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__=\"atomic.c\" -D_DEBUG -Iinc -I/home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/incs/stddef -Ihexagon_Debug_dynamic_toolv82_v65 -o hexagon_Debug_dynamic_toolv82_v65/atomic.o src/atomic.c /home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/build/make.d/rules.min:630: recipe for target 'hexagon_Debug_dynamic_toolv82_v65/atomic.o' failed make[2]: Leaving directory '/home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/libs/common/atomic' glue/hexagon_Debug_dynamic_toolv82_v65.mak:7: recipe for target 'tree' failed make[1]: Leaving directory '/home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/libs/common/atomic' /home/yihaoye/Qualcomm/Hexagon_SDK/3.4.3/build/defines.min:69: recipe for target 'ATOMIC' failed make: *** [ATOMIC] Error 1

I have checked the /home/yihaoye/Qualcomm/HEXAGON_Tools folder and only 8.3.02 is provided. 

  • Up0
  • Down0
yihao.ye
Join Date: 29 May 19
Posts: 3
Posted: Thu, 2019-05-30 11:15

I tried:

make tree V=hexagon_Debug_dynamic_toolv83_v65 and it compiled. perhaps it is not documented 

  • Up0
  • Down0
yihao.ye
Join Date: 29 May 19
Posts: 3
Posted: Thu, 2019-05-30 11:15

I tried:

make tree V=hexagon_Debug_dynamic_toolv83_v65

and it compiled. perhaps it is not documented 

  • Up0
  • Down0
fearollchan
Profile picture
Join Date: 20 May 19
Posts: 6
Posted: Wed, 2019-07-17 00:25

 perhaps SDK 3.4.3 use the tool_chains v83 not the v82 . SO you can't use the MAKE command with the argument toolv82

  • 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.