24 Mar
2010
24 Mar
'10
11:43 a.m.
Iskandar Prins wrote:
Hi all,
I have build the bjam tool and then I run the following: bjam toolset=sun stdlib=sun-stlport address-model=64 stage
When I try to link with the generated libboost_thread.so I get the following error:
ld: fatal: file
/libboost_thread.so: wrong ELF class: ELFCLASS64 Does this mean that the libraries are compiled for 32bit instead of 64bit?
Rather, it seems like the library is built as 64-bit code, while your application is 32-bit. Are you passing -m64 or whatever option is suitable for the sun compiler when building your application? - Volodya