Re: [ROOT] cxx_repository (templates instantiation) on alpha

From: Stephen J. Gowdy (gowdy@SLAC.stanford.edu)
Date: Wed Mar 06 2002 - 19:52:21 MET


Hi Damir,
	We got round a similar problem by sweeping all the .o files into 
the library. However, that was using archive libraries, not sure if that 
will work for shared libraries (but it should).

							regards,

							Stephen.

On Wed, 6 Mar 2002, Damir Buskulic wrote:

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

-- 
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|                                     | Menlo Park CA 94025, USA |
|EMail: gowdy@slac.stanford.edu       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/



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