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]

Internal compiler bug


Hi,

I try to install a packages, but it shows the following: (just athe main
piece)
(because I can cut it from my shell, I type....)

------------------------------------------------------------
/usr/include/g++/streambuf/h: In method 'class ostream * ios::tie(class
ostream *):
In file included from /usr/include/g++/iostream.h:31,
                             from /usr/include/g++/strstream.h:32,
                             from
tcl/vtkImageCityBlockDistanceTcl.cxx:6:
/usr/include/g++/streambuf.h:180:Internal compiler error.
/usr/include/g++/streambuf.h:180:Please.....
-----------------------------------------------------------

How to fix it?

By the way, I try to install another object package, it shows follow

------------------------------------------------------------
../../libW.so: undefined reference to 'strstreambuf virtual table'
../../libW.so: undefined reference to 'ostream::ioo virtual table'
../../libW.so: undefined reference to 'ifstream::ios virtual table'
../../libW.so: undefined reference to 'ios virtual table'
../../libW.so: undefined reference to 'ostrstream::ios virtual table'
../../libW.so: undefined reference to 'strstreambase::ios virtual table'

../../libW.so: undefined refe rence to 'istream::ios virtual table'
../../libW.so: undefined reference to 'ofstream::ios virtual table'
collect2:ld  returned 1 exit status
make[1]:[gw] error 1 (ignored)
------------------------------------------------------------
Also, with  following (another file)

------------------------------------------------------------
gw_bintree.o : in function "main"
gw_bintree.o (.text +0x8b1): undefined reference to  'avl_tree virtual
table'
gw_bintree.o (.text +0x8e5): undefined reference to 'leda_rb_treevirtual
table'
gw_bintree.o (.text +0x915): undefined reference to  'bb_tree virtual
table'
gw_bintree.o (.text +0x945): undefined reference to  'rs_tree virtual
table'
....
------------------------------------------------------------

Are these related? please forgive me because I am naive for such things.

How to fix them?

Some things about running installation:
g++: gcc version egcs-2.90.27  980315 (egcs-1.0.2 release)
gcc : gcc version 2.7.2.3
linux kernel:2.0.35 on Redhat 5.1

Thanks in advance.
liucm



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