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


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.

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.