如何解决“relocation truncated to fit:R_X86_64_PC32 against undefined symbol`xercesc_3_1 :: AbstractDOMParser :: adoptDocument()'” [英] How to resolve "relocation truncated to fit: R_X86_64_PC32 against undefined symbol `xercesc_3_1::AbstractDOMParser::adoptDocument()'"
问题描述
-
重新定位以适合:R_X86_64_PC32对未定义的符号xercesc_3_1 :: AbstractDOMParser :: adoptDocument()
-
未定义引用xercesc_3_1 :: AbstractDOMParser :: adoptDocument()
relocation truncated to fit: R_X86_64_PC32 against undefined symbol xercesc_3_1::AbstractDOMParser::adoptDocument()
undefined reference to xercesc_3_1::AbstractDOMParser::adoptDocument()
Gone through a link on stackoverflow (What does this GCC error "... relocation truncated to fit..." mean?) and understood what type of error is this but did not get a solution on how to resolve it.
Environment I am using: Cygwin64 on Windows8.1 and Eclipse configured to use Cygwin C++ compiler. Tried both xerces-c-3.1.1-x86_64-linux-gcc-3.4 as well as xerces-c-3.1.1-x86-linux-gcc-3.4 and got the same error. Am I missing something?
I Solved the problem by using the libxerces-c
and libxerces-c-devel
from Cygwin setup (re-ran the setup with these two additional packages). I Got rid of above errors as well as signal 11 [Segmentation fault]
error. These binaries are found to be suitable for Cygwin environment.
这篇关于如何解决“relocation truncated to fit:R_X86_64_PC32 against undefined symbol`xercesc_3_1 :: AbstractDOMParser :: adoptDocument()'”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!