< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] building tfdum fails/boost issue?




Building the tfdum stuff fails

I have boost 1.42.0.1 on Debian

Does anyone recognise the issue already?  Is tfm/tfdum intended to
build?  If not, It can be commented out in tfm/Makefile.am


g++ -DHAVE_CONFIG_H -I. -I../..     -DUSE_CARES
-I/home/daniel/ws/resiprocate/resiprocate-trunk.git/tfm/contrib/Netxx-0.3.2/include
-MT TestClientSubscription.o -MD -MP -MF
.deps/TestClientSubscription.Tpo -c -o TestClientSubscription.o
TestClientSubscription.cxx
In file included from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/function/detail/prologue.hpp:18,
                 from /usr/include/boost/function.hpp:24,
                 from ../../tfm/TestEndPoint.hxx:10,
                 from TestClientSubscription.cxx:2:
/usr/include/boost/bind/mem_fn.hpp: In member function ‘R&
boost::_mfi::dm<R, T>::operator()(T*) const [with R = void(bool), T =
resip::ClientSubscription]’:
/usr/include/boost/bind/bind.hpp:243:   instantiated from ‘R
boost::_bi::list1<A1>::operator()(boost::_bi::type<R>, F&, A&, long int)
[with R = void (&)(bool), F = boost::_mfi::dm<void(bool),
resip::ClientSubscription>, A = boost::_bi::list0, A1 =
boost::_bi::bind_t<resip::ClientSubscription*,
boost::_mfi::mf0<resip::ClientSubscription*,
resip::Handle<resip::ClientSubscription> >,
boost::_bi::list1<boost::reference_wrapper<resip::Handle<resip::ClientSubscription>
> > >]’
/usr/include/boost/bind/bind_template.hpp:20:   instantiated from
‘typename boost::_bi::result_traits<R, F>::type boost::_bi::bind_t<R, F,
L>::operator()() [with R = void (&)(bool), F =
boost::_mfi::dm<void(bool), resip::ClientSubscription>, L =
boost::_bi::list1<boost::_bi::bind_t<resip::ClientSubscription*,
boost::_mfi::mf0<resip::ClientSubscription*,
resip::Handle<resip::ClientSubscription> >,
boost::_bi::list1<boost::reference_wrapper<resip::Handle<resip::ClientSubscription>
> > > >]’
/usr/include/boost/function/function_template.hpp:153:   instantiated
from ‘static void
boost::detail::function::void_function_obj_invoker0<FunctionObj,
R>::invoke(boost::detail::function::function_buffer&) [with FunctionObj
= boost::_bi::bind_t<void (&)(bool), boost::_mfi::dm<void(bool),
resip::ClientSubscription>,
boost::_bi::list1<boost::_bi::bind_t<resip::ClientSubscription*,
boost::_mfi::mf0<resip::ClientSubscription*,
resip::Handle<resip::ClientSubscription> >,
boost::_bi::list1<boost::reference_wrapper<resip::Handle<resip::ClientSubscription>
> > > > >, R = void]’
/usr/include/boost/function/function_template.hpp:913:   instantiated
from ‘void boost::function0<R>::assign_to(Functor) [with Functor =
boost::_bi::bind_t<void (&)(bool), boost::_mfi::dm<void(bool),
resip::ClientSubscription>,
boost::_bi::list1<boost::_bi::bind_t<resip::ClientSubscription*,
boost::_mfi::mf0<resip::ClientSubscription*,
resip::Handle<resip::ClientSubscription> >,
boost::_bi::list1<boost::reference_wrapper<resip::Handle<resip::ClientSubscription>
> > > > >, R = void]’
/usr/include/boost/function/function_template.hpp:722:   instantiated
from ‘boost::function0<R>::function0(Functor, typename
boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with
Functor = boost::_bi::bind_t<void (&)(bool), boost::_mfi::dm<void(bool),
resip::ClientSubscription>,
boost::_bi::list1<boost::_bi::bind_t<resip::ClientSubscription*,
boost::_mfi::mf0<resip::ClientSubscription*,
resip::Handle<resip::ClientSubscription> >,
boost::_bi::list1<boost::reference_wrapper<resip::Handle<resip::ClientSubscription>
> > > > >, R = void]’
/usr/include/boost/function/function_template.hpp:1064:   instantiated
from ‘boost::function<R()>::function(Functor, typename
boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with
Functor = boost::_bi::bind_t<void (&)(bool), boost::_mfi::dm<void(bool),
resip::ClientSubscription>,
boost::_bi::list1<boost::_bi::bind_t<resip::ClientSubscription*,
boost::_mfi::mf0<resip::ClientSubscription*,
resip::Handle<resip::ClientSubscription> >,
boost::_bi::list1<boost::reference_wrapper<resip::Handle<resip::ClientSubscription>
> > > > >, R = void]’
TestClientSubscription.cxx:52:   instantiated from here
/usr/include/boost/bind/mem_fn.hpp:342: error: invalid use of non-static
member function
make[2]: *** [TestClientSubscription.o] Error 1
make[2]: Leaving directory
`/home/daniel/ws/resiprocate/resiprocate-trunk.git/tfm/tfdum'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/home/daniel/ws/resiprocate/resiprocate-trunk.git/tfm/tfdum'
make: *** [check-recursive] Error 1