Error while compiling kdl_typekit with Orocos and ROS Fuerte on Ubuntu 12.04

Hi,

I am trying to compile Orocos with ROS Fuerte but I am not able to compile
the rtt_geometry package due to an error on kdl_typekit.

If I try to compile the kdl_typekit package this is what I get:

[ rosmake ] rosmake
starting...
[ rosmake ] Packages requested are:
['kdl_typekit']
[ rosmake ] Logging to directory
/home/isur1/.ros/rosmake/rosmake_output-20130809-151839
[ rosmake ] Expanded args ['kdl_typekit'] to:
['kdl_typekit']
[rosmake-0] Starting >>> rtt [ make
]
[rosmake-1] Starting >>> log4cpp [ make
]
[rosmake-1] Finished <<< log4cpp [PASS] [ 0.08 seconds
]
[rosmake-1] Starting >>> orocos_kdl [ make
]
[rosmake-1] Finished <<< orocos_kdl ROS_NOBUILD in package
orocos_kdl
[rosmake-0] Finished <<< rtt [PASS] [ 1.35 seconds
]
[rosmake-0] Starting >>> ocl [ make
]
[rosmake-0] Finished <<< ocl [PASS] [ 1.77 seconds
]
[rosmake-0] Starting >>> kdl_typekit [ make
]
[ rosmake ] Last 40 linesl_typekit: 20.5 sec ] [ 1 Active 4/5
Complete ]
{-------------------------------------------------------------------------------
make[2]: Entering directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
make[3]: Entering directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
make[3]: Leaving directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
[ 0%] Built target rospack_genmsg_libexe
make[3]: Entering directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
make[3]: Leaving directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
[ 0%] Built target rosbuild_precompile
make[3]: Entering directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
make[3]: Leaving directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
make[3]: Entering directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
[ 13%] [ 13%] Building CXX object
CMakeFiles/kdl_typekit.dir/src/kdlTypekitRotation.o
Building CXX object CMakeFiles/kdl_typekit.dir/src/kdlTypekitOperators.o
In file included from
/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/Return.hpp:42:0,
from
/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/Invoker.hpp:46,
from
/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/LocalOperationCaller.hpp:46,
from
/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../Operation.hpp:46,
from
/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/OperationInterfacePartFused.hpp:72,
from
/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../Service.hpp:45,
from
/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../InputPort.hpp:45,
from
/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/TemplateTypeInfo.hpp:45,
from
/home/isur1/rosstacks/rtt_geometry/kdl_typekit/src/kdlTypekit.hpp:51,
from
/home/isur1/rosstacks/rtt_geometry/kdl_typekit/src/kdlTypekitOperators.cpp:1:

/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/Collect.hpp:
In member function ‘RTT::SendStatus RTT::internal::CollectImpl<4, Ft,
BaseImpl>::collect(RTT::internal::CollectImpl<4, Ft, BaseImpl>::arg1_type,
RTT::internal::CollectImpl<4, Ft, BaseImpl>::arg2_type,
RTT::internal::CollectImpl<4, Ft, BaseImpl>::arg3_type,
RTT::internal::CollectImpl<4, Ft, BaseImpl>::arg4_type) [with Ft =
void(double&, double&, double&, double&), BaseImpl =
RTT::internal::LocalOperationCallerImpl<void(const KDL::Rotation&, double&,
double&, double&, double&)>, RTT::internal::CollectImpl<4, Ft,
BaseImpl>::arg1_type = double&, RTT::internal::CollectImpl<4, Ft,
BaseImpl>::arg2_type = double&, RTT::internal::CollectImpl<4, Ft,
BaseImpl>::arg3_type = double&, RTT::internal::CollectImpl<4, Ft,
BaseImpl>::arg4_type = double&]’:

/home/isur1/rosstacks/rtt_geometry/kdl_typekit/src/kdlTypekitOperators.cpp:74:1:
instantiated from here

/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/Collect.hpp:208:58:
error: no matching function for call to ‘RTT::internal::CollectImpl<4,
void(double&, double&, double&, double&),
RTT::internal::LocalOperationCallerImpl<void(const KDL::Rotation&, double&,
double&, double&, double&)> >::collect_impl(double&, double&, double&,
double&)’

/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/Collect.hpp:208:58:
note: candidates are:

/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/LocalOperationCaller.hpp:290:24:
note: RTT::SendStatus
RTT::internal::LocalOperationCallerImpl<FunctionT>::collect_impl() [with
FunctionT = void(const KDL::Rotation&, double&, double&, double&, double&)]

/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/LocalOperationCaller.hpp:290:24:
note: candidate expects 0 arguments, 4 provided

/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/LocalOperationCaller.hpp:295:24:
note: template<class T1> RTT::SendStatus
RTT::internal::LocalOperationCallerImpl::collect_impl(T1&) [with T1 = T1,
FunctionT = void(const KDL::Rotation&, double&, double&, double&, double&)]

/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/LocalOperationCaller.hpp:301:24:
note: template<class T1, class T2> RTT::SendStatus
RTT::internal::LocalOperationCallerImpl::collect_impl(T1&, T2&) [with T1 =
T1, T2 = T2, FunctionT = void(const KDL::Rotation&, double&, double&,
double&, double&)]

/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/LocalOperationCaller.hpp:307:24:
note: template<class T1, class T2, class T3> RTT::SendStatus
RTT::internal::LocalOperationCallerImpl::collect_impl(T1&, T2&, T3&) [with
T1 = T1, T2 = T2, T3 = T3, FunctionT = void(const KDL::Rotation&, double&,
double&, double&, double&)]

/home/isur1/rosstacks/orocos_toolchain/log4cpp/../install/include/rtt/types/../internal/../internal/Collect.hpp:209:13:
warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [CMakeFiles/kdl_typekit.dir/src/kdlTypekitOperators.o] Error
1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
make[2]: *** [CMakeFiles/kdl_typekit.dir/all] Error 2
make[2]: Leaving directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/isur1/rosstacks/rtt_geometry/kdl_typekit/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package kdl_typekit written to:
[ rosmake ]
/home/isur1/.ros/rosmake/rosmake_output-20130809-151839/kdl_typekit/build_output.log
[rosmake-0] Finished <<< kdl_typekit [FAIL] [ 20.57 seconds
]
[ rosmake ] Halting due to failure in package kdl_typekit.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ]
Results:
[ rosmake ] Built 5 packages with 1
failures.
[ rosmake ] Summary output to
directory
[ rosmake ] /home/isur1/.ros/rosmake/rosmake_output-20130809-151839

I have Ubuntu 12.04 and I already installed Orocos+ROS Fuerte successfully
with the same setup on an another computer few weeks ago: may be that
something has been changed meanwhile?

Do you have any suggestion?

Regards,
Nicola