<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi All.<br>
    <br>
    I'm trying to compile LibreOffice 4.1.2.3 on Solaris 12 (build 26,
    currently).<br>
    <blockquote>Note: don't get excited, I'm doing this in my spare time
      and Oracle are in no way endorsing, supporting, or anything
      else'ing my efforts.<br>
    </blockquote>
    I've been using this thread for assistance and it's been a great
    help:
<a class="moz-txt-link-freetext" href="http://comments.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/51422">http://comments.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/51422</a><br>
    <br>
    I'm currently struggling with getting a working idlc compiled.
    Here's what happens:<br>
    <blockquote><tt>[build IDL] udkapi/com/sun/star/idl</tt><tt><br>
      </tt><tt>ld.so.1: idlc: fatal: relocation error: file
        /export/home/bautsche/libre-office/libreoffice-4.1.2.3/solver/unxsogi.pro/bin/idlc:
        symbol rtl_string_new: referenced symbol not found</tt><tt><br>
      </tt><tt>/bin/sh: line 1: 8411: Killed</tt><tt><br>
      </tt><tt>make[1]: ***
        [/export/home/bautsche/libre-office/libreoffice-4.1.2.3/workdir/unxsogi.pro/UnoApiPartTarget/udkapi/com/sun/star/idl.done]
        Killed</tt><tt><br>
      </tt><tt>gmake: *** [build] Error 2</tt><tt><br>
      </tt><tt>bautsche@cressida $ </tt><tt><br>
      </tt></blockquote>
    I think rtl_string_new is defined in include/rtl/string.h, but I
    can't see where the function is actually coming from (running a find
    -exec grep across the code).<br>
    <br>
    Here's the compile command for idlc:<br>
    <blockquote><tt>S=/export/home/bautsche/libre-office/libreoffice-4.1.2.3
        && O=$S/solver/unxsogi.pro &&
        W=$S/workdir/unxsogi.pro &&  mkdir -p
        $W/LinkTarget/Executable/ && g++    
        '-Wl,-rpath,$ORIGIN/../../ure-link/lib' -Wl,-rpath,$O/lib
        -Wl,-rpath-link,$O/lib -Wl,-rpath-link,/lib:/usr/lib
        -Wl,-z,combreloc -L$O/lib -L/usr/lib -L/usr/local/bin
        -L/usr/dt/lib -L/usr/openwin/lib  -Wl,--hash-style=gnu 
        -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo
        -Wl,-Bsymbolic-functions  -Wl,-O1  
        $W/CxxObject/idlc/source/idlcmain.o
        $W/CxxObject/idlc/source/idlc.o
        $W/CxxObject/idlc/source/idlccompile.o
        $W/CxxObject/idlc/source/idlcproduce.o
        $W/CxxObject/idlc/source/errorhandler.o
        $W/CxxObject/idlc/source/options.o
        $W/CxxObject/idlc/source/fehelper.o
        $W/CxxObject/idlc/source/astdeclaration.o
        $W/CxxObject/idlc/source/astscope.o
        $W/CxxObject/idlc/source/aststack.o
        $W/CxxObject/idlc/source/astdump.o
        $W/CxxObject/idlc/source/astinterface.o
        $W/CxxObject/idlc/source/aststruct.o
        $W/CxxObject/idlc/source/aststructinstance.o
        $W/CxxObject/idlc/source/astoperation.o
        $W/CxxObject/idlc/source/astconstant.o
        $W/CxxObject/idlc/source/astenum.o
        $W/CxxObject/idlc/source/astarray.o
        $W/CxxObject/idlc/source/astunion.o
        $W/CxxObject/idlc/source/astexpression.o
        $W/CxxObject/idlc/source/astservice.o  
        $W/GenCxxObject/YaccTarget/idlc/source/parser.o
        $W/GenCxxObject/LexTarget/idlc/source/scanner.o 
        -Wl,--start-group  -Wl,--end-group -Wl,--no-as-needed  -lm -lnsl
        -lsocket  -lreglo -luno_sal -luno_salhelpergcc3 -o
        $W/LinkTarget/Executable/idlc</tt><br>
    </blockquote>
    <br>
    <br>
    I have attached the solenv/gbuild/platform/solaris.mk I am using.<br>
    <br>
    Any help would be greatly appreciated.<br>
    Thanks a lot.<br>
    Ciao,<br>
    Eric<br>
    <br>
    P.S. If this isn't known yet, boost/boost.6139.clang.patch needs a
    dos2unix running on it.<br>
    <br>
  </body>
</html>