Message: Problems Compiling A01app Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problems Compiling A01app 

Keywords: Compiling A01
Forum: Analysis
Date: 04 Dec, 2003
From: Francisco Garcia <Francisco Garcia>

Hello,

Asking for some help!!!

Trying to compile /extended/analysis/A01

This is the error:

g++ -W -Wall -ansi -pedantic -Wno-non-virtual-dtor -Wno-long-long
-Wwrite-strings -Wpointer-arith -Woverloaded-virtual -pipe -O -DG4OPTIMISE
-Iinclude  -I/usr/local/include -DG4VERBOSE -DG4_STORE_TRAJECTORY
-I/usr/local/geant4/source/interfaces/basic/include
-I/usr/local/geant4/source/interfaces/common/include
-I/usr/local/geant4/source/interfaces/GAG/include -DG4UI_USE_GAG
-DG4VIS_USE_DAWNFILE -DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER
-DG4VIS_USE_VRMLFILE -DG4VIS_USE_ASCIITREE -DG4VIS_USE_GAGTREE
-I/usr/local/geant4/source/visualization/FukuiRenderer/include
-I/usr/local/geant4/source/visualization/HepRep/include
-I/usr/local/geant4/source/visualization/RayTracer/include
-I/usr/local/geant4/source/visualization/VRML/include
-I/usr/local/geant4/source/visualization/Tree/include -DG4VIS_USE
-I/usr/local/geant4/source/visualization/management/include
-I/usr/local/geant4/source/visualization/modeling/include -DG4ANALYSIS_USE
-I/usr/local/geant4/source/global/management/include
-I/usr/local/geant4/source/global/HEPRandom/include 
-I/usr/local/geant4/source/global/HEPGeometry/include
-I/usr/local/geant4/source/global/HEPNumerics/include 
-I/usr/local/geant4/source/run/include
-I/usr/local/geant4/source/materials/include
-I/usr/local/geant4/source/parameterisations/include 
-I/usr/local/geant4/source/particles/management/include
-I/usr/local/geant4/source/particles/bosons/include
-I/usr/local/geant4/source/particles/leptons/include 
-I/usr/local/geant4/source/particles/hadrons/barions/include
-I/usr/local/geant4/source/particles/hadrons/ions/include 
-I/usr/local/geant4/source/particles/hadrons/mesons/include
-I/usr/local/geant4/source/particles/shortlived/include 
-I/usr/local/geant4/source/processes/management/include 
-I/usr/local/geant4/source/processes/decay/include
-I/usr/local/geant4/source/processes/optical/include 
-I/usr/local/geant4/source/processes/transportation/include 
-I/usr/local/geant4/source/processes/parameterisation/include
-I/usr/local/geant4/source/processes/photolepton_hadron/include 
-I/usr/local/geant4/source/processes/electromagnetic/standard/include 
-I/usr/local/geant4/source/processes/electromagnetic/muons/include
-I/usr/local/geant4/source/processes/electromagnetic/utils/include 
-I/usr/local/geant4/source/processes/electromagnetic/xrays/include
-I/usr/local/geant4/source/processes/electromagnetic/lowenergy/include 
-I/usr/local/geant4/source/processes/hadronic/management/include
-I/usr/local/geant4/source/processes/hadronic/processes/include 
-I/usr/local/geant4/source/processes/hadronic/util/include 
-I/usr/local/geant4/source/processes/hadronic/cross_sections/include
-I/usr/local/geant4/source/processes/hadronic/models/cascade/evaporation/include 
-I/usr/local/geant4/source/processes/hadronic/models/cascade/utils/include
-I/usr/local/geant4/source/processes/hadronic/models/cascade/cascade/include 
-I/usr/local/geant4/source/processes/hadronic/models/coherent_elastic/include 
-I/usr/local/geant4/source/processes/hadronic/models/chiral_inv_phase_space/body/include -I/usr/local/geant4/source/processes/hadronic/models/chiral_inv_phase_space/interface/include -I/usr/local/geant4/source/processes/hadronic/models/generator/de_excitation/include -I/usr/local/geant4/source/processes/hadronic/models/generator/diffractive_string/include -I/usr/local/geant4/source/processes/hadronic/models/generator/high_energy/include -I/usr/local/geant4/source/processes/hadronic/models/generator/kinetic_model/include -I/usr/local/geant4/source/processes/hadronic/models/generator/management/include -I/usr/local/geant4/source/processes/hadronic/models/generator/pre_equilibrium/include -I/usr/local/geant4/source/processes/hadronic/models/generator/quark_gluon_string/include -I/usr/local/geant4/source/processes/hadronic/models/generator/string_common/include -I/usr/local/geant4/source/processes/hadronic/models/generator/string_fragmentation/include -I/usr/local/geant4/source/processes/hadronic/models/generator/scattering/include -I/usr/local/geant4/source/processes/hadronic/models/generator/util/include -I/usr/local/geant4/source/processes/hadronic/models/high_energy/include -I/usr/local/geant4/source/processes/hadronic/models/low_energy/include -I/usr/local/geant4/source/processes/hadronic/models/neutron_hp/include -I/usr/local/geant4/source/processes/hadronic/models/isotope_production/include -I/usr/local/geant4/source/processes/hadronic/models/radiative_decay/include -I/usr/local/geant4/source/processes/hadronic/models/leading_particle/include -I/usr/local/geant4/source/processes/hadronic/stopping/include -I/usr/local/geant4/source/geometry/management/include -I/usr/local/geant4/source/geometry/solids/CSG/include -I/usr/local/geant4/source/geometry/solids/specific/include -I/usr/local/geant4/source/geometry/solids/BREPS/include -I/usr/local/geant4/source/geometry/solids/Boolean/include -I/usr/local/geant4/source/geometry/divisions/include -I/usr/local/geant4/source/geometry/volumes/include -I/usr/local/geant4/source/geometry/verification/include -I/usr/local/geant4/source/geometry/magneticfield/include -I/usr/local/geant4/source/geometry/biasing/include -I/usr/local/geant4/source/track/include -I/usr/local/geant4/source/tracking/include -I/usr/local/geant4/source/digits+hits/detector/include -I/usr/local/geant4/source/digits+hits/hits/include -I/usr/local/geant4/source/digits+hits/digits/include -I/usr/local/geant4/source/persistency/include -I/usr/local/geant4/source/readout/include -I/usr/local/geant4/source/event/include -I/usr/local/geant4/source/graphics_reps/include -I/usr/local/geant4/source/intercoms/include \
  -o /home/fgarcia/geant4/bin/Linux-g++/A01app
