Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

libippcp.a relocation error

$
0
0

Good day,

I want to link libippcp.a into a shared library and get the following error:

/usr/bin/ld: /opt/intel/ippcp/lib/intel64/libippcp.a(pcpbnumulschoolsrvl9.asm.o): relocation R_X86_64_PC32 against symbol `mred8_start' can not be used when making a shared object; recompile with -fPIC

Linking with the shared library (libippcp.so) works seamlessly.
Since the directory contains the subdirectory "nonpic" which itself contains another libippcp.a, I assumed that the one I use is compiled with -fPIC. Am I doing something wrong here?

Taken from: l_ippcp_2019.1.144.tgz

Greetings


Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>