Hello
We have a build breaker on solaris 11/Sparc tag 341, we suppose that we
have to add all indirectely linked libraries to the call below. Solaris
seems like OS X not to support indirect linking.
/opt/solarisstudio12.3//bin/CC -Bdynamic -z text -G
'-R$ORIGIN:$ORIGIN/../ure-link/lib' -L$S/solenv/unxsols4/lib -L$O/lib
-L$S/solenv/unxsols4/lib -L$S/solenv/unxsols4/libsolaris.2.6 -L/lib
-L/usr/lib -L/usr/local/lib -L/usr/dt/lib -L/usr/openwin/lib
-L/usr/jdk/instances/jdk1.6.0/lib
-L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc
-L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/xawt
-L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/native_threads -L/usr/lib
-temp=/tmp -w -mt -Bdirect -z defs -z combreloc -norunpath -PIC
-library=no%Cstd -lcomphelpC52 -luno_cppu -luno_cppuhelperC52 -lfwe
-li18nisolang1C52 -luno_sal -lsax -lsb -lsot -lstlport_sunpro -lsvl
-lsvt -ltk -ltl -lucbhelper4C52 -lutl -lvcl -lvos3C52 -lxml2 -lsfx
-lgtk-x11-2.0 -lsecdb -ltsol -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0
-lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor
-lXcomposite -lXdamage -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0
-lfreetype -lfontconfig -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0
$W/CxxObject/sfx2/source/appl/shutdowniconunx.o -o
$W/LinkTarget/Library/libqstart_gtk.so
We wanted to test this call with different linker settings. But the
call has many variables: $ORIGIN/$W/$S. In order to continue with our
investigation, we have to be either:
1. able to get the contents of this variables
2. find the definition of LIBS or similar for this project
- The makefile seems to part of complex build system, that doesn't use
make in a verbose way. Is there any documentation for gbuild.mk based
makefiles?
We found the command above using
cd main/sfx2
/usr/bin/gmake -r -j1
which also gives us an error like this:
Undefined symbol void*__Crun::ex_alloc(unsigned)
first referenced in file
/home/oobuild/aoo-build-341/ooo/main/solver/341/unxsols4.pro/workdir/CxxObject/sfx2/source/appl/shutdowniconunx.o
(symbol belongs to implicit dependency /usr/lib/libCrun.so.1) ...
...
all of the missing symbols are in implicit dependencies.
Best,
Jean-Louis Fuchs
--
Adfinis SyGroup AG
Jean-Louis 'Hans' Fuchs, Software Engineer
Keltenstrasse 98 | CH-3018 Bern
Tel.: +41 31 550 31 11