Re: please decode this error message

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Aug 06 1999 - 08:40:31 MEST


Hi Jeff,
You can find a documentation for ATLFAST++ at URLs
  http://root.cern.ch/root/Atlfast.html
>From this URL, you can download the source and a Postscript document
giving a lot more detauls than the URL above.
The source tar file contains a README file explaining the installation
procedure.

I agree with your remark that there is a gap between the code snippets
in the Root documentation and the applications using Root.
When writing the initial documentation, we assumed that people were
already familiar with C++ and OO. However, we realize now that many
people starting with Root are also new to C++ and OO.
The general comments we receive now are about the missing documentation
for the ROOT I/O and Trees machinery.
It would be nice if we had a contribution in this area !

I can only repeat here the suggested documentation:

 1- read the 3 courses by Fons
     ftp://root.cern.ch/root/course1.ps.gz
     ftp://root.cern.ch/root/course2.ps.gz    
     ftp://root.cern.ch/root/course3.ps.gz 

 2- Execute tutorials at $ROOTSYS/tutorials

 3- read documentation recently generated by FNAL at URL:
    http://www-pat.fnal.gov/root/

 4- Look at more advanced applications described at URL:
    http://root.cern.ch/root/ExApplications.html

 5- If you start with Trees, look at the basic &fundamental example
    at $ROOTSYS/test/Event.

 6- For advanced users, try to understand the Root test suite at
    $ROOTSYS/test/stress.cxx

Rene Brun



Jeff Templon wrote:
> 
> Hi,
> 
> I am trying to build a (very) small Monte Carlo from the ATLFast base
> stuff.  I am trying to make a minimum setup so I can understand what
> the absolute necessary constructs are to use this Maker scheme.
> 
> When I try to link my files, I get the following message. I have
> included the entire compilation sequence (I stole the Makefile from
> the $ROOTSYS/test/Makefile) so you can see how far I got, if that
> helps.
> 
> I am finding that there is a very long gap between the ROOT course
> which explains use of ROOT at the PAW replacement level, and the
> documentation of big applications using ROOT.  Someone should make a
> document which describes the bare essentials.
> 
>                                                 JT
> 
> Note: I have a sneaking suspicion that the error has something to do
> with the LinkDefs file, for which I could find no real documentation.
> Another thing to put in the hypothetical document described above.
> 
> compilation sequence:
> 
> visar:root> make tinyma.so
> g++ -O -Wall -fno-rtti -fno-exceptions -fPIC -I/usr/local/root/include -c TINYMaker.cxx
> Generating dictionary tinyCint...
> Note: operator new() masked 1c
> Note: operator delete() masked 1c
> g++ -O -Wall -fno-rtti -fno-exceptions -fPIC -I/usr/local/root/include -c tinyCint.cxx
> g++ -shared -g TINYMaker.o tinyCint.o -o tinyma.so
> tinyCint.o: In function `TINYMaker::Streamer(TBuffer &)':
> tinyCint.o(.text+0x3b90): multiple definition of `TINYMaker::Streamer(TBuffer &)'
> TINYMaker.o(.text+0x634): first defined here
> /usr/bin/ld: Warning: size of symbol `TINYMaker::Streamer(TBuffer &)' changed from 370 to 302 in tinyCint.o
> collect2: ld returned 1 exit status
> make: *** [tinyma.so] Error 1



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:37 MET