Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Brian W. Barrett (bbarrett_at_[hidden])
Date: 2006-12-30 10:28:33


> g++ -O3 -DNDEBUG -fno-inline -pthread -o .libs/ompi_info components.o
> ompi_info.o output.o param.o version.o -Wl,--export-dynamic
> ../../../ompi/.libs/libmpi.so
> /<homedir>/programs/openmpi-1.1.2/orte/.libs/liborte.so
> /<homedir>/programs/openmpi-1.1.2/opal/.libs/libopal.so -ldl -lnsl
> -lutil -lm -Wl,--rpath -Wl,/<homedir>/programs/openmpi/lib
>
> components.o(.text+0xf9): In function `ompi_info::open_components()':
> : undefined reference to `std::basic_string<char,
> std::char_traits<char>, std::allocator<char>
> >::_Rep::_S_empty_rep_storage'

Can you compile a simple (non-MPI) C++ program that uses part of the STL
(like std::string)? Usually this points to an issue with the installation
of the GNU C++ compiler.

Brian