Hi,
I am trying to build a docker image which includes both my own project libs and the required modal_pipe_*.h files.
First, I built an Ubuntu20.04-ARM64 image with all the required libraries on my side. Then, I tried adding the VOXL libs by cloning
https://gitlab.com/voxl-public/voxl-sdk/services/voxl-qvio-server and running $ ./install_build_deps.sh qrb5165 dev .
This, however, leads to an issue where while the dependencies are installed, there are not compatible with the system.
/usr/bin/ld: skipping incompatible /usr/lib/gcc/aarch64-linux-gnu/9/../../../../lib/libmodal_pipe.so when searching for -lmodal_pipe
/usr/bin/ld: skipping incompatible /lib/../lib/libmodal_pipe.so when searching for -lmodal_pipe
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libmodal_pipe.so when searching for -lmodal_pipe
/usr/bin/ld: skipping incompatible /usr/lib/gcc/aarch64-linux-gnu/9/../../../libmodal_pipe.so when searching for -lmodal_pipe
/usr/bin/ld: skipping incompatible /lib/libmodal_pipe.so when searching for -lmodal_pipe
/usr/bin/ld: skipping incompatible /usr/lib/libmodal_pipe.so when searching for -lmodal_pipe
Where trying to inspect the files -
$ file /usr/lib/libmodal_pipe.so /usr/lib/libmodal_pipe.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=21cd25b6d5b22353c369a8dad181d4acdbbbbe6f, not stripped
Either I am doing something wrong, or the installation script is pointing to the wrong place.
I did try to inspect the dev repo http://voxl-packages.modalai.com/dists/apq8096/dev/binary-arm64/ which seems to have only 64bit debians, so I might be doing something wrong.