/home/fgarcia/geant4/tmp/Linux-g++/A01app/exe/A01app.o -L/usr/local/lib
-L/usr/local/geant4/lib/Linux-g++ -L/home/fgarcia/geant4/tmp/Linux-g++/A01app \
  -lA01app  -lG4visHepRep -lG4FR -lG4RayTracer -lG4Tree -lG4emstandard -lG4muons
-lG4UIbasic -lG4UIcommon -lG4decay -lG4VRML -lG4vis_management -lG4modeling
-lG4hadronic_proc -lG4hadronic_LE -lG4hadronic_mgt -lG4hadronic_xsect
-lG4hadronic_util -lG4specsolids -lG4mesons -lG4run -lG4event -lG4tracking
-lG4transportation -lG4emutils -lG4detector -lG4ions -lG4baryons -lG4hits 
-lG4leptons -lG4bosons -lG4csg -lG4digits -lG4geombias -lG4hepnumerics
-lG4volumes -lG4geomver -lG4magneticfield -lG4procman -lG4track -lG4partman 
-lG4geometrymng -lG4materials -lG4graphics_reps -lG4intercoms -lG4globman
-L/usr/local/geant4/extlib/Linux-g++ -lAIDAJNI -lFHJNI 
-L/usr/java/j2sdk1.4.2_02/jre/lib/i386/client -ljvm -lCLHEP -lm
/usr/local/geant4/extlib/Linux-g++/libAIDAJNI.so: undefined reference to 
`std::__default_alloc_template<(bool)1, (int)0>::_S_force_new'
collect2: ld returned 1 exit status
gmake: *** [/home/fgarcia/geant4/bin/Linux-g++/A01app] Error 1


My Environment is:

G4VIS_BUILD_OPENGLX_DRIVER=
G4TMP=/home/fgarcia/geant4/tmp
G4RADIOACTIVEDATA=/usr/local/geant4/data/RadiativeDecay
JASROOT=/usr/local/jas3-0.7.3
KONSOLE_DCOP=DCOPRef(konsole-9862,konsole)
AIDAJNI_VERSION=3.0.4
PATH=/usr/local/geant4/AIDAJNI-3.0.4/bin/Linux-g++:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/fgarcia/bin:/usr/java/j2sdk1.4.2_02/bin:/usr/local/geant4/wired/bin:/usr/local/geant4/lib/java:/usr/local/jas-2.2.5:/usr/local/bin:/usr/local/jas3-0.7.3://usr/java/j2sdk1.4.2_02/bin:/usr/local/DAWN/bin:/usr/local/VRML
MAIL=/var/spool/mail/fgarcia
JVM_ARGS=-Dhep.aida.IAnalysisFactory=jas.aida.gui.JASGUIAnalysisFactory
G4NeutronHPCrossSection=/usr/local/geant4/data/G4NDL3.7
KONSOLE_DCOP_SESSION=DCOPRef(konsole-9862,session-1)
PWD=/home/fgarcia/geant4/examples/extended/analysis/A01PIA
INPUTRC=/etc/inputrc
XMODIFIERS=@im=none
JAVA_HOME=/usr/java/j2sdk1.4.2_02
G4JAIDA_BASE=/usr/local/geant4/JAIDA-3.2.0
AIDAJNI_INCLUDES=-I/usr/local/geant4/AIDAJNI-3.0.4/include
LANG=en_US.UTF-8
CLHEP_BASE_DIR=/usr/local
G4ANALYSIS_BUILD_JAS=1
OGLLIBS=-L/usr/local/lib -lGLU -lGL
DAWN_DEVICE=5
G4UI_BUILD_GAG_SESSION=1
GDMSESSION=KDE
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
G4VIS_USE_OPENGLX=
ROOTSYS=/usr/local
G4DAWNFILE_PS_VIEWER=ggv
SHLVL=3
HOME=/home/fgarcia
CLHEP_INCLUDE_DIR=/usr/local/include
JDK_HOME=/usr/java/j2sdk1.4.2_02
G4VRMLFILE_VIEWER=vrmlview
G4SYSTEM=Linux-g++
LOGNAME=fgarcia
JASPATH=/usr/local/jas3-0.7.3
GEANT4_HOME=/usr/local/geant4
CLASSPATH=/usr/local/geant4/extlib/java/JASAIDA.jar:/usr/local/geant4/extlib/java/aida.jar:/usr/local/geant4/extlib/java/aida-dev.jar:/usr/local/geant4/extlib/java/freehep-hep.jar:/usr/local/geant4/extlib/java/freehep-base.jar:/usr/local/geant4/extlib/java/openide-lookup.jar:/usr/local/geant4/extlib/java/jas.jar:/usr/local/geant4/extlib/java/jel.jar
DAWN_PS_PREVIEWER=ggv
LESSOPEN=|/usr/bin/lesspipe.sh %s
G4WORKDIR=/home/fgarcia/geant4
JAIDA_HOME=/usr/local/geant4/JAIDA-3.2.0
DISPLAY=:0.0
CPPVERBOSE=1
VISDEBUG=
OGLFLAGS=-I/usr/local/include
G_BROKEN_FILENAMES=1
COLORTERM=
XAUTHORITY=/home/fgarcia/.Xauthority
_=/usr/bin/env


Thanks in advance....

Francisco

Some clarifications:

1.- In the CLASSPATH the only missed file is JASAIDA.jar
2.- In AIDAJNI I renamed Linux-g++3 by Linux-g++
3.- In the ../extlib/java I just copied the Lib files from ../JAIDA-3.2.0/lib and  ../local/jas3-0.7.3/lib
4.- In the ../extlib/Linux-g++ I copy the ../JAIDA-3.2.0/lib/Linux-g++

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

1 None: Re: Problems Compiling A01app   (Mark Donszelmann - 04 Dec, 2003)
(_ None: Re: Problems Compiling A01app   (francisco.garcia@helsinki.fi - 08 Dec, 2003)
(_ None: Re: Problems Compiling A01app   (Mark Donszelmann - 08 Dec, 2003)
(_ None: Re: Problems Compiling A01app   (Francisco Garcia - 08 Dec, 2003)
(_ None: Re: Problems Compiling A01app   (Mark Donszelmann - 09 Dec, 2003)
 Add Message Add Message
to: "Problems Compiling A01app"

 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 ]