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