I'm using oneAPI to build a 32-bit library with CMake in Linux by docker in path: images/docker/basekit/Dockerfile.ubuntu-20.04.
But I got an error message about incompatible of 3rd party library as below:
/usr/bin/ld: skipping incompatible /opt/intel/oneapi/compiler/2024.0/bin/compiler/../../lib/libsvml.a when searching for -lsvml
/usr/bin/ld: cannot find -lsvml
/usr/bin/ld: skipping incompatible /opt/intel/oneapi/compiler/2024.0/bin/compiler/../../lib/libirng.a when searching for -lirng
/usr/bin/ld: cannot find -lirng
/usr/bin/ld: skipping incompatible /opt/intel/oneapi/compiler/2024.0/bin/compiler/../../lib/libimf.a when searching for -limf
/usr/bin/ld: cannot find -limf
icpx: error: linker command failed with exit code 1 (use -v to see invocation)
Is this problem relating to oneAPI does not support to build 32bit library? If no, how can I link to 32bit libraries?
Hi,
I'm using oneAPI to build a 32-bit library with CMake in Linux by docker in path: images/docker/basekit/Dockerfile.ubuntu-20.04. But I got an error message about incompatible of 3rd party library as below: /usr/bin/ld: skipping incompatible /opt/intel/oneapi/compiler/2024.0/bin/compiler/../../lib/libsvml.a when searching for -lsvml /usr/bin/ld: cannot find -lsvml /usr/bin/ld: skipping incompatible /opt/intel/oneapi/compiler/2024.0/bin/compiler/../../lib/libirng.a when searching for -lirng /usr/bin/ld: cannot find -lirng /usr/bin/ld: skipping incompatible /opt/intel/oneapi/compiler/2024.0/bin/compiler/../../lib/libimf.a when searching for -limf /usr/bin/ld: cannot find -limf icpx: error: linker command failed with exit code 1 (use -v to see invocation)
Is this problem relating to oneAPI does not support to build 32bit library? If no, how can I link to 32bit libraries?
Thanks!