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.
I tried:
make tree V=hexagon_Debug_dynamic_toolv83_v65 and it compiled. perhaps it is not documented
I tried:
make tree V=hexagon_Debug_dynamic_toolv83_v65
and it compiled. perhaps it is not documented
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