This is a discussion on Undefined symbol error linking STLport-462 lib on AIX 4.3.3 within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi, I've built the STLport-462 library on AIX-4.3.3 using gcc-3.3.2. No errors during compilation. However, during linking the following ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I've built the STLport-462 library on AIX-4.3.3 using gcc-3.3.2. No errors during compilation. However, during linking the following error occurs: ld: 0711-317 ERROR: Undefined symbol: _STL::_Node_Alloc_Lock<(bool)1, (int)0>::_S_lock Besides this error, the following warnings are given: ld: 0711-224 WARNING: Duplicate symbol: _STL::money_get<char, _STL::istreambuf_iterator<char, _STL::char_traits<char> > >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::money_put<char, _STL: 0711-224 WARNING: Duplicate symbol: _STL::money_get<wchar_t, _STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> > >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::money_put<wchar_t, _STL: >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::num_put<char, _STL: 0711-224 WARNING: Duplicate symbol: _STL::num_put<wchar_t, _STL: >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::num_get<wchar_t, _STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> > >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::num_get<char, _STL::istreambuf_iterator<char, _STL::char_traits<char> > >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::time_get<char, _STL::istreambuf_iterator<char, _STL::char_traits<char> > >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::time_put<char, _STL: 0711-224 WARNING: Duplicate symbol: _STL::time_get<wchar_t, _STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> > >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::time_put<wchar_t, _STL: >::id Any idea how to solve this? I've installed APAR IY26685 (assembler fix). FYI: I've built and used exactly the same library on AIX-5L (also with gcc-3.3.2) without any problems. Thanks in advance, John |