[Gate-users] Error about 64-bit architecture when installing gate on SL5
John Strologas
strologas at gmail.com
Wed Jan 4 01:18:28 CET 2012
Hi all,
I am trying to install gate on SL5 (scientific linux). I
successfully compiled clhep, gate, geant, lmf
and I am using root v5_26_00. The compilation of gate is fine, but
when gmake is about to link I got a
long series of warnings as shown below:
Creating shared library tmp/Linux-g++/Gate/libGate.so ...
/usr/bin/ld: warning: i386 architecture of input file
`GateARFDataToRoot.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`GateARFDataToRootMessenger.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `GateARFSD.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`GateARFSDMessenger.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `GateARFTable.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`GateARFTableMgr.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`GateARFTableMgrMessenger.o' is incompatible with i386:x86-64 output
/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
`GateActorManager.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
`GateActorMessenger.o' is incompatible with i386:x86-64 output
.
.
.
and then a long list of errors:
GateARFDataToRoot.o: In function `GateARFDataToRoot::CloseARFDataRootFile()':
GateARFDataToRoot.cc:(.text+0xf1): undefined reference to
`TTree::GetCurrentFile() const'
GateARFDataToRoot.o: In function
`__static_initialization_and_destruction_0(int, int)':
GateARFDataToRoot.cc:(.text+0x300): undefined reference to
`TVersionCheck::TVersionCheck(int)'
GateARFDataToRoot.cc:(.text+0x305): undefined reference to
`CLHEP::HepRandom::createInstance()'
GateARFDataToRoot.o: In function `GateARFDataToRoot::DisplayARFStatistics()':
GateARFDataToRoot.cc:(.text+0x3c0): undefined reference to `G4cout'
GateARFDataToRoot.cc:(.text+0x3e9): undefined reference to `G4cout'
GateARFDataToRoot.cc:(.text+0x424): undefined reference to `G4cout'
GateARFDataToRoot.cc:(.text+0x463): undefined reference to `G4cout'
GateARFDataToRoot.cc:(.text+0x4a2): undefined reference to `G4cout'
GateARFDataToRoot.o:GateARFDataToRoot.cc:(.text+0x4e1): more undefined
references to `G4cout' follow
GateARFDataToRoot.o: In function
`GateARFDataToRoot::IncrementNbOfSourcePhotons()':
GateARFDataToRoot.cc:(.text+0x6a6): undefined reference to `__umoddi3'
GateARFDataToRoot.o: In function
`GateARFDataToRoot::StoreARFData(GateSingleDigi*)':
GateARFDataToRoot.cc:(.text+0x75c): undefined reference to `G4cout'
GateARFDataToRoot.cc:(.text+0x7bc): undefined reference to `G4cout'
GateARFDataToRoot.cc:(.text+0x895): undefined reference to
`CLHEP::Hep3Vector::operator/=(double)'
GateARFDataToRoot.o: In function
`GateARFDataToRoot::RecordBeginOfAcquisition()':
GateARFDataToRoot.cc:(.text+0x8f2): undefined reference to
`TStorage::ObjectAlloc(unsigned int)'
GateARFDataToRoot.cc:(.text+0x91c): undefined reference to
`TFile::TFile(char const*, char const*, char const*, int)'
GateARFDataToRoot.cc:(.text+0x92e): undefined reference to
`TStorage::ObjectAlloc(unsigned int)'
GateARFDataToRoot.cc:(.text+0x954): undefined reference to
`TTree::TTree(char const*, char const*, int)'
GateARFDataToRoot.cc:(.text+0xa05): undefined reference to
`TStorage::ObjectAlloc(unsigned int)'
GateARFDataToRoot.cc:(.text+0xa2b): undefined reference to
`TTree::TTree(char const*, char const*, int)'
GateARFDataToRoot.cc:(.text+0xbcd): undefined reference to
`TObject::operator delete(void*)'
GateARFDataToRoot.cc:(.text+0xbe3): undefined reference to
`TObject::operator delete(void*)'
GateARFDataToRoot.o: In function
`GateARFDataToRoot::SetARFDataRootFileName(G4String)':
GateARFDataToRoot.cc:(.text+0xc42): undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::append(char const*, unsigned int)'
GateARFDataToRoot.o: In function
`GateARFDataToRoot::RecordDigitizer(G4Event const*)':
GateARFDataToRoot.cc:(.text+0xd42): undefined reference to
`G4DigiManager::GetDMpointer()'
GateARFDataToRoot.cc:(.text+0xd6c): undefined reference to
`G4DigiManager::GetDigiCollectionID(G4String)'
GateARFDataToRoot.cc:(.text+0xd97): undefined reference to
`G4DigiManager::GetDigiCollection(int, int)'
GateARFDataToRoot.cc:(.text+0xdc7): undefined reference to `G4cout'
GateARFDataToRoot.cc:(.text+0xe69): undefined reference to `G4cout'
GateARFDataToRoot.cc:(.text+0xe91): undefined reference to `G4cout'
GateARFDataToRoot.cc:(.text+0xec0): undefined reference to `G4cout'
.
.
.
.
.
I am sure this is not easy to debug without me giving you specific
configuration files and/or system details.
Please let me know what you need, and I will provide it. Currently I
just used the instructions, nothing beyond...
Thanks a lot,
-J
More information about the Gate-users
mailing list