please decode this error message

From: Jeff Templon (templon@studbolt.physast.uga.edu)
Date: Thu Aug 05 1999 - 21:26:26 MEST


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