Re: Compiling ROOT programs on Solaris

From: Fons Rademakers (rdm)
Date: Wed Jan 28 1998 - 23:14:09 MET


Hi Steve,

   the ROOT solaris version is for the native CC cmpiler. We have currently
no access to gcc on solaris. Might be coming soon tough.

Cheers, Fons.

> Hi,
> 
> I am trying to get a root application working on a Sun ULTRA 1.
> I got the root development version 1.03/07, and the root program works.
> but when i want to make my own application i get alot of compilation problems.
> 
> When i go to the root/test directory and type make, I get :
> 
> gcc -g hworld.o -L/u1/eichblat/root/pro/lib -lBase -lCint -lClib -lCont -lFunc -lGraf  -lGraf3d -lHist -lHtml -lMeta -lMinuit -lNet -lPostscript  -lProof -lTree -lUnix -lZip -lGpad -lGX11 -lMotif -lWidgets -lX3d -L/usr/dt/lib -L/usr/openwin/lib  -L/usr/ccs/lib -lXm -lXt -lX11 -lm -lgen -ldl -lsocket -lm -o hworld
> Undefined                       first referenced
>  symbol                             in file
> __0fKunsafe_iosDtieP6Hostream       /u1/eichblat/root/pro/lib/libCint.so
> __0FDhexR6Dios                      /u1/eichblat/root/pro/lib/libCint.so
> __0fOunsafe_ostreamHdo_opfxv        /u1/eichblat/root/pro/lib/libBase.so
> cout                                /u1/eichblat/root/pro/lib/libBase.so
> __0FEendlR6Hostream                 /u1/eichblat/root/pro/lib/libBase.so
> __0FCwsR6Histream                   /u1/eichblat/root/pro/lib/libBase.so
> __0fDiosEsetflTB                    /u1/eichblat/root/pro/lib/libCint.so
> __0FDdecR6Dios                      /u1/eichblat/root/pro/lib/libCint.so
> __0oHostreamlsP6Jstreambuf          /u1/eichblat/root/pro/lib/libCint.so
> sincos                              /u1/eichblat/root/pro/lib/libBase.so
> __0fHfilebufEopenPCciTC             /u1/eichblat/root/pro/lib/libCint.so
> __0fLfstreambaseEopenPCciTC         /u1/eichblat/root/pro/lib/libCint.so
> __0fDiosGunsetfl                    /u1/eichblat/root/pro/lib/libCint.so
>    .................
>    ...
>    ...
>    ...
> 
> which goes on alot, and finally fails,
> ld: fatal: Symbol referencing errors. No output written to hworld
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `hworld'
> 
> Does anyone know what i can do to fix this?
> 
> Thanks in advance.
> 
> Steve Eichblatt
> eichblatt@fnal.gov
> 


-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



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