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