help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undefined reference error


From: jaipal
Subject: undefined reference error
Date: Fri, 18 Jan 2008 04:29:52 -0800 (PST)
User-agent: G2/1.0

 undefined reference to `std::basic_ostream<char,
std::char_traits<char> >& std::__ostream_insert<char,
std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*, long)'
/remote/srm269/jaipal/jai/hsim/lib/libselem.a(env.o)
(.gnu.linkonce.t._ZN11hsim_stream7WarningEv+0x18): In function
`hsim_stream::Warning()':
: undefined reference to `std::basic_ostream<char,
std::char_traits<char> >& std::__ostream_insert<char,
std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*, long)'
/remote/srm269/jaipal/jai/hsim/lib/libselem.a(env.o)
(.gnu.linkonce.t._ZN11hsim_streamlsEd+0x1c): In function
`hsim_stream::operator<<(double)':
: undefined reference to `std::basic_ostream<char,
std::char_traits<char> >& std::basic_ostream<char,
std::char_traits<char> >::_M_insert<double>(double)


I am getting these errors with gcc 4.2.2. I didnt get any errors with
the previous versions


reply via email to

[Prev in Thread] Current Thread [Next in Thread]