<div style="font-family: Verdana; font-size: 12;">Ok, I checked and it looks fine, so solaris.mk should be taken.<br>Also config.log shows correct variables for OS, CPU and COM.<br><br>What actually happens is during make, after it has downloaded and extracted various stuff.<br>The last one is translations file.<br><br>Then it goes on building concat-deps, and linking fails:<br><br>[build C  ] solenv/bin/concat-deps.c<br>[build LNK] Executable/concat-deps<br>ld: fatal: unrecognized option '-O'<br>ld: fatal: unrecognized option '-1'<br>ld: fatal: use the -z help option for usage information<br>collect2: error: ld returned 1 exit status<br><br>Maybe just concat-deps have problems linking with wrong options on Solaris?<br>Also, strange, but build goes on anyway, like:<br><br>[build YAC] unoidl/source/sourceprovider-parser<br>[build LEX] unoidl/source/sourceprovider-scanner<br>[build CAT] officecfg_qa_allheaders.hxx<br>[build XSL] CustomTarget/officecfg/registry/officecfg/FirstStartWizard.hxx<br>......<br>......<br>...................[long list of build stuff, until it reaches here].................<br>[build CMP] scripting/java/ScriptProviderForBeanShell<br>[build CMP] scripting/java/ScriptProviderForJavaScript<br>make[2]: *** No rule to make target `/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/workdir/LinkTarget/Executable/concat-deps', needed by `/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/workdir/Module/nonl10n/solenv'.  Stop.<br>make[2]: *** Waiting for unfinished jobs....<br>make[2]: Leaving directory `/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2'<br>make[1]: *** [build] Error 2<br>make[1]: Leaving directory `/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2'<br>gmake: *** [/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/build/i86/.built] Error 2<br><br>Obviously the last error is because we have no concat-deps binary :)<br>I tried to look at the place where it builds concat-deps, but it's not easy to figure it out....<br>BTW, is there any way to issue gmake and let it show what command "LNK" is doing?<br>It tried forcing a "-n" but I did not get the command debugged....<br><br>Thanks again!<br>Gabriele.<br><tt><br><br>----------------------------------------------------------------------------------<br><br>Da: Norbert Thiebaud <nthiebaud@gmail.com><br>A: gbulfon@sonicle.com <br>Cc: Michael Stahl <mstahl@redhat.com> libreoffice <libreoffice@lists.freedesktop.org> Richard PALO <richard.palo@free.fr> <br>Data: 17 gennaio 2015 14.56.18 CET<br>Oggetto: Re: 4.4.0.1 build error on sal/types.h on solaris/illumos<br><br></tt><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><tt>On Sat, Jan 17, 2015 at 5:07 AM, Gabriele Bulfon <gbulfon@sonicle.com> wrote:<br>> Looks like 4.4.0.2 has this solaris ld patch already applied.<br>> I strongly believe gmake is not using the solaris.mk file.<br>> How can I verify if configure/make is really taking the solaris.mk platform?<br><br>In gbuild.mk we include<br><br>platform/$(OS)_$(CPUNAME)_$(COM).mk<br><br>verify in your config_host.mk tht these resolve to<br>SOLARIS,INTEL and GCC respectively<br><br>SOLARIS_INTEL_GCC.mk just include platform/solaris.mk<br><br>Norbert<br><br><br></tt></blockquote></div>