I have a C ++ / C application that needs to be compiled as 32 bit application (because it contains some third -Public libraries are only available for 32-bit) However, the compilation and execution will be on the CentOS 6.4 x86_64 machine.
I am using the gnu autotools for the building. After doing so many goals, the set of options were finally set to give But I get an error: " Any clues? It seems that you do not want to link to pthreads with The GCC connects one and uses the intangible weak symbols, so that you can make your executable without any link error, but fail on the runtime. / P> .configure to create 32-bit execution / shared objects, instead of
/ lib64,
/ Lb, / usr / lib /, / usr / lib / gcc /... to locate
LD_LIBRARY_PATH ... verified that all generated. So and executable using the
file command is 32 bits.
Undefined symbol: _ZL22__gthrw_pthread_cancelm " If I run executable.
-lpthread gone.
No comments:
Post a Comment