Re: undefined reference on linking program using ROOT at RedHat-5.2

From: Chen Aidong (chenad@beslx01.ihep.ac.cn)
Date: Sat Apr 03 1999 - 04:46:50 MEST


Dear Ye,

	I met similar problems before, I guess you did't install g++
well, I suggest you try to find if you have install it well.

  Aidong

*****************************************************************************
*
*	Name:     Ai-Dong Chen            
*	Room:     Room 222, 9#Building(Tel: 68213344--2945), IHEP, BeiJing
*	Office:   Room 104,Three Hall(Tel: 68213344--2312) 
*	          Room 210,Three Hall(Tel: 68213344--2184) 
*	Address:  INST OF HIGH ENERGY PHYSICS
*       	  PO BOX 918
*         	  BEIJING 100039
*         	  P R CHINA
*	E_mail:   chenad@hpws2.ihep.ac.cn
*	HomePage: http://hptc3.ihep.ac.cn:6666/~chenad
*
****************************************************************************


On Fri, 2 Apr 1999, ShuWei Ye wrote:

> 
> 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