Forums - QML 1.2.0 compile error in RB3 Development Kit with Debian

1 post / 0 new
QML 1.2.0 compile error in RB3 Development Kit with Debian
luishsu
Join Date: 4 Jul 19
Posts: 1
Posted: Tue, 2019-10-01 02:20

I tried to build examples on Robotic RB3 board but faced undefined reference while compile with on-board gcc.
It seems like an internal dependency of libQML.so is not match.

# Platform

Host: Ubuntu 16.04
Target : Qualcomm Robotic RB3 Development Kit (SDM845) Basic

Target OS: Linaro Debian (https://www.96boards.org/documentation/consumer/dragonboard/dragonboard845c/downloads/debian.md.html)

# Logs

```

linaro@linaro-developer:~/QML-1.2.0/opt/Qualcomm/QML/1.2.0/arm64/ilp64/examples/build$ make -j4

[ 18%] Linking CXX executable CBLASExample
[ 18%] Linking CXX executable QMLInfoExample
[ 25%] Linking CXX executable MinimalExample
[ 25%] Linking CXX executable BLASSolveExample
/usr/bin/ld: /home/linaro/QML-1.2.0/opt/usr/bin/Qualcomm/ld/QML: //1.2.0home//arm64linaro//ilp64QML-/lib1.2.0//libQML.soopt/: Qualcomm/undefined QML/reference 1.2.0/to arm64/`qmlilp64/::lib/kernels:libQML.so::image_dotprod_kernel_aarch64_armv8a_A76 undefined<int reference,  tosigned  `char>qml::::kernelscompute_image_dotprod(::int, image_dotprod_kernel_aarch64_armv8a_A76<int,int, int signed,  charsigned >:char :compute_image_dotprodconst*(int, , signed int,char  intconst*, , signed int*,char  intconst*, , int*signed , char bool)const* const', 
/int*usr/, bin/int,ld: int /*,home/ boollinaro/) QML-const'1.2.0/
/opt/usr/Qualcomm/bin/QML/ld:1.2.0/ /arm64/home/ilp64/linaro/lib/QML-libQML.so:1.2.0/ undefinedopt/ referenceQualcomm/ toQML/ `1.2.0/qml:arm64/:kernelsilp64/::lib/image_dotprod_kernel_aarch64_armv8a_A76<libQML.so:int, undefined signed reference char to>: `:compute_channel_dotprodqml:(int:kernels, int::, image_dotprod_kernel_aarch64_armv8a_A76<int,int, signed signed char char const>:*,:compute_channel_dotprod signed (intchar , const*int,,  intint*, , signed int,char  intconst**,,  boolsigned ) char const'const*
collect2: error: ld returned 1 exit status
, int*, int, int*, bool) const'
/usr/bin/ld: /home/linaro/QML-1.2.0/collect2: error: ld returned 1 exit status
opt/Qualcomm/QML/1.2.0/arm64/ilp64/lib/libQML.so: undefined reference to `qml::kernels::image_dotprod_kernel_aarch64_armv8a_A76<int, signedmake[2]: *** [CMakeFiles/CBLASExample.dir/build.make:84: CBLASExample] Error 1
make[2]: *** [CMakeFiles/MinimalExample.dir/build.make:84: MinimalExample] Error 1
 char>::compute_image_dotprod(int, int, int, signed char const*, signed char const*, int*, int, int*, bool) const'
/usr/bin/ld: /home/linaro/QML-1.2.0/opt/Qualcomm/QML/1.2.0/arm64/ilp64/lib/libQML.so: undefined reference to `qml::kernels::image_dotprod_kernel_aarch64_armv8a_A76<int, signed char>::compute_channel_dotprod(int, int, int, signed char const*, signed char const*, int*, int, int*, bool) const'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/CBLASExample.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:147: CMakeFiles/MinimalExample.dir/all] Error 2
make[2]: *** [CMakeFiles/BLASSolveExample.dir/build.make:84: BLASSolveExample] Error 1
make[1]: *** [CMakeFiles/Makefile2:184: CMakeFiles/BLASSolveExample.dir/all] Error 2
/usr/bin/ld: /home/linaro/QML-1.2.0/opt/Qualcomm/QML/1.2.0/arm64/ilp64/lib/libQML.so: undefined reference to `qml::kernels::image_dotprod_kernel_aarch64_armv8a_A76<int, signed char>::compute_image_dotprod(int, int, int, signed char const*, signed char const*, int*, int, int*, bool) const'
/usr/bin/ld: /home/linaro/QML-1.2.0/opt/Qualcomm/QML/1.2.0/arm64/ilp64/lib/libQML.so: undefined reference to `qml::kernels::image_dotprod_kernel_aarch64_armv8a_A76<int, signed char>::compute_channel_dotprod(int, int, int, signed char const*, signed char const*, int*, int, int*, bool) const'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/QMLInfoExample.dir/build.make:84: QMLInfoExample] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/QMLInfoExample.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

```

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