This is the mail archive of the
mailing list for the GCC project.
Problem with gcc
- From: "Subhash Agrawal" <subhash dot agrawal at ss8 dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 15 Mar 2002 15:47:02 -0600
- Subject: Problem with gcc
I built gcc 2.95.3 and I am trying to build a test program but its giving
Any thought is appreciated ...
Error and test program is included..
bash-2.02$ g++ test.cc
Undefined first referenced
symbol in file
basic_ostream<char, char_traits<char> > & operator<<<char_traits<char>
>(basic_ostream<char, char_traits<char> > &, char const
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
bash-2.02$ cat test.cc
cout << "Hello" ;