[ooo-build] ooo-build-3.1.0.99.3 fails building sddll0.hxx

Christoph Willing c.willing at uq.edu.au
Sat Aug 22 19:25:45 PDT 2009


On 23/08/2009, at 10:09 AM, John B wrote:

> I'm attempting to build ooo-build-3.1.0.99.3 on a box with VectorLinux
> 6.0 SOHO (based on Slackware 12.1). Make fails at the following point:
>
> Entering /usr/src/tmp/ooo-build-3.1.0.99.3/build/ooo310-m18/sd/ 
> source/ui/app
> ../../../unxlngi6.pro/inc/sddll0.hxx
> echo \#define DLL_NAME \"libsdli.so\" >../../../unxlngi6.pro/inc/ 
> sddll0.hxx
> Compiling: sd/source/ui/app/sdmod.cxx
> Compiling: sd/source/ui/app/sdmod1.cxx
> 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
> /usr/src/tmp/ooo-build-3.1.0.99.3/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<R>'
> /usr/include/boost/function/function_template.hpp:667: error:
> declaration of 'class boost::function0<R>'
> /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<R>::operator==(const boost::function0<R>&, const
> boost::function0<R>&)' 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<R>::operator!=(const boost::function0<R>&, const
> boost::function0<R>&)' 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<R ()()>::clear_type' redeclared with different access
> /usr/include/boost/function/function_template.hpp:1098: error: 'class
> boost::function<R ()()>' 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
> /usr/src/tmp/ooo-build-3.1.0.99.3/build/ooo310-m18/sd/source/ui/app/ 
> sdmod2.cxx:79:
> /usr/include/boost/function/function_template.hpp:80: error: expected
> unqualified-id before 'namespace'
> /usr/src/tmp/ooo-build-3.1.0.99.3/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
> /usr/src/tmp/ooo-build-3.1.0.99.3/build/ooo310-m18/sd/source/ui/app
> rmdir /tmp/3932
> make: *** [stamp/build] Error 1
> vector://usr/src/ooo-build
> root:#
>
> =================
>
> I have boost-1.38.0 on the box I'm using. All of the other necessary
> external build-time dependencies are on the box as well.


John,

It's actually boost 1.36 that works for me on Slackware 12.1, 12.2 & - 
current. I see the same error as you when I use boost 1.38.


chris


> Do I need to upgrade the version of the Boost libraries I am using, or
> is there some coding bug in the sd/source/ui/app file that caused make
> to fail?
>
> Regards,
>
> John Babiak
> johnb316 at gmail.com
> _______________________________________________
> ooo-build mailing list
> ooo-build at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ooo-build

Christoph Willing                       +61 7 3365 8316
QCIF Access Grid Manager
University of Queensland



More information about the ooo-build mailing list