2.23.12 startup error

From: O'NEEL Bruce (bruce.oneel@obs.unige.ch)
Date: Wed Feb 23 2000 - 09:28:54 MET


Hi,
  On solaris 2.6 with the newest source 

-rw-r--r--   1 1119     1021      3443092   Feb 21 17:59
root_v2.23.12.source.tar.gz

and Sun CC 5.0 at some patch level or another I get the following
error on startup:

isdcul3:root 58> root
ld.so.1: /home/isdc/oneel/tmp/root/bin/root.exe: fatal: relocation error: file /home/isdc/oneel/tmp/root/lib/libGX11.so: symbol __1cFTGX112t6Mpkc2_v_: referenced symbol not found

That symbol truns out to be:

dem __1cFTGX112t6Mpkc2_v_

__1cFTGX112t6Mpkc2_v_ == TGX11::TGX11(const char*,const char*)


This is fixed with the following change:

isdcul7:src 74> diff TGX11.h ~/tmp/root/src/TGX11.h
131c131
<    TGX11(const char *name, const char *title);
---
>    TGX11(const Text_t *name, const Text_t *title);
Exit 1

Why?  Why ask Why?  Who knows.  Seems like a compiler glitch to me.
Works fine with gcc.

cheers

bruce


-- 
Teleportation is very confusing, even to experts - Matt Conway.
Bruce O'Neel                       phone:  +41 22 950 91 22 (direct)
INTEGRAL Science Data Centre               +41 22 950 91 00 (switchb.)
Chemin d'Ecogia 16                 fax:    +41 22 950 91 33
CH-1290 VERSOIX                    e-mail: Bruce.Oneel@obs.unige.ch
Switzerland                        WWW:    http://isdc.unige.ch/



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET