This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

basic string (fwd)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]