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.