Fork me on GitHub

Opened 10 years ago

Closed 10 years ago

#400 closed Bug (fixed)

Error in Building DelphesCMSFWLite

Reported by: ahassan Owned by:
Priority: critical Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi Developers,

I have a problem in the installation of Delphes-3.2.0 with CMSSW_7_3_0
In make, it gives me error in the building of DelphesCMSFWLite:

/cvmfs/cms.cern.ch/slc6_amd64_gcc491/external/gcc/4.9.1-cms/bin/../lib/gcc/x86_64-redhat-linux-gnu/4.9.1/../../../../x86_64-redhat-linux-gnu/bin/ld: tmp/readers/DelphesCMSFWLite.o: undefined reference to symbol '_ZTIN3edm11WrapperBaseE'
/cvmfs/cms.cern.ch/slc6_amd64_gcc491/cms/cmssw/CMSSW_7_3_0/lib/slc6_amd64_gcc491/libDataFormatsCommon.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: * [DelphesCMSFWLite] Error 1

Cheers,
Asmaa

Change History (3)

comment:1 by Pavel Demin, 10 years ago

Hi Asmaa,

Could you try to modify Delphes Makefile and append '-lDataFormatsCommon' to the line 31 to make it like the following:

OPT_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lSimDataFormatsGeneratorProducts -lCommonToolsUtils -lDataFormatsCommon

With this modification, I can build DelphesCMSFWLite with CMSSW_7_3_0 without any error message.

Cheers,

Pavel

comment:2 by ahassan, 10 years ago

Hi Pavel,

Thanks alot for your help, this solved my problem.

Cheers,
Asmaa

comment:3 by Pavel Demin, 10 years ago

Resolution: fixed
Status: newclosed

The fix is now in the code repository and it'll be in the next release.

Note: See TracTickets for help on using tickets.