[Gate-users] Compiling mistake with GATE6

Jinxia Guo jinxia.guo2009 at gmail.com
Mon Jun 7 10:27:09 CEST 2010


Hi users,

I encountered a some mistakes when I compiling the gate_v6.0_p01. The
information of my linux system is :
LSB Version:    :core-3.0-amd64:core-3.0-ia32:
core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description:    Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
Release:        4
Codename:       NahantUpdate6

I have installed GATE4.0 in this computer. But when I compile gate_v6.0_p01.
It gives following errors:

/home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf.h:62: error: extra `;'
In file included from /home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf_gate.h:28,
                 from ../digits_hits/include/GateToLMF.hh:21,
                 from src/GateCylindricalPETSystem.cc:24:
/home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf.h:62: error: extra `;'
make[1]: *** [../../tmp/Linux-g++/Gate/GateCylindricalPETSystem.o] 错误 1
source/geometry finished
Entering source/general ...
make[1]: Nothing to be done for `obj'.
source/general finished
Entering source/digits_hits ...
Compiling GateToLMF.cc ...
In file included from /home/dhpet/Gate6.0.0/lmf_v3.0/includes/dlist.h:47,
                 from /home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf.h:51,
                 from /home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf_gate.h:28,
                 from ../digits_hits/include/GateToLMF.hh:21,
                 from src/GateToLMF.cc:23:
/home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf.h:62: error: extra `;'
In file included from /home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf_gate.h:28,
                 from ../digits_hits/include/GateToLMF.hh:21,
                 from src/GateToLMF.cc:23:
