CC compiler problem

Shawn trekker182@gmail.com
Sat Nov 15 10:26:00 GMT 2008


Hello,

I just installed gcc-4.0.1 in Tiger and when I try to compile a simple
test program from the command line, I get this :

supports-mac-mini:~/desktop Support$ CC test.cpp
/usr/bin/ld: Undefined symbols:
std::basic_ostream<char, std::char_traits<char>
>::operator<<(std::basic_ostream<char, std::char_traits<char> >&
(*)(std::basic_ostream<char, std::char_traits<char> >&))
std::ios_base::Init::Init()
std::ios_base::Init::~Init()
std::cout
std::basic_ostream<char, std::char_traits<char> >& std::endl<char,
std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&)
std::basic_ostream<char, std::char_traits<char> >& std::operator<<
<std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*)
___gxx_personality_v0
collect2: ld returned 1 exit status

Anyone know what it means?

Thanks.



More information about the Gcc-help mailing list