Hi there,
I am trying to build the SWIG modules on a CentOS8 system and I am
running into some errors.
I have attached the complete output of the make command, it exits with:
/usr/bin/ld:
/root/pjproject-2.10/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(timer.o):
relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /root/pjproject-2.10/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(pool_policy_malloc.o): relocation R_X86_64_32 against symbol
pj_pool_factory_default_policy'
can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make[1]: *** [Makefile:37: _pjsua2.so] Error 1
make[1]: Leaving directory
'/root/pjproject-2.10/pjsip-apps/src/swig/python'
make: *** [Makefile:27: python] Error 2
Wondering what I am doing wrong, all help appreciated.
Best Regards,
Sander