title: std namespace vs. _STL namespace link problems
body: <p>I am trying to link something I wrote to an existing shared library.
  I using gcc 3.2.3 on RedHat 3. When I get to the link phase I get an error that says:</p>
  
  <p>object_files_linux/hvm_example.o(.text+0x233):~/hvm_example.cpp:254: undefined reference to `xoc::hvmapi::id(std::basic_string, std::allocator > const&amp;)'</p>
  
  <p>I have run the nm command on the object file and it shows this for the function in question:</p>
  
  <p>U xoc::hvmapi::id(std::basic_string, std::allocator > const&amp;)</p>
  
  <p>I run nm on the shared library and it show this for the function in question:</p>
  
  <p>T xoc::hvmapi::id(__STL::basic_string, _STL::allocator > const&amp;)</p>
  
  <p>My question is : Is the link failure because my function uses the std namespace and the shared library uses the _STL namespace?</p>
  
  <p>Is there a work around?</p>
  
  <p>I don't have access to the source of the shared library source code but I do have header files that use the std namespace for the parameters.</p>
  
  <p>Thanks,
  Mike</p>