Re: [ROOT] Strange CINT warning.

From: Elias Athanasopoulos (
Date: Mon May 03 2004 - 15:31:53 MEST

Dear all, 
> Elias, 
> I cannot reproduce this problem. 
> Could you give more details on your system, gcc version? 
I did a 'make uninstall' and re-build the whole ROOT system, but the 
warning did not disappear. 
I built ROOT with: 
% ./configure linux --prefix=/usr/local/ --enable-python 
System details: 
elathan@testbed:~> gcc -v 
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs 
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local 
--infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib 
--enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj 
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared 
--enable-__cxa_atexit i486-suse-linux 
Thread model: posix 
gcc version 3.3 20030226 (prerelease) (SuSE Linux) 
elathan@testbed:~> root-config --version 
elathan@testbed:~> uname -a 
Linux testbed 2.4.20-4GB #1 Wed Aug 6 18:26:21 UTC 2003 i686 unknown unknown 
I am attaching also a gdb trace if that helps. I will investigate 
more in a couple of hours. 
--- gdb trace --- 
elathan@testbed:~/src/ruby/rr> gdb ./cint-bug 
GNU gdb 5.3 
Copyright 2002 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain conditions. 
Type "show copying" to see the conditions. 
There is absolutely no warranty for GDB.  Type "show warranty" for details. 
This GDB was configured as "i586-suse-linux"... 
(gdb) run 
Starting program: /home/elathan/src/ruby/rr/cint-bug 
[New Thread 16384 (LWP 14196)] 
Note: File "/usr/local//lib/root/" already loaded 
Program received signal SIGINT, Interrupt. 
[Switching to Thread 16384 (LWP 14196)] 
0x41217342 in select () from /lib/ 
(gdb) break G__loadfile 
Breakpoint 1 at 0x4065b357 
(gdb) run 
The program being debugged has been started already. 
Start it from the beginning? (y or n) y 
Starting program: /home/elathan/src/ruby/rr/cint-bug 
Error in re-setting breakpoint 1: 
Function "G__loadfile" not defined. 
[New Thread 16384 (LWP 14362)] 
[Switching to Thread 16384 (LWP 14362)] 
Breakpoint 1, 0x4065b357 in G__loadfile () from /usr/local/lib/root/ 
(gdb) c 
Breakpoint 1, 0x4065b357 in G__loadfile () from /usr/local/lib/root/ 
(gdb) where 
#0  0x4065b357 in G__loadfile () from /usr/local/lib/root/ 
#1  0x40697e25 in G__loadsystemfile () from /usr/local/lib/root/ 
#2  0x4017a309 in TCint::Load(char const*, bool) () from /usr/local/lib/root/ 
#3  0x40149970 in TSystem::Load(char const*, char const*, bool) () from 
#4  0x401e8d9c in TUnixSystem::Load(char const*, char const*, bool) () from 
#5  0x40137675 in TROOT::LoadClass(char const*, char const*, bool) () from 
#6  0x4017cdf4 in TCint::AutoLoadCallback(char const*, char const*) () from 
#7  0x401797e0 in TCint_AutoLoadCallback () from /usr/local/lib/root/ 
#8  0x4069d932 in G__class_autoloading () from /usr/local/lib/root/ 
#9  0x4069e21d in G__defined_tagname () from /usr/local/lib/root/ 
#10 0x4069e306 in G__search_tagname () from /usr/local/lib/root/ 
#11 0x40663c76 in G__get_linked_tagnum () from /usr/local/lib/root/ 
#12 0x40289c21 in G__cpp_setup_tagtableG__Base1 () from /usr/local/lib/root/ 
#13 0x4028a256 in G__cpp_setupG__Base1 () from /usr/local/lib/root/ 
#14 0x406561e8 in G__call_setup_funcs () from /usr/local/lib/root/ 
#15 0x402913c5 in G__cpp_setup_initG__Base1::G__cpp_setup_initG__Base1() () from 
#16 0x4028a7df in __static_initialization_and_destruction_0(int, int) () from 
#17 0x4028ae7d in _GLOBAL__I__ZN4ROOT20GenerateInitInstanceEPK7TBuffer () from 
#18 0x40424a05 in __do_global_ctors_aux () from /usr/local/lib/root/ 
#19 0x400d3d81 in _init () from /usr/local/lib/root/ 
#20 0x4000b4fe in call_init () from /lib/ 
#21 0x4000b63e in _dl_init_internal () from /lib/ 
(gdb) c 
Note: File "/usr/local//lib/root/" already loaded 
Breakpoint 1, 0x4065b357 in G__loadfile () from /usr/local/lib/root/ 

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET