Symbol differences in STLport library and application object file

Hello,

I compiled the object file of a binary and i could see the symbol , "voidstd::__node_alloc<1,0>::_M_allocate(unsigned)", this is actually present as "voidstd::__node_alloc<true,0>::_M_allocate(unsigned)" in the libstlport4.so.1 . This has been verified with "nm -C " command

Please suggest ! Do i need to change the code ?

Shafi

True is 1.

I am getting symbol referencing errors due to that mismatch and not able to build the executable... Same thing is happening for bool Vs int (Rebalance....)

The above error got resolved by adding a STLport compiler(user defined option) "-D_STLP_USE_NEWALLOC" but the other errror still comes and binary is not built due to that.. Other error shown in console while linking is..

"
void std::_Rb_global<int>::_Rebalance(std::_Rb_tree_node_base*,std::_Rb_tree_node_base*&) /path/loc/file_header_type.o
ld: fatal: Symbol referencing errors. No output written to fgs_bin/binaryName
Error status returned = 1
"

After using the option, -D_STLP_EXPOSE_GLOBALS_IMPLEMENTATION the above issue got resolved. This option i got it by seeing the source code of STLport..It is not mentioned in the STLport configuration manual