[ROOT] cxx_repository (templates instantiation) on alpha

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Wed Mar 06 2002 - 19:11:01 MET


Hi,

I have a problem compiling root 3.03/02 on alpha/cxx. Actually compiling
a program that uses
root libs. When I try to run it, it gives me the following error :

dada-> bin/root.exe
47171:bin/root.exe: /sbin/loader: Fatal Error: Unresolved symbol in
/virgoApp/root/v3r03/OSF1/libCint.so:
insert__Q18_RWrwstd481_RWrb_tree__TQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__TcQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__TcQ18_RWrwstd147_RWident__TQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__TcQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__TcQ13std75less__TQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__TcQ13std80allocator__TQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__TcXRCQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__Tc

I tracked down the problem to be related to the cxx_repository directory
created
by cxx on alpha, where it puts all the instantiated templates it builds.
Since it builds some of these templates in root's compiling, the
executables (root.exe,...) code uses this directory contents at link
time.
But my executables do not have by default access to it. I suppose I can
use
a link option, but it is really odd.
It was not the case in previous ROOT releases.

Is there a way to circumvent the problem or do I need to put a compiler
flag that refers
to the cxx_repository created in $ROOTSYS ? I would prefer not, since
this means that one needs to also copy cxx_repository when doing a gmake
install

Cheers

Damir

-- 
=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET