Message: Re: Medical Linac Compling error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Medical Linac Compling error 

Forum: Medical Applications
Re: None Medical Linac Compling error
Date: 15 Jun, 2010
From: <paulmcg>

I retried the same example on another version of Ubuntu with gcc4.3.2. I figured I would try to use the recommended compiler. However I get pretty much the same error message when I try it:

paul@ubuntu:~/geant4/medical_linac$ make
Making dependency for file ml2.cc ...
Making dependency for file src/ML2WorldConstruction.cc ...
Making dependency for file src/ML2TrackingAction.cc ...
Making dependency for file src/ML2SteppingAction.cc ...
Making dependency for file src/ML2StepMaxMessenger.cc ...
Making dependency for file src/ML2StepMax.cc ...
Making dependency for file src/ML2SDWithVoxels.cc ...
Making dependency for file src/ML2SDWithParticle.cc ...
Making dependency for file src/ML2ReadOutGeometry.cc ...
Making dependency for file src/ML2PrimaryGenerationActionMessenger.cc ...
Making dependency for file src/ML2PrimaryGenerationAction.cc ...
Making dependency for file src/ML2PhysicsListMessenger.cc ...
Making dependency for file src/ML2PhysicsList.cc ...
Making dependency for file src/ML2Ph_FullWater.cc ...
Making dependency for file src/ML2Ph_BoxInBoxMessenger.cc ...
Making dependency for file src/ML2Ph_BoxInBox.cc ...
Making dependency for file src/ML2PhaseSpaces.cc ...
Making dependency for file src/ML2PhantomConstructionMessenger.cc ...
Making dependency for file src/ML2PhantomConstruction.cc ...
Making dependency for file src/ML2MainMessenger.cc ...
Making dependency for file src/ML2ExpVoxels.cc ...
Making dependency for file src/ML2EventAction.cc ...
Making dependency for file src/ML2DummySD.cc ...
Making dependency for file src/ML2Convergence.cc ...
Making dependency for file src/ML2CInputData.cc ...
Making dependency for file src/ML2AcceleratorConstructionMessenger.cc ...
Making dependency for file src/ML2AcceleratorConstruction.cc ...
Making dependency for file src/ML2Acc1Messenger.cc ...
Making dependency for file src/ML2Acc1.cc ...
Compiling ML2Acc1.cc ...
Compiling ML2Acc1Messenger.cc ...
Compiling ML2AcceleratorConstruction.cc ...
Compiling ML2AcceleratorConstructionMessenger.cc ...
Compiling ML2CInputData.cc ...
In file included from include/ML2Main.hh:47,
                 from include/ML2MainMessenger.hh:46,
                 from include/ML2CInputData.hh:47,
                 from src/ML2CInputData.cc:43:
/usr/local/geant4/geant4.9.3.p01/source/run/include/G4RunManager.hh: In member function ‘void G4RunManager::SetRandomNumberStoreDir(G4String)’:
/usr/local/geant4/geant4.9.3.p01/source/run/include/G4RunManager.hh:352: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
Compiling ML2Convergence.cc ...
Compiling ML2DummySD.cc ...
src/ML2DummySD.cc:52: warning: unused parameter ‘aStep’
src/ML2DummySD.cc:52: warning: unused parameter ‘ROHist’
Compiling ML2EventAction.cc ...
Compiling ML2ExpVoxels.cc ...
Compiling ML2MainMessenger.cc ...
In file included from include/ML2Main.hh:47,
                 from include/ML2MainMessenger.hh:46,
                 from src/ML2MainMessenger.cc:43:
/usr/local/geant4/geant4.9.3.p01/source/run/include/G4RunManager.hh: In member function ‘void G4RunManager::SetRandomNumberStoreDir(G4String)’:
/usr/local/geant4/geant4.9.3.p01/source/run/include/G4RunManager.hh:352: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
Compiling ML2PhantomConstruction.cc ...
Compiling ML2PhantomConstructionMessenger.cc ...
Compiling ML2PhaseSpaces.cc ...
Compiling ML2Ph_BoxInBox.cc ...
src/ML2Ph_BoxInBox.cc: In member function ‘bool CML2Ph_BoxInBox::Construct(G4VPhysicalVolume*, G4int, G4int, G4String, G4bool)’:
src/ML2Ph_BoxInBox.cc:172: warning: taking address of temporary
Compiling ML2Ph_BoxInBoxMessenger.cc ...
Compiling ML2Ph_FullWater.cc ...
src/ML2Ph_FullWater.cc: In member function ‘bool CML2Ph_FullWater::Construct(G4VPhysicalVolume*, G4int, G4int, G4String, G4bool)’:
src/ML2Ph_FullWater.cc:85: warning: taking address of temporary
Compiling ML2PhysicsList.cc ...
Compiling ML2PhysicsListMessenger.cc ...
Compiling ML2PrimaryGenerationAction.cc ...
Compiling ML2PrimaryGenerationActionMessenger.cc ...
Compiling ML2ReadOutGeometry.cc ...
Compiling ML2SDWithParticle.cc ...
src/ML2SDWithParticle.cc:123: warning: unused parameter ‘ROHist’
Compiling ML2SDWithVoxels.cc ...
Compiling ML2StepMax.cc ...
Compiling ML2StepMaxMessenger.cc ...
Compiling ML2SteppingAction.cc ...
Compiling ML2TrackingAction.cc ...
Compiling ML2WorldConstruction.cc ...
Creating shared library /home/paul/geant4/tmp/Linux-g++/ml2/libml2.so ...
Compiling ml2.cc ...
In file included from include/ML2Main.hh:47,
                 from ml2.cc:44:
/usr/local/geant4/geant4.9.3.p01/source/run/include/G4RunManager.hh: In member function ‘void G4RunManager::SetRandomNumberStoreDir(G4String)’:
/usr/local/geant4/geant4.9.3.p01/source/run/include/G4RunManager.hh:352: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
Using global libraries ...
Linking ml2
/home/paul/geant4/tmp/Linux-g++/ml2/libml2.so: undefined reference to `CML2Ph_BoxInBoxMessenger::SetNewValue(G4UIcommand*, G4String)'
collect2: ld returned 1 exit status
make: *** [/home/paul/geant4/bin/Linux-g++/ml2] Error 1

any ideas?

 Add Message Add Message
to: "Re: Medical Linac Compling error"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]