Re: [ROOT] Can't compile on SUN 5.7

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Oct 01 2003 - 09:41:08 MEST


Make sure you have a recent version of gmake.

Cheers, Fons



On Tue, Sep 30, 2003 at 05:24:07PM -0500, Philippe Canal wrote:
> > I tried to install the binary package, but it crashes with the
> > message:
> 
> I suspect that 5.7 is not binary compatible with our solaris machines.
> 
> > -> By somme reason the command CC -O -o bin/rmkdepend is truncated!?
> 
> This is very strange.  You might want to make sure that you started
> from a fresh copy of the CVS repository.
> Something might actually be missing in the makefile and Module.mk files.
> 
> Cheers,
> Philippe.
> 
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Thomas Ziegler
> Sent: Thursday, September 25, 2003 5:07 PM
> Cc: roottalk@pcroot.cern.ch
> Subject: [ROOT] Can't compile on SUN 5.7
> 
> 
> Hi,
> I am trying to compile root version 3.05 on Sun Solaris 5.7.
> 
> I tried to install the binary package, but it crashes with the
> message:
> 
> ld.so.1:
> /net/ds1/exports/data2/tziegler/install_belle/root_bin/root/bin/root.exe:
> fatal: relocation error: file
> /net/ds1/exports/data2/tziegler/install_belle/root_bin/root/lib/libCore.so:
> symbol __1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found
> ld.so.1: ./root: fatal: relocation error: file ./root: symbol
> __1cG__CrunMdo_exit_code6F_v_: referenced symbol not found
> Killed
> 
> If I try the same with CC (./configure solarisCC5) I get the following:
> ------------------------------------------------------------------------
> Makefile:301: cint/main/G__setup.d: No such file or directory
> Makefile:301: cint/src/sun5strm.d: No such file or directory
> Makefile:301: cint/src/loadfile_tmp.d: No such file or directory
> Makefile:301: cint/main/cppmain.d: No such file or directory
> Makefile:301: utils/src/rootcint.d: No such file or directory
> Makefile:301: base/src/G__Base1.d: No such file or directory
> Makefile:301: base/src/G__Base2.d: No such file or directory
> ... more of that, then ...
> Makefile:301: main/src/hadd.d: No such file or directory
> Makefile:301: main/src/h2root.d: No such file or directory
> Makefile:303: build/dummy.d: No such file or directory
> CC -O  -o bin/rmkdepend
> cp g3d/inc/X3DBuffer.h include/X3DBuffer.h
> cp g3d/inc/X3DDefs.h include/X3DDefs.h
> cp gui/inc/TGObject.h include/TGObject.h
> ... more and then finally ...
> cp treeviewer/inc/TTVLVContainer.h include/TTVLVContainer.h
> cp treeviewer/inc/HelpTextTV.h include/HelpTextTV.h
> cp x3d/inc/TViewerX3D.h include/TViewerX3D.h
> cp x3d/inc/x3d.h include/x3d.h
> build/unix/depend.sh main/src/h2root.d "-KPIC -I/usr/openwin/include
> -ptr/net/ds1/exports/data2/tziegler/install_belle/root_source/root
> -Iinclude  " main/src/h2root.cxx > main/src/h2root.d
> gmake: *** [main/src/h2root.d] Error 1
> 
> -> By somme reason the command CC -O -o bin/rmkdepend is truncated!?
> As rmkdepend is not build/compiled then in the end it stops with h2root.
> 
> Now if I do the same with gcc/g++ (./configure solarisgcc) then I get
> the following:
> Makefile:301: cint/main/G__setup.d: No such file or directory
> Makefile:301: cint/src/libstrm.d: No such file or directory
> Makefile:301: cint/src/loadfile_tmp.d: No such file or directory
> Makefile:301: cint/main/cppmain.d: No such file or directory
> Makefile:301: utils/src/rootcint.d: No such file or directory
> Makefile:301: base/src/G__Base1.d: No such file or directory
> Makefile:301: base/src/G__Base2.d: No such file or directory
> .... more of that kind, then ...
> Makefile:301: main/src/pmain.d: No such file or directory
> Makefile:301: main/src/hadd.d: No such file or directory
> Makefile:301: main/src/h2root.d: No such file or directory
> Makefile:303: build/dummy.d: No such file or directory
> g++ -O  -o bin/rmkdepend
> g++: No input files
> gmake: *** [bin/rmkdepend] Error 1
> 
> which is different from above!
> One thing that strikes me as odd also, is that
> 1.) with gcc/g++ on Linux the rmkdepend is build with gcc, not with g++
> 2.) on Linux there are many more messages at the beginning like
>      Makefile:301: cint/..... No such file or directory
>      than I get it under SUN!?
> 
> There might be a general problem with the setup of that SUN machine?!
> Help is very much appreciated!
> Thanks,
> Tom
> 
> --
> 
>                                    \|/
>                                   (o o)
> -----------------------------oOO**(_)**OOo---------------------------------
> 
>                ***********************************************
>                *                                             *
>                *  There once was a young lady called Bright, *
>                *  who could travel much faster than light,   *
>                *  she set off one day,                       *
>                *  in a relative way,                         *
>                *  and came back the previous night.          *
>                *                                             *
>                ***********************************************
> 
>    Thomas Ziegler
>    ==============
>      WORK:
>      Department of Physics              ("`-''-/").___..--''"`-._
>      Princeton University               `6_ 6  )   `-.  (     ).`-.__.`)
>      Jadwin Hall, room 389               (_Y_.)'  ._   )  `._`.``-..-'
>      Princeton NJ 08544                _..`--'_..-_/  /--'_.' ,'
>      USA                              (il),-''  (li),'  ((!.-'
>      Tel. 609-2584366
>      Fax. 609-2586360
> 
>      PRIVATE:
>      265 Ewing Street
>      Princeton NJ 08540
>      USA
>      Tel. 609-6881655
> 
>      http://www.hep.princeton.edu/~tziegler
> 
> 
> #################################################################
> #################################################################
> #################################################################
> #####
> #####
> #####
> #################################################################
> #################################################################
> #################################################################

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET