On 08/29/2013 09:56 AM, dk...@torfree.net wrote:
I am unable to build (after `make clean`) master 139a7d2 (pulled today
around 12:30 UTC). The messages are, line-wrapped for e-mail, ...

/home/terry/lo_hacking/git/libo2/workdir/unxlngi6/UnpackedTarball/
boost/boost/noncopyable.hpp:27:21:
error: ‘boost::noncopyable_::noncopyable::noncopyable()’ declared
with non-public access cannot be defaulted in the class body
/home/terry/lo_hacking/git/libo2/workdir/unxlngi6/UnpackedTarball/
boost/boost/noncopyable.hpp:28:22:
error: ‘boost::noncopyable_::noncopyable::~noncopyable()’
declared with non-public access cannot be defaulted in the class body

I have to suspect that this has something to do with commit 4910c54
"Update the bundled boost to 1.54" combined with the fact that I am
building on an old release, ubuntu-natty (11.04) 32-bit.

Suggestions welcome.

Try this change

diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index c9adf88..4b7e413 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -66,6 +66,7 @@ gb_CXXFLAGS_COMMON := \
-fmessage-length=0 \
-fno-common \
-pipe \
+ -DBOOST_NO_DEFAULTED_FUNCTIONS \

ifneq ($(HAVE_THREADSAFE_STATICS),TRUE)
gb_CXXFLAGS_COMMON += -fno-threadsafe-statics

I'm having the same issue on my machine running a slightly antiquated version of openSUSE (11.4), and this change fixes it for me.

Kohei

--
Kohei Yoshida, LibreOffice Calc hacker, SUSE.

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to