4.4.0.1 build error on sal/types.h on solaris/illumos
Gabriele Bulfon
gbulfon at sonicle.com
Thu Jan 15 06:05:23 PST 2015
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150115/62a93c54/attachment.html>
More information about the LibreOffice
mailing list