Boost logo

Boost Users :

From: Tim Axelrod (taxelrod_at_[hidden])
Date: 2007-01-31 18:56:43


Hello,

If more than one source file includes boost/iterator/zip_iterator.hpp,
the loader complains about a multiply defined function:

    tsa_at_[hidden]:~/VW/TSA> g++ -o nothing nothingMain.cc
    nothing.cc
    /tmp/ccT5Bn0N.o: In function
    `boost::detail::tuple_impl_specific::tuple_equal(boost::tuples::null_type,
    boost::tuples::null_type)':
    nothing.cc:(.text+0x0): multiple definition of
    `boost::detail::tuple_impl_specific::tuple_equal(boost::tuples::null_type,
    boost::tuples::null_type)'
    /tmp/ccH8Z9eR.o:nothingMain.cc:(.text+0x0): first defined here
    collect2: ld returned 1 exit status

I'm using boost_1_33_1. The source files are attached.

Regards,
Tim Axelrod





Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net