Message: Link problems on Mac Intel/Leopard Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Link problems on Mac Intel/Leopard 

Keywords: Linking, Mac, leopard, architecture
Forum: Installation and Configuration
Date: 05 Mar, 2008
From: Serena <Serena>

Hello, I'm running Geant 4.9 on a new macbook with Leopard 10.5.2. Installation was successful and the examples compile and work fine. Now I'm trying to run my simulation and I get the following warnings:

Creating/replacing object files in /Users/serena/geant4/tmp/Darwin-g++/xx25_js2/libxx25_js2.a ...

ar: creating archive /Users/serena/geant4/tmp/Darwin-g++/xx25_js2/libxx25_js2.a
Compiling xx25_js2.cc ...
warning: this program uses gets(), which is unsafe.
Using granular libraries ... Linking xx25_js2 ...
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4UIbasic.a, file is not of required architecture
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4FR.a, file is not of required architecture
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4visHepRep.a, file is not of required architecture
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4RayTracer.a, file is not of required architecture
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4Tree.a, file is not of required architecture
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4decay.a, file is not of required architecture
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4muons.a, file is not of required architecture
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4UIcommon.a, file is not of required architecture
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4VRML.a, file is not of required architecture
ld: warning in /Applications/geant4.9.0/lib/Darwin-g++/libG4emstandard.a, file is not of required architecture

.....and so on

then:

Undefined symbols:
  "G4BaryonConstructor::ConstructParticle()", referenced from:
      XePhysicsList::ConstructMyHadrons()       in libxx25_js2.a(XePhysicsList.o)
  "G4AntiProton::AntiProton()", referenced from:
      XePhysicsList::ConstructHad()       in libxx25_js2.a(XePhysicsList.o)
  "G4ASCIITree::G4ASCIITree()", referenced from:
      G4VisExecutive::RegisterGraphicsSystems()       in xx25_js2.o
  "G4BestUnit::G4BestUnit(double, G4String const&)", referenced from:
      XePhysicsList::SetCuts()      in libxx25_js2.a(XePhysicsList.o)
      XePmtHit::Print()     in libxx25_js2.a(XePmtHit.o)
      XeScintHit::Print()      in libxx25_js2.a(XeScintHit.o)
  "G4LogicalVolume::SetVisAttributes(G4VisAttributes const&)", referenced from:

(.................)

      XePhysicsList::ConstructEM()       in libxx25_js2.a(XePhysicsList.o)
  "G4UIcmdWithAString::G4UIcmdWithAString(char const*, G4UImessenger*)", referenced from:
      XeRunActionMessenger::XeRunActionMessenger(XeRunAction*)in libxx25_js2.a(XeRunActionMessenger.o)
      XeRunActionMessenger::XeRunActionMessenger(XeRunAction*)in libxx25_js2.a(XeRunActionMessenger.o)
      XeRunActionMessenger::XeRunActionMessenger(XeRunAction*)in libxx25_js2.a(XeRunActionMessenger.o)
      XeEventActionMessenger::XeEventActionMessenger(XeEventAction*)in libxx25_js2.a(XeEventActionMessenger.o)
      XeEventActionMessenger::XeEventActionMessenger(XeEventAction*)in libxx25_js2.a(XeEventActionMessenger.o)
      XeParticleSourceMessenger::XeParticleSourceMessenger(XeParticleSource*)in libxx25_js2.a(XeParticleSourceMessenger.o)
      XeParticleSourceMessenger::XeParticleSourceMessenger(XeParticleSource*)in libxx25_js2.a(XeParticleSourceMessenger.o)
      XeParticleSourceMessenger::XeParticleSourceMessenger(XeParticleSource*)in libxx25_js2.a(XeParticleSourceMessenger.o)
      XeParticleSourceMessenger::XeParticleSourceMessenger(XeParticleSource*)in libxx25_js2.a(XeParticleSourceMessenger.o)
      XeParticleSourceMessenger::XeParticleSourceMessenger(XeParticleSource*)in libxx25_js2.a(XeParticleSourceMessenger.o)
      XeParticleSourceMessenger::XeParticleSourceMessenger(XeParticleSource*)in libxx25_js2.a(XeParticleSourceMessenger.o)
  "vtable for G4LEAlphaInelastic", referenced from:
      vtable for XePhysicsListin libxx25_js2.a(XePhysicsList.o)
  "G4VisManager::RegisterModelFactory(G4VModelFactory<G4VFilter<G4VTrajectory> >*)", referenced from:
      G4VisExecutive::RegisterModelFactories()       in xx25_js2.o
      G4VisExecutive::RegisterModelFactories()       in xx25_js2.o
      G4VisExecutive::RegisterModelFactories()       in xx25_js2.o
      G4VisExecutive::RegisterModelFactories()       in xx25_js2.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

What's wrong?

Thanks for any help. Serena

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 06 Mar, 2008)
1 None: Re: Link problems on Mac Intel/Leopard   (Serena - 07 Mar, 2008)
(_ Question: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 07 Mar, 2008)
(_ None: Re: Link problems on Mac Intel/Leopard   (Serena - 14 Mar, 2008)
(_ Question: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 25 Mar, 2008)
(_ None: Re: Link problems on Mac Intel/Leopard   (Serena - 25 Mar, 2008)
(_ Question: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 25 Mar, 2008)
(_ None: Re: Link problems on Mac Intel/Leopard   (Serena - 28 Mar, 2008)
(_ Feedback: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 28 Mar, 2008)
3 More: Re: Link problems on Mac Intel/Leopard   (Joseph Gennaro - 31 Jul, 2009)
1 More: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 31 Jul, 2009)
(_ None: Re: Link problems on Mac Intel/Leopard   (Joseph Gennaro - 31 Jul, 2009)
(_ More: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 01 Aug, 2009)
(_ None: Re: Link problems on Mac Intel/Leopard   (Joseph Gennaro - 03 Aug, 2009)
(_ More: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 04 Aug, 2009)
 Add Message Add Message
to: "Link problems on Mac Intel/Leopard"

 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 ]