Compiling: sd/source/ui/app/sdmod2.cxx In file included from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47, from /usr/include/boost/function.hpp:64, from ../inc/tools/AsynchronousCall.hxx:36, from ../inc/DrawViewShell.hxx:35, from /var/tmp/fst/src/ooo-build-3.1.1/build/ooo310-m18/sd/source/ui/app/sdmod2.cxx:79: /usr/include/boost/function/function_template.hpp:965: error: declaration of 'class R' /usr/include/boost/function/function_template.hpp:652: error: shadows template parm 'class R' /usr/include/boost/function/function_template.hpp:979: error: declaration of 'class R' /usr/include/boost/function/function_template.hpp:652: error: shadows template parm 'class R' /usr/include/boost/function/function_template.hpp:983: error: invalid use of incomplete type 'class boost::function0' /usr/include/boost/function/function_template.hpp:667: error: declaration of 'class boost::function0' /usr/include/boost/function/function_template.hpp:994: error: declaration of 'class R' /usr/include/boost/function/function_template.hpp:652: error: shadows template parm 'class R' /usr/include/boost/function/function_template.hpp:1000: error: 'void boost::function0::operator==(const boost::function0&, const boost::function0&)' must take exactly one argument /usr/include/boost/function/function_template.hpp:1001: error: declaration of 'class R' /usr/include/boost/function/function_template.hpp:652: error: shadows template parm 'class R' /usr/include/boost/function/function_template.hpp:1007: error: 'void boost::function0::operator!=(const boost::function0&, const boost::function0&)' must take exactly one argument /usr/include/boost/function/function_template.hpp:1017: error: declaration of 'class R' /usr/include/boost/function/function_template.hpp:652: error: shadows template parm 'class R' /usr/include/boost/function/function_template.hpp:1025: error: 'struct boost::function::clear_type' redeclared with different access /usr/include/boost/function/function_template.hpp:1019: error: 'class boost::function' redeclared with different access In file included from /usr/include/boost/function/detail/maybe_include.hpp:18, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from ../inc/tools/AsynchronousCall.hxx:36, from ../inc/DrawViewShell.hxx:35, from /var/tmp/fst/src/ooo-build-3.1.1/build/ooo310-m18/sd/source/ui/app/sdmod2.cxx:79: /usr/include/boost/function/function_template.hpp:80: error: expected unqualified-id before 'namespace' /var/tmp/fst/src/ooo-build-3.1.1/build/ooo310-m18/sd/source/ui/app/sdmod2.cxx:793: error: expected '}' at end of input dmake: Error code 1, while making '../../../unxlngi6.pro/slo/sdmod2.obj' ERROR: Error 65280 occurred while making /var/tmp/fst/src/ooo-build-3.1.1/build/ooo310-m18/sd/source/ui/app rmdir /tmp/12094 make: *** [stamp/build] Error 1