|
[Rivet] Problem with rivet-bootstrapBen Waugh b.waugh at ucl.ac.ukMon Oct 24 14:19:07 BST 2011
That's great. I'm using gcc 4.4 and have this problem. I guess it might depend on what you upgraded from... Cheers Ben On 24/10/11 13:35, Andy Buckley wrote: > Hi Ben, > > Yes, this one just seems to have appeared -- for me it started when I > upgraded to GCC 4.6. It's fixed in the trunk, and hence will be fixed in > 1.7.0 when that happens. > > Cheers, > Andy > > > On 24/10/11 12:48, Ben Waugh wrote: >> Hi All, >> >> I've just installed Rivet 1.6.0 on my laptop (Fedora 13) using the >> bootstrap script, but I needed a little hack to get it to work, and I >> suspect this is something that you build experts could fix more >> permanently. >> >> The bootstrap terminates with this error: >> make[1]: Entering directory `/tmp/waugh/rivet/build/Rivet-1.6.0/bin' >> CXX rivet_nopy-rivet-nopy.o >> CXXLD rivet-nopy >> /usr/bin/ld: rivet_nopy-rivet-nopy.o: undefined reference to symbol >> 'HepMC::IO_GenEvent::IO_GenEvent(std::basic_istream<char, >> std::char_traits<char> >&)' >> /usr/bin/ld: note: >> 'HepMC::IO_GenEvent::IO_GenEvent(std::basic_istream<char, >> std::char_traits<char> >&)' is defined in DSO >> /home/waugh/local/rivet/lib/libHepMC.so.4 so try adding it to the linker >> command line >> /home/waugh/local/rivet/lib/libHepMC.so.4: could not read symbols: >> Invalid operation >> collect2: ld returned 1 exit status >> make[1]: *** [rivet-nopy] Error 1 >> make[1]: Leaving directory `/tmp/waugh/rivet/build/Rivet-1.6.0/bin' >> make: *** [all-recursive] Error 1 >> >> This seems to be because the linker line does indeed not contain the >> relevant library. I worked around this by editing >> /tmp/waugh/rivet/build/Rivet-1.6.0/bin/Makefile, changing this line >> LIBS = >> to >> LIBS = ${HEPMCLDLIBS} >> then running "make" in this directory and then rerunning the bootstrap >> script. >> >> Cheers, >> Ben >> > > -- Dr Ben Waugh Tel. +44 (0)20 7679 7223 Dept of Physics and Astronomy Internal: 37223 University College London London WC1E 6BT
More information about the Rivet mailing list |