Forums - Unable to build qfe library

1 post / 0 new
Unable to build qfe library
jyotsna.patil
Join Date: 15 Mar 22
Posts: 2
Posted: Tue, 2022-05-24 00:45

Hello,

I'm trying to build the qfe library and associated test file in Hexagon SDK.

Hexagon SDK version : 4.5.0.3.

I have followed below steps mentioned in README.MD file in library,. However facing issues related to inclusion of some header files.

1. $ <HEXAGON_SDK_ROOT>source setup_sdk_env.source

2.$ cd <HEXAGON_SDK_ROOT>/libs/qfe

3.$ make all

==========================================================================================================

Error:

~/Qualcomm/Hexagon_SDK/4.5.0.3/libs/qfe $ make all

dirname: missing operand
Try 'dirname --help' for more information.
mkdir -p ./bin/
gcc -o bin/qhmath_hvx_exp_af.o /home/user/Qualcomm/Hexagon_SDK/4.5.0.3/libs/qhl_hvx/src/qhmath_hvx//qhmath_hvx_exp_af.c -I./inc/ -I/../libnative/include -Wall -Wno-unused-function -c -g -D__HVX_ARCH__=68 -D__HVXDBL__=1 -L/../libnative/lib -lnative -lm
In file included from ./inc/qhmath_hvx.h:21:0,
                 from /home/user/Qualcomm/Hexagon_SDK/4.5.0.3/libs/qhl_hvx/src/qhmath_hvx//qhmath_hvx_exp_af.c:24:
./inc/qfe.h:13:10: fatal error: hexagon_protos.h: No such file or directory
 #include <hexagon_protos.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:76: recipe for target 'bin/qhmath_hvx_exp_af.o' failed
make: *** [bin/qhmath_hvx_exp_af.o] Error 1
 

==========================================================================================================

Requesting to provide resolution or any additional steps required.
 
Thank you
  • Up0
  • Down0

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.