You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/ld: ../IceUtil/libIceUtil.a(ConsoleUtil.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(CtrlCHandler.cpp.o): relocation R_X86_64_32 against symbol `_ZTVN7IceUtil21CtrlCHandlerExceptionE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(FileUtil.cpp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(MutexProtocol.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(Options.cpp.o): relocation R_X86_64_32 against symbol `_ZTVN15IceUtilInternal12APIExceptionE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(Random.cpp.o): relocation R_X86_64_32 against symbol `childAtFork' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(RecMutex.cpp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(Shared.cpp.o): relocation R_X86_64_32 against symbol `_ZTVN7IceUtil12SimpleSharedE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(StringConverter.cpp.o): relocation R_X86_64_32 against symbol `__pthread_key_create@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(StringUtil.cpp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(ThreadException.cpp.o): relocation R_X86_64_32 against symbol `_ZTVN7IceUtil22ThreadSyscallExceptionE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(Time.cpp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(UtilException.cpp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../IceUtil/libIceUtil.a(UUID.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
The text was updated successfully, but these errors were encountered:
druidfund
changed the title
link error when build as shared library, where should I put the flag of -fPIC
link error, where should I put the flag of -fPIC
Jun 16, 2020
The text was updated successfully, but these errors were encountered: