Hi, On Tue, Mar 18, 2014 at 03:31:21PM +0100, Christian Kastner wrote: > On 2014-03-18 14:19, Andreas Tille wrote: > > segment_juncs.o: In function `boost::thread::get_id() const': > > /usr/include/boost/thread/detail/thread.hpp:730: undefined reference to > > `boost::thread::native_handle()' > > segment_juncs.o: In function `boost::thread::join()': > > /usr/include/boost/thread/detail/thread.hpp:756: undefined reference to > > `boost::thread::join_noexcept()' > > segment_juncs.o: In function `~thread': > > ... > > Looking the command that generates this output, you can see that it's > missing -lboost_thread and -lboost_system:
Indeed. > The generated Makefiles have empty BOOST_THREAD_LIB and BOOST_SYSTEM_LIB > variables. A bit of investigating reveals that it's the location of the > boost libraries that seems to be the problem, because adding the Or simply not having them in the Makefile.am... > following to debian/rules seems to fix the issue: > > override_dh_auto_configure: > dh_auto_configure -- \ > --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) > > I'm not entirely sure that's the correct solution to the problem, > though. Perhaps someone with more Multiarch + autotools experience can > enlighten us. This only helps in the "lib is not found" case. Not in the BOOST_THREAD_LIB is empty case, afaik But that should be done anyways for safety. The libs are there and not in /usr/lib and "helping" boost detection isn't bad. I had both cases already.. Regards, Rene -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

