Hello, Tarak Thakore gave me the solution, yet for future users, here are the informations. I am working with an old 2.7.1 version and using g++ 4.6.3 on ubuntu 12.04. There was a missing flag (-Wl,--no-as-needed) which is apparently necessary for ubuntu users. The present version of 2.7.1 have this fix already implemented. Thanks On Tue, 30 Oct 2012 16:00:28 +0000, [log in to unmask] wrote: > Dear Raphaël > To be able to assist you, you need to provide some information on > your system > (os, compiler etc) and which version of GENIE you are trying to > install. > cheers > Costas > > On 30 Oct 2012, at 14:43, dupre wrote: > > --- > Dr. Constantinos (Costas) Andreopoulos > Staff Scientist > > Science and Technology Facilities Council (STFC) > Rutherford Appleton Laboratory > Particle Physics Dept. (R1, 2.90) > Harwell Oxford Campus, OX11 0QX, UK > tel (office): +44-(0)1235 445091 > fax (office): +44-(0)1235 446733 > mobile: +44-(0)7540 847333 > w3: http://costas.andreopoulos.eu<http://costas.andreopoulos.eu/> > > > Well these two libraries compile without even a warning, i just > checked again and I naturally did the make clean and then make. Yet, > there is always a chance that the problem comes from some old files > remaining somewhere and missed by make clean, I will check that. > > Yes I use LHAPDF as default. > > On Tue, 30 Oct 2012 10:29:17 -0400, Steve Dytman wrote: > some of the libraries aren't getting compiled correctly. Look at > GEVGDrivers and > GEVGCore. Have you tried 'make clean' followed by 'make'. Changes > in code > that links one src area to another can disrupt linkage. > > I've had trouble with LHAPDF and Pythia at times. Are you using > LHAPDF as default instead > of Cernlib? > > Steve > > On 10/30/2012 10:10 AM, dupre wrote: > Hello, > > I am using the genie MC, but stopped using it since a year or so, now > I am unable to compile it any more on my new machine (it crashes at > the linking stage). Would you know about any incompatibilities, which > would have appeared recently with a new version of one of the > software > or libraries used by genie? > > The error message is puzzling to me since he misses some functions > that seem to be correctly declared and linked. I past the error here > in case you already know this problem or if I miss something obvious: > >> g++ -Wall -fPIC -O2 -Wno-strict-aliasing -ffriend-injection -c >> gEvGen.cxx -I/projet/nucleon/dupre/Software/root/include >> -I/usr/include/libxml2 >> -I/projet/nucleon/dupre/Software/log4cpp/install/include >> -I/projet/nucleon/dupre/Software/lhapdf-5.8.8/install/include >> -I/projet/nucleon/dupre/Software/genie/src/ >> g++ -g gEvGen.o -L/projet/nucleon/dupre/Software/genie/lib >> -lGAlgorithm -lGBaryonResonance -lGBase -lGBodekYang -lGCharm -lGCoh >> -lGDfrc -lGDIS -lGCrossSections -lGDecay -lGElas -lGElFF -lGHEP >> -lGEVGCore -lGEVGModules -lGEVGDrivers -lGGiBUU -lGHadronTransp >> -lGFragmentation -lGInteraction -lGLlewellynSmith -lGMEC -lGMessenger >> -lGNuGamma -lGNuE -lGNtuple -lGNuclear -lGNumerical -lGQPM -lGPDG >> -lGPDF -lGQEL -lGRES -lGRegistry -lGReinSeghal -lGUtils -lGGeo >> -lGFluxDrivers -lGMuELoss -L/projet/nucleon/dupre/Software/root/lib >> -lGui -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree >> -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread >> -lm -ldl -rdynamic -lMinuit -lGeom -lEG -lEGPythia6 >> -L/projet/nucleon/dupre/Software/pythia6/v6_412/lib -lPythia6 >> -L/projet/nucleon/dupre/Software/RADGEN -lradgen >> /projet/nucleon/dupre/Software/RADGEN/radgen.o -L/cern/pro/lib >> -lpawlib -lpacklib -lkernlib -lmathlib >> -L/projet/nucleon/dupre/Software/lhapdf-5.8.8/install/lib -lLHAPDF >> -L/usr/lib/x86_64-linux-gnu -lxml2 >> -L/projet/nucleon/dupre/Software/log4cpp/install/lib -llog4cpp -lnsl >> -o /projet/nucleon/dupre/Software/genie/bin/gevgen >> /projet/nucleon/dupre/Software/genie/lib/libGEVGDrivers.so: >> undefined reference to `genie::AlgFactory::Instance()' >> /projet/nucleon/dupre/Software/genie/lib/libGEVGCore.so: undefined >> reference to `genie::GHepRecord::NEntries(int, int) const' >> /projet/nucleon/dupre/Software/genie/lib/libGUtils.so: undefined >> reference to `genie::NuclearData::DeuteriumSuppressionFactor(double)' >> >> ... >> > > > -- > > Raphaël Dupré > Institut de Physique Nucléaire d'Orsay -- Raphaël Dupré Institut de Physique Nucléaire d'Orsay