[Rivet] Problem with rivet-bootstrap

Andy Buckley andy.buckley at ed.ac.uk
Mon Oct 24 13:35:50 BST 2011


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 Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the Rivet mailing list