Re: Problems compiling ROOT test programs.

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jul 06 1998 - 10:40:56 MEST


Simon,
I suggest you download version 2.00 instead of 1.03.
The binaries provided for Solaris have been generated with the
native SUN compiler CC, not gcc.
I don't think you can mix object modules compiled with gcc
and objects compiled with CC.

Rene Brun


Simon Cameron wrote:
> 
> Hello,
> 
> I have just downloaded the Solaris executable for ROOT v1.03.
> 
> I can run the demo programs, but I am having problems compiling
> the test programs that reside in the test directory. I get "symbol
> referencing errors" - as shown in the traces below.
> 
> Does anybody have any ideas or suggestions?
> 
> Also, does ROOT support complex numbers? If not, has anybody
> added complex number support?
> 
> Thankyou in advance,
> 
> Simon Cameron.
> 
> >make
> >g++ -O -fPIC -I/home/simonc/projects/root/root/include -c Event.cxx
> >g++ -O -fPIC -I/home/simonc/projects/root/root/include -c EventCint.cxx
> >g++ -O -fPIC -I/home/simonc/projects/root/root/include -c MainEvent.cxx
> >g++ -G -g Event.o  EventCint.o -o libEvent.so
> >g++ -g MainEvent.o Event.o  EventCint.o
> -L/home/simonc/projects/root/root/lib -lNew -lBase -lCint -lClib -lCont
> -lFunc  -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet
> -lPostscript -lProof -lTree -lUnix -lZip -lm -lsocket -lgen
> -L/opt/SUNWspro/lib -lsunmath -o Event
> >Undefined                      first referenced
> > symbol                            in file
> >__0fKunsafe_iosDtieP6Hostream
> /home/simonc/projects/root/root/lib/libCint.so
> >__0FDhexR6Dios
> /home/simonc/projects/root/root/lib/libCint.so
> >__0fOunsafe_ostreamHdo_opfxv
> /home/simonc/projects/root/root/lib/libBase.so
> >__0FEendlR6Hostream
> /home/simonc/projects/root/root/lib/libBase.so
> >__0FCwsR6Histream
> /home/simonc/projects/root/root/lib/libBase.so
> >__0fDiosEsetflTB
> /home/simonc/projects/root/root/lib/libCint.so
> >
> 
> Removed long list of error messages.
> 
> >__0fHfilebufGattachi
> /home/simonc/projects/root/root/lib/libCint.so
> >__0oLfstreambasectiPcTB
> /home/simonc/projects/root/root/lib/libCint.so
> >Browse__7TObjectP8TBrowser          Event.o
> >ld: fatal: Symbol referencing errors. No output written to Event
> >*** Error code 1
> >make: Fatal error: Command failed for target `Event'
> >



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