Building LO 188.8.131.52 on illumos based OS
mstahl at redhat.com
Fri Jul 5 12:25:25 PDT 2013
On 05/07/13 20:33, Gabriele Bulfon wrote:
> Here is what I got after applying your patch (causing a lot of
> rebuilding of previous code). Later I will send you the output of the
> detail you aksed:
> [build LNK] Library/libunopkgapp.so
> [build C ] desktop/source/pkgchk/unopkg/unopkg_main.c
> [build LNK] Executable/unopkg.bin
> undefined reference to `PR_Now'
> undefined reference to `NSS_CMSMessage_Create'
hmm... so vcl is supposed to be linked against NSS/NSPR libraries but
somehow that doesn't work for you...
what is really weird is that it fails on linking the executable, it
should really fail when linking vcl library already.
can you check that the link command lines use -Wl,-z,defs ?
apparently not, try to copy the relevant lines from
gbuild/platform/linux.mk to solaris.mk.
the other problem is most likely that the libraries from the "nss"
module somehow have hidden visibility (i assume you are not using
--with-system-nss?)... if things work PR_Now should be exported like this:
> nm --defined-only -D -g solver/*/lib/libnspr4.so | grep PR_Now
0000000000039123 T PR_Now
you'll have to dig into the external build system there to figure out
why it doesn't work, the files are in workdir/*/UnpackedTarball/nss (or
if your distro has NSS packages try using --with-system-nss).
More information about the LibreOffice