error during build of mork_helper, on illumos/xstreamos
Gabriele Bulfon
gabriele.bulfon at sonicle.com
Fri Feb 20 07:23:39 PST 2015
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 at 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 at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150220/3a02d1fa/attachment.html>
More information about the LibreOffice
mailing list