Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi,
we already succeded more than a year ago, in building libreoffice 4.1.0.4 on our illumos based 
XStreamOS Desktop,
creating a lot of patches to support our platform.
We're now in the process of upgrading to 4.4.0.1 from sources.
We decided to start from scratch, with no patch at all, and port patches during build until we 
succeed.
This, because we found a lot of "ifdefs" and "macros" about Soalris and SunOS in general, se we 
maybe don't need
all our previous patches anymore.
We forced parallelism to 1, so to have a clear view of the build process and errors.
We stumbled upon this, wich look very tricky...:
[build CXX] sal/osl/all/compat.cxx
In file included from 
/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.1/include/rtl/textenc.h:29:0,
from 
/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.1/include/rtl/tencinfo.h:25,
from 
/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.1/include/osl/module.h:25,
from 
/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.1/sal/osl/all/compat.cxx:14:
/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.1/include/sal/types.h:375:27:
 error: expected identifier before numeric constant
/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.1/include/sal/types.h:375:27:
 error: expected unqualified-id before numeric constant
/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.1/sal/osl/all/compat.cxx:138:1:
 error: expected ?}? at end of input
gmake[1]: *** 
[/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.1/workdir/CxxObject/sal/osl/all/compat.o]
 Error 1
gmake: *** [build] Error 2
Looks like the gcc parser gets confused by something in the sal/types.h, giving error on this line:
namespace com { namespace sun { namespace star { } } }
This line was there also in 4.1.x, but diff shows many changes on the types.h file, before the 
namespace line.
Can't find a reason for this.
Anyone can help?
Thanks!
Gabriele.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.