Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi, I could set up the correct env to build correctly up to soffice.bin and going on over 
extensions.
I ended up with a problem linking with Xm Motif libraries (a problem inside my distro that I'm 
solving).
I was wandering why Motif libraries are needed by these extension. Is it absolutely necessary?
Any way to skip Motif dependencies?
Gabriele.
Da:
Gabriele Bulfon
A:
Michael Stahl
Cc:
michael.meeks@suse.com libreoffice-dev
Data:
9 luglio 2013 18.01.19 CEST
Oggetto:
Re: Building LO 4.0.4.2 on illumos based OS
usually libs should contain not just search paths but also the libraries
to be linked, e.g. in config_host.mk with a system nss i get:
export NSS_LIBS=$(gb_SPACE)-lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4
-lplc4 -lnspr4 -lpthread -ldl
also i guess only Sun ld knows -R, the GNU ld equivalent is -Wl,-rpath,
Well done!
With this env the build went on the unopkg.bin!
CONFIGURE_ENV += NSS_CFLAGS=-I/usr/include/mps
CONFIGURE_ENV += NSS_LIBS="-Wl,-rpath,/usr/lib/mps -L/usr/lib/mps -lssl3 -lsmime3 -lnss3 -
lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
I prefer to use my userland Makefile options instead of modifying the solaris.mk
Now the build is going on.....let's wait and see... ;)
Gabriele.
Ok, it stopped later with this:
[build LNK] Executable/pluginapp.bin
S=/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1 & 
O=$S/solver/unxsogi.pro & W=$S/workdir/unxsogi.pro &  mkdir -p $W/LinkTarget/Executable/ & 
/usr/gcc/4.4/bin/g++     -Wl,-z,origin '-Wl,-rpath,$ORIGIN:$ORIGIN/../ure-link/lib' 
-Wl,-rpath-link,$O/lib -z nodefs   $W/CxxObject/extensions/source/plugin/unx/npwrap.o 
$W/CxxObject/extensions/source/plugin/unx/npnapi.o     -Wl,--start-group $O/lib/libplugcon.a 
-Wl,--end-group -Wl,--no-as-needed  -lm -lnsl -lsocket  -lXm -lXt -lXext -lX11 -ldl  -lgthread-2.0 
-lpthread -lglib-2.0   -R/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 
-lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgdk_pixbuf_xlib-2.0 -lgmodule-2.0 
-lpthread -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0   -R/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype 
-lfontconfig -lgobject-2.0 -lglib-2.0   -luno_sal -o $W/LinkTarget/Executable/pluginapp.bin
/usr/gnu/bin/ld: cannot find -luno_sal
collect2: ld returned 1 exit status
I guess I'm missing a library....not built?
_______________________________________________LibreOffice mailing 
listLibreOffice@lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/libreoffice

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.