Message: Building any example fails at linking with same error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Building any example fails at linking with same error  

Forum: Documentation and Examples
Date: 08 Jul, 2011
From: Yugendra R Guvvala <Yugendra R Guvvala>

Hi,

I have installed Geant4.8.3 and i was prompted that i have installed it successfully i installed according to the instructions here

(http://geant4.slac.stanford.edu/tuto...stallation.htm)

i am trying to check my installation by compiling and running an example application mentioned but it didn't compile and crash with an issue as bellow please guide me .

I tried to compile different examples from novice as well as analysis but all fail with smiler error....

login3% make

Making dependency for file A01app.cc ...

Making dependency for file src/A01Trajectory.cc ...

Making dependency for file src/A01PrimaryGeneratorMessenger.cc ...

Making dependency for file src/A01PrimaryGeneratorAction.cc ...

Making dependency for file src/A01PhysicsList.cc ...

Making dependency for file src/A01MuonPhysics.cc ...

Making dependency for file src/A01MagneticFieldMessenger.cc ...

Making dependency for file src/A01MagneticField.cc ...

Making dependency for file src/A01IonPhysics.cc ...

Making dependency for file src/A01HodoscopeHit.cc ...

Making dependency for file src/A01Hodoscope.cc ...

Making dependency for file src/A01HadronPhysics.cc ...

Making dependency for file src/A01HadCalorimeterHit.cc ...

Making dependency for file src/A01HadCalorimeter.cc ...

Making dependency for file src/A01GeneralPhysics.cc ...

Making dependency for file src/A01EventActionMessenger.cc ...

Making dependency for file src/A01EventAction.cc ...

Making dependency for file src/A01EMPhysics.cc ...

Making dependency for file src/A01EmCalorimeterHit.cc ...

Making dependency for file src/A01EmCalorimeter.cc ...

Making dependency for file src/A01DriftChamberHit.cc ...

Making dependency for file src/A01DriftChamber.cc ...

Making dependency for file src/A01DetectorConstruction.cc ...

Making dependency for file src/A01DetectorConstMessenger.cc ...

Making dependency for file src/A01CellParameterisation.cc ...

Making dependency for file src/A01AnalysisManager.cc ...

Compiling A01AnalysisManager.cc ...

Compiling A01CellParameterisation.cc ...

Compiling A01DetectorConstMessenger.cc ...

Compiling A01DetectorConstruction.cc ...

Compiling A01DriftChamber.cc ...

Compiling A01DriftChamberHit.cc ...

Compiling A01EmCalorimeter.cc ...

Compiling A01EmCalorimeterHit.cc ...

Compiling A01EMPhysics.cc ...

Compiling A01EventAction.cc ...

Compiling A01EventActionMessenger.cc ...

Compiling A01GeneralPhysics.cc ...

Compiling A01HadCalorimeter.cc ...

Compiling A01HadCalorimeterHit.cc ...

Compiling A01HadronPhysics.cc without optimization...

Compiling A01Hodoscope.cc ...

Compiling A01HodoscopeHit.cc ...

Compiling A01IonPhysics.cc ...

Compiling A01MagneticField.cc ...

Compiling A01MagneticFieldMessenger.cc ...

Compiling A01MuonPhysics.cc ...

Compiling A01PhysicsList.cc ...

Compiling A01PrimaryGeneratorAction.cc ...

Compiling A01PrimaryGeneratorMessenger.cc ...

Compiling A01Trajectory.cc ...

Creating/replacing object files in g4work//tmp/Linux-g++/A01app/libA01app.a ...

ar: creating g4work//tmp/Linux-g++/A01app/libA01app.a

Compiling A01app.cc ...

Using granular libraries ...

Linking A01app ...

/opt/apps/binutils-amd/070220/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.a when searching for -lGLU

/opt/apps/binutils-amd/070220/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.so when searching for -lGL

/opt/apps/binutils-amd/070220/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.a when searching for -lGL

/opt/apps/binutils-amd/070220/bin/ld: skipping incompatible /usr/X11R6/lib/libXmu.so when searching for -lXmu

/opt/apps/binutils-amd/070220/bin/ld: skipping incompatible /usr/X11R6/lib/libXmu.a when searching for -lXmu

/opt/apps/binutils-amd/070220/bin/ld: cannot find -lXmu

collect2: ld returned 1 exit status

make: *** [g4work//bin/Linux-g++/A01app] Error 1

 Add Message Add Message
to: "Building any example fails at linking with same 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 ]