Re: [VMC] geant3 compilation error...

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 11 Mar 2009 08:50:59 +0100


Did you clean-up your directory geant3 before installing the new version. I do not see -lg2c in the link step in the current version.

Rene Brun

xsatya wrote:
> Hi,
>
> I am getting following error wile installing geant3-v1.10 for aliroot
>
> TGeant3/TGeant3gu.cxx
> TGeant3/TGeant3TGeo.cxx
> TGeant3/TGeant3TGeo.cxx: In member function ‘virtual void
> TGeant3TGeo::LoadAddress()’:
> TGeant3/TGeant3TGeo.cxx:588: warning: dereferencing type-punned
> pointer will break strict-aliasing rules
> Generating
> /home/satya/AliSoft/geant3/tgt_linuxx8664gcc/TGeant3/geant3Cint.cxx
> /home/satya/AliSoft/geant3/tgt_linuxx8664gcc/TGeant3/geant3Cint.cxx
> Generating /home/satya/AliSoft/geant3/lib/tgt_linuxx8664gcc/libgeant321.so
> /usr/bin/ld: cannot find -lg2c
> collect2: ld returned 1 exit status
> gmake: ***
> [/home/satya/AliSoft/geant3/lib/tgt_linuxx8664gcc/libgeant321.so] Error 1
>
> I am using O/S: SLC 5.2 x86-64
> gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
> ROOT-5.23.02
>
> Could any one suggest what to do to make it work??
> With regards,
>
> --
> ---------------
> Research Student,
> High Energy Physics, India.
Received on Wed Mar 11 2009 - 08:51:26 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 11 2009 - 11:50:02 CET