Reputation: 1
I hit a linker error in C++Builder project (12.2) that uses openssl and modern 64bit compiler.
Project files compile without errors but hit the following linker errors:
ld.lld: error: duplicate symbol: __guard_check_icall_fptr
defined at libmingwex.a(lib64_libmingwex_a-mingw_cfguard_support.o)
defined at LIBCMT.lib(guard_support.obj)
ld.lld: error: duplicate symbol: __guard_dispatch_icall_fptr
defined at libmingwex.a(lib64_libmingwex_a-mingw_cfguard_support.o)
defined at LIBCMT.lib(guard_support.obj)
Openssl used was compiled with VC x64.
The same project with legacy 32bit and 64bit compiles/links clean.
Any hints as to what to disable/set in either C++Builder project or building of openssl to resolve the duplicate symbol error?
Upvotes: 0
Views: 17