[Gate-users] Problem compiling Gate_v6.1

Didier Benoit benoit at imnc.in2p3.fr
Tue Oct 4 04:23:25 CEST 2011


Hi Abderrahman,

Have you installed GATE successfully? It seems you're trying to install GATE on a 32 bits architecture. I think you compile in 32 bits and after the linker is in 64 bits, something like this.

Kind Regards,
Didier

On Sep 18, 2011, at 1:06 AM, abderrahman elkharrim wrote:

> Dear Gaters,
> I tried to compile gate 6.1 with the following ingredients :
> 
> geant4.9.4.p01
> 
> root 5.24
> clhep  2.1.0.1
> 
> gcc 4.1.2
> 
> 
> Everything runs perfectly until I got the following warning :
> 
> Creating shared library tmp/Linux-g++/Gate/libGate.so ...
> /usr/bin/ld: warning: i386 architecture of input file `GateActions.o' is
> incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file
> `GateActorManagerMessenger.o' is incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file `GateActorManager.o'
> is incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file `GateActorMessenger.o'
> is incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file
> `GateAnalysisMessenger.o' is incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file `GateAnalysis.o' is
> incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file `GateAnalyzeHeader.o'
> is incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file
> `GateAngleFilterMessenger.o' is incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file `GateAngleFilter.o' is
> incompatible with i386:x86-64 output
> .....
> .....
> GateVProcess.o:(.data.rel.ro._ZTV22G4LEKaonZeroSInelastic[vtable for
> G4LEKaonZeroSInelastic]+0x14): undefined reference to
> `G4HadronicInteraction::SampleInvariantT(G4ParticleDefinition const*,
> double, int, int)'
> GateVProcess.o:(.data.rel.ro._ZTI22G4LEKaonZeroSInelastic[typeinfo for
> G4LEKaonZeroSInelastic]+0x8): undefined reference to `typeinfo for
> G4InelasticInteraction'
> GateVSourceMessenger.o:(.data.rel.ro._ZTV20GateVSourceMessenger[vtable for
> GateVSourceMessenger]+0x10): undefined reference to
> `G4UImessenger::GetCurrentValue(G4UIcommand*)'
> GateVSource.o:(.data.rel.ro._ZTI11GateVSource[typeinfo for
> GateVSource]+0x8): undefined reference to `typeinfo for
> G4SingleParticleSource'
> GateVSourceVoxelReaderMessenger.o:(.data.rel.ro._ZTV31GateVSourceVoxelReaderMessenger[vtable
> for GateVSourceVoxelReaderMessenger]+0x10): undefined reference to
> `G4UImessenger::GetCurrentValue(G4UIcommand*)'
> GateWedgeMessenger.o:(.data.rel.ro._ZTV18GateWedgeMessenger[vtable for
> GateWedgeMessenger]+0x10): undefined reference to
> `G4UImessenger::GetCurrentValue(G4UIcommand*)'
> collect2: ld a retourné 1 code d'état d'exécution
> gmake: *** [tmp/Linux-g++/Gate/libGate.so] Erreur 1
> 
> 
> 
> Do you have an I idea? What did I missed?
> 
> Otherwise could someone gives a successfully tested ingredients for gate
> 6.1.
> 
> Thanks in advance,
> 
> 
> Abderrahman El Kharrim
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

-------------------------------------------------------------------------------------------
Didier BENOIT, GATE Engineer
Imagerie et Modélisation en Neurobiologie et Cancérologie (IMNC)
IMNC – UMR 8165 CNRS – Université Paris 7 – Université Paris 11
Campus d’Orsay
Bâtiment 440
91406 ORSAY Cedex

Tél : (33) 1 69 15 68 76
E-mail : benoit at imnc.in2p3.fr
http://www.imnc.in2p3.fr
-------------------------------------------------------------------------------------------



More information about the Gate-users mailing list