/home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf.h:62: error: extra `;'
In file included from /home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf_gate.h:28,
                 from src/GateToLMF.cc:31:
/home/dhpet/Gate6.0.0/lmf_v3.0/includes/lmf.h:62: error: extra `;'
src/GateToLMF.cc: In member function `void
GateToLMF::buildLMFEventRecord()':
src/GateToLMF.cc:208: warning: long long unsigned int format, long unsigned
int arg (arg 2)
src/GateToLMF.cc: At global scope:
src/GateToLMF.cc:595: warning: unused parameter 'event'
src/GateToLMF.cc:585: warning: unused parameter 'r'
make[1]: *** [../../tmp/Linux-g++/Gate/GateToLMF.o] 错误 1
source/digits_hits finished
Entering source/physics ...
make[1]: Nothing to be done for `obj'.
source/physics finished
Using granular libraries ...
Linking Gate
./tmp/Linux-g++/Gate/exe/Gate.o(.text+0x281b): In function `main':
: undefined reference to
`GateDetectorConstruction::GateDetectorConstruction()'
./tmp/Linux-g++/Gate/exe/Gate.o(.text+0x2879): In function `main':
: undefined reference to `GateUserActions::GateUserActions(GateRunManager*,
GateRecorderBase*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeMessenger::SetNewValue(G4UIcommand*, G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::Value(double) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::PostUserTrackingAction(G4Track const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::GetCurrentRotation(unsigned long) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetParentID()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::Describe(unsigned long)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateToRoot::RecordRecStepData(G4Event const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateMultiSensitiveDetector::SetMultiFunctionalDetector(G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVActor::AttachToVolume(G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::AttachCrystalSD()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::~GateVImageActor()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GatePVReplica::Update(EAxis, int, double, double)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::ComputeComponentID(GateSystemComponent*, GateVolumeID const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVGlobalPlacement::GateVGlobalPlacement(GateVVolume*, G4String const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVoxelBoxParam::GateVoxelBoxParam(G4String const&,
GateVoxelBoxParameterized*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetVertexVolumeName()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::DestroyGeometry()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::SetSize(CLHEP::Hep3Vector)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemListManager::GetInstance()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::InsertPoint(double, double)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVoxelBoxParameterized'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVOutputModule::GateVOutputModule(G4String const&, GateOutputMgr*,
DigiMode)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVActor::~GateVActor()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::Clear()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetRunID()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrajectoryNavigator::FindPrimaryID(int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetPosition()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateObjectRepeaterMessenger::SetNewValue(G4UIcommand*, G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVActor::GateVActor(G4String, int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::EndOfRunAction(G4Run const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::FindOrbitingMove() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::EndOfEventAction(G4Event const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistribution::~GateVDistribution()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrajectoryNavigator::GateTrajectoryNavigator()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVSystem'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::GetOrbitingVelocity() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::ComputeObjectCenter(GateVolumeID const*) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVoxelCompressor::GetCompressionRatio() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateDetectorConstruction::pTheGateDetectorConstruction'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateOutputVolumeID::Top(unsigned long) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetKineticEnergy()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::RepartitionValue(double) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::GetVolumeNumber() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDigiMakerModule::DescribeMyself(unsigned long)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::~GateSystemComponent()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVActor::BeginOfRunAction(G4Run const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateDetectorConstruction::UpdateGeometry()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::FindCylinderCreatorComponent(G4String const&) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateToRoot::CheckEOF()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::ComputeOutputVolumeID(GateVolumeID const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrajectoryNavigator::FindSourcePosition()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`ComptonRayleighData::ComptonRayleighData()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::Describe(unsigned long)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateSystemComponent'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GatePVReplica'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVImageActor'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVDigiMakerModule'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVolumeMessenger'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::ConstructGeometry(G4LogicalVolume*, bool)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateToRoot::OpenTracksFile()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemListManager::CheckScannerAutoCreation(GateVVolume*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::MakeVolumeID(std::vector<int, std::allocator<int> > const&)
const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `vtable for
GateVoxelBoxParameterized'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::EnableTimeStudy(G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeMessenger::GateVolumeMessenger(GateVVolume*, G4String const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateOutputVolumeID::IsValid() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::GetPhysicalVolume(unsigned long) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::SetEventID(int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVoxelBoxParameterizedMessenger::GateVoxelBoxParameterizedMessenger(GateVoxelBoxParameterized*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateToProjectionSet'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::DestroyOwnPhysicalVolumes()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::SetStepHitType(G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::PostUserTrackingAction(GateVVolume const*, G4Track
const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::MaxX() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVGlobalPlacement::Describe(unsigned long)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::MinX() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::ComputeNofElementsAtLevel(unsigned long) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVActor'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::ComputeMainComponentID(GateSystemComponent*, GateVolumeID
const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateMaterialDatabase::GetElement(G4String const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::ConstructOwnPhysicalVolume(bool)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::SetPosition(CLHEP::Hep3Vector)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemListManager::FindSystemOfCreator(GateVVolume*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::~GateTrack()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::Fill_Track(G4Track*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::InsertPoint(double)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrajectoryNavigator::FindPositronTrackID()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateToRoot::RecordPHData(ComptonRayleighData)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateSPECTHeadSystem'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::Construct(bool)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUpholder::GateUpholder(GatePulseProcessorChain*, G4String const&,
double)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::AttachOutputToVolume()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::UserSteppingAction(G4Step const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetTrackID()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::GateVSystem(G4String const&, bool)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::ShootRandom() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::FillRepartition()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTransferEfficiency::GetTEMin()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateFictitiousVoxelMap'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::AttachPhantomSD()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::GateVVolume(G4String const&, bool, int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::GetTrackIDInfo(int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSPECTHeadSystem::setARFStage(G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::BeginOfRunAction(G4Run const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetVertexMomentumDirection()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeManager::GateVolumeManager()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::SetCreator(GateVVolume*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrajectoryNavigator::FindAnnihilationGammasTrackID()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateGeometryVoxelArrayStore::CreateCompressor()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::PreUserTrackingAction(G4Track const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::GetIndexFromStepPosition(GateVVolume const*, G4Step
const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVOutputModule::Describe(unsigned long)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVDistributionArray'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVActor::SetSaveFilename(G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVOutputModule'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::GateVDistributionArray(G4String const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::GetAngularRepeatNumber()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateMultiSensitiveDetector'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::CheckOutputExistence()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::Construct()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrajectoryNavigator::SetTrajectoryContainer(G4TrajectoryContainer*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GateTrack()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateObjectRepeaterMessenger'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GatePVReplica::GatePVReplica(G4String const&, G4LogicalVolume*,
G4LogicalVolume*, EAxis, int, double, double)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::PreUserTrackingAction(GateVVolume const*, G4Track const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::Describe(unsigned long)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTransferEfficiency::GetInstance(GatePulseProcessorChain*, G4String
const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeMessenger::~GateVolumeMessenger()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::~GateVSystem()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::SetResolution(CLHEP::Hep3Vector)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateToRoot::CloseTracksRootFile()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::pUserActions'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeID::GateVolumeID(G4TouchableHistory const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrajectoryNavigator::FindPhotonID(int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetGlobalTime()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateObjectRepeaterMessenger::GateObjectRepeaterMessenger(GateVGlobalPlacement*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::AutoSetColor()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`operator<<(std::basic_ostream<char, std::char_traits<char> >&, GateVolumeID
const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateToRoot::GetPHData(ComptonRayleighData&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GatePVParameterisation::GatePVParameterisation()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::SetRunID(int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateMultiSensitiveDetector::GateMultiSensitiveDetector(G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::~GateVDistributionArray()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::ComputeNofSubCrystalsAtLevel(unsigned long, std::vector<bool,
std::allocator<bool> >&) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateParallelBeam::GateParallelBeam(G4String const&, bool, int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::GateVImageActor(G4String, int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`operator<<(std::basic_ostream<char, std::char_traits<char> >&,
GateOutputVolumeID const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetLocalTime()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GateTrack(GateTrack&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::GetSphereAzimuthalRepeatNumber()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateMultiSensitiveDetector::SetActor(GateVActor*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistribution::GateVDistribution(G4String const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::DefineOwnMaterials()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetMomentum()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `GateVActor::Save()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::Compare(G4Track*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::SetHalfSize(CLHEP::Hep3Vector)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::BeginOfEventAction(G4Event const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeID::GateVolumeID(int*, unsigned long)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::SetOutputIDName(char*, unsigned long)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVDistribution'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::GetCurrentTranslation(unsigned long) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::ComputeOutputOffset()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::MaxY() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeID::GetCreatorDepth(G4String) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::FindEccentRotMove() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetVertexKineticEnergy()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::SetParticleName(G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::SetVoxelSize(CLHEP::Hep3Vector)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::~GateVVolume()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVGlobalPlacement::~GateVGlobalPlacement()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDigiMakerModule::GateVDigiMakerModule(GateDigitizer*, G4String
const&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetPolarization()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::GateSystemComponent(G4String const&,
GateSystemComponent*, GateVSystem*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeManager::singleton_VolumeManager'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::AttachARFSD()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::GetTreeDepth() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVActor::EndOfRunAction(G4Run const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVActor::EndOfEventAction(G4Event const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetTotalEnergy()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVVolume'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::ComputeIdFromVolID(GateOutputVolumeID const&,
std::vector<bool, std::allocator<bool> >&) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::FindRotationMove() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetVertexPosition()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GatePVReplica::~GatePVReplica()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateRegularParameterized'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVGlobalPlacement::ComputePlacements(GatePlacementQueue*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateUserActions::EnableTimeStudyForSteps(G4String)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVOutputModule::~GateVOutputModule()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`ComptonRayleighData::ComptonRayleighData(ComptonRayleighData&)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::IsValidAttachmentRequest(GateVVolume*) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateToRoot::GateToRoot(G4String const&, GateOutputMgr*, DigiMode)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateToRoot::GetCurrentTracksData()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
GateVGlobalPlacement'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDistributionArray::MinY() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetMomentumDirection()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to `GateTrack::Print()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeID::MoveToBottomVolumeFrame(CLHEP::Hep3Vector, int) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetProperTime()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetEventID()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateTrack::GetWeight()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateGeometryVoxelInterfileReader::GateGeometryVoxelInterfileReader(GateVVolume*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVVolume::GetVolumePlacement() const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeID::MoveToAncestorVolumeFrame(CLHEP::Hep3Vector, int) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVDigiMakerModule::~GateVDigiMakerModule()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVSystem::FindArrayComponent(G4String const&) const'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateRegularParameterized::GateRegularParameterized(G4String const&, bool,
int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeSelector::GateVolumeSelector(G4VPhysicalVolume*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVImageActor::UserSteppingAction(GateVVolume const*, G4Step const*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateGeometryVoxelImageReader::GateGeometryVoxelImageReader(GateVVolume*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateObjectRepeaterMessenger::~GateObjectRepeaterMessenger()'
collect2: ld returned 1 exit status
make: *** [bin/Linux-g++/Gate] 错误 1

Somebody know how to solve it? Thank you for help!

Wishes,
Jinxia


-- 
Jinxia Guo
School of Life Sci&Tech
D11 Building Room 503

Huazhong Univ. of Sci. & Tech

1037 Luoyu Road, Wuhan 430074, China
Tel:+86-27-8779-2294


More information about the Gate-users mailing list