undefined reference on linking program using ROOT at RedHat-5.2

From: ShuWei Ye (yesw@ustc.edu.cn)
Date: Fri Apr 02 1999 - 07:40:03 MEST


Hi,

    I have been out of the roottalk for a quite long time. I met a problem
when compile and link a program using ROOT-v2.00/13 at RedHat-5.2 The
error message is

Linux/bin/mainRint.o: In function `main':
/usr/include/g++/streambuf.h:479: undefined reference to `ios virtual
table'
Linux/bin/mainRint.o: In function `main':
/usr/include/g++/iostream.h:122: undefined reference to `istream::ios
virtual table'
Linux/bin/mainRint.o: In function `main':
/usr/include/g++/fstream.h:65: undefined reference to `ifstream::ios
virtual table'
Linux/bin/libAMS.so: undefined reference to `TGTransientFrame type_info
node'
Linux/bin/libAMS.so: undefined reference to `TMarker3DBox type_info node'
Linux/bin/libAMS.so: undefined reference to `TCanvas type_info node'
Linux/bin/libAMS.so: undefined reference to `TButton type_info node'
Linux/bin/libAMS.so: undefined reference to `TGTransientFrame type_info
functio
Linux/bin/libAMS.so: undefined reference to `TPolyLine3D type_info
function'
Linux/bin/libAMS.so: undefined reference to `TObject type_info node'
Linux/bin/libAMS.so: undefined reference to `TPolyLine3D type_info node'
Linux/bin/libAMS.so: undefined reference to `TPad type_info function'
Linux/bin/libAMS.so: undefined reference to `TCanvas type_info function'
Linux/bin/libAMS.so: undefined reference to `THelix type_info node'
Linux/bin/libAMS.so: undefined reference to `THelix type_info function'
Linux/bin/libAMS.so: undefined reference to `TObject type_info function'
Linux/bin/libAMS.so: undefined reference to `TMarker3DBox type_info
function'
Linux/bin/libAMS.so: undefined reference to `TPad type_info node'
Linux/bin/libAMS.so: undefined reference to `TButton type_info function'
Linux/bin/libAMS.so: undefined reference to `TNamed type_info function'
Linux/bin/libAMS.so: undefined reference to `TNamed type_info node'
collect2: ld returned 1 exit status
gmake: *** [Linux/bin/amsRint] Error 1

I checked all ROOT libraries, and found no any symbols with "type_info".

The compiler I used is
egcs-2.90.29 980515 (egcs-1.0.3 release)


Any ideas ? Thanks.


Best regards  --Shuwei



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET