[ROOT] Mysterious Shared Object error...

From: Andrew Askew (padley) (askew@physics.rice.edu)
Date: Sat Apr 29 2000 - 00:31:11 MEST


Hi Rooters,

I've run into this problem before, but the solution was never quite clear
to me, and since its popped up again, I figured I'd beg the question:

I have a class called pde, that I use the standard makefile that goes with
the version and architecture of ROOT that I currently use, which I compile
and link as a shared library (ROOT version 2.23/12, on IRIX 6.5 IP27).
This all goes FINE (Using kcc, same thing this version was built under).
I then enter root and do the following:
<d0mino> root

X-Threads are initialized

  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   2.23/11   12 January 2000   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

FreeType Engine v1.1 used to render TrueType fonts.

CINT/ROOT C/C++ Interpreter version 5.14.25, Nov 25 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] gSystem.Load("pde.so")
(int)0

This sucessfully loads, but if I should attempt to use or even view the
class:

root [1] .class pde
Error: class,struct,union or type pde not defined  FILE: LINE:0
*** Interpreter error recovered ***
root [2] 


I have made certain that all of the includes necessary have been taken
care.

Thanks,
Andrew Askew



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