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


I believe here g++ is commanding the ld linker, so "-shared" is interpreted by g++ and translated 
into solaris linking.
All the previous ".so" files are linked the same way with no issue.
What is strange here, is that libcups.so is referencing a main!
I will check for other components linking cups if they use specific flags.
----------------------------------------------------------------------------------
Da: Stephan Bergmann
A: libreoffice@lists.freedesktop.org
Data: 20 febbraio 2015 15.50.12 CET
Oggetto: Re: error during build of mork_helper, on illumos/xstreamos
On 02/20/2015 09:52 AM, Gabriele Bulfon wrote:
Undefined first referenced
symbol in file
main /usr/lib/libcups.so
??? looking for a main in libcups.so???
here is what it's trying to do:
[build LNK] Library/libvcllo.so
S=/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.3
& I=$S/instdir & W=$S/workdir & mkdir -p $W/Dep/LinkTarget/Library/
& RESPONSEFILE=/tmp/gbuild.OgyDJO &
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/ure/lib:$I/program"
$W/LinkTarget/Executable/concat-deps ${RESPONSEFILE}
$W/Dep/LinkTarget/Library/libvcllo.so.d.tmp & rm -f ${RESPONSEFILE}
mv
/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.3/workdir/Dep/LinkTarget/Library/libvcllo.so.d.tmp
/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.3/workdir/Dep/LinkTarget/Library/libvcllo.so.d
S=/sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.3
& I=$S/instdir & W=$S/workdir & /usr/gcc/4.7/bin/g++ -shared
Didn't the Solaris linker use something like -G to tell it to build a
shared library?  Maybe the GCC -shared doesn't properly translate to
something useful for the linker in your tool-chain.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://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.