This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
basic string (fwd)
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: basic string (fwd)
- From: Parag Mallick <parag at mbi dot ucla dot edu>
- Date: Thu, 25 Mar 1999 07:43:42 -0800 (PST)
Hello,
A friend had trouble with a link error in the following code. The
bug is interesting because it is alpha only. The code compiles and runs
under redhat linux 5.1. I have attached a tar file of a minimal not
compiling unit. Simply type make.
The problem occurs under alpha:
OSF1 DEC Alpha, Digital Unix 4.0B
With Versions 1.1.1 and Experimental gcc version egcs-2.93.13 19990321
As I cannot get 1.1.2 to compile on alpha (failure during stage 2) I have
not tried compiling the program with 1.1.2 on alpha. It compiles fine with
either 1.1.2 or egcs-2.93.13 19990321 on a dual processor PII running
Redhat 5.1
//--------------------------
Error message
> make
g++ -c rgchar.C -o rgchar.o
g++ -c test4.C -o test4.o
c++ -g -w -fexceptions -o FRED rgchar.o test4.o
/usr/bin/ld:
Unresolved:
basic_string<RGchar, string_char_traits<RGchar>,__default_alloc_template<false,
0> >::nilRep
collect2: ld returned 1 exit status
make: *** [FRED] Error 1
-----------------
Thanks!
Parag M
robTrouble.tar.gz