This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc3.1.1 problems under AIX 4.3.3
- From: Jeff Lee <jeff at cdnorthamerica dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 14 Aug 2002 11:06:16 -0400
- Subject: gcc3.1.1 problems under AIX 4.3.3
- Organization: Computational Dynamics North America
Hi,
I successfully compiled gcc3.1.1 under AIX4.3.3 but when I try to
compile this simple program, I get the following errors:
#include <vector>
#include <string>
using namespace std;
int main()
{
vector<string> a;
a.push_back("Hello world");
}
ld: 0711-317 ERROR: Undefined symbol: .std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string[in-charge](char const*, std::allocator<char> const&)
ld: 0711-317 ERROR: Undefined symbol: .std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::~basic_string [in-charge]()
ld: 0711-317 ERROR: Undefined symbol: .std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string[in-charge](std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)
ld: 0711-317 ERROR: Undefined symbol: .std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::operator=(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
--
Jeff Lee <jeff@cdnorthamerica.com>
Software Engineer
CD North America
21 Lafayette Street, Suite 230
Lebanon, NH 03766
Tel: (603) 643-9993 ext. 109
Fax: (603) 643-9994