<br>Hi..<br><br>Many thanks to Alessio for helping with this in the previous iteration. <br><br>building <span style="font-family: courier new,monospace;">inkscape-0.39</span> on <span style="font-family: courier new,monospace;">
snv_55b</span> (solaris-2.11 sparc, solaris-express, not built from sources)...<br>using <span style="font-family: courier new,monospace;">/usr/sfw/bin/gcc</span> <font size="1"><span style="font-family: courier new,monospace;">
[3.4.3 (csl-sol210-3_4-20050802)]</span></font>, CSS LD, latest CSW, plain vanilla environment... <br>everything looks like it should be working fine, but i get link errors for <span style="font-family: courier new,monospace;">
libsigc++</span> (and some <span style="font-style: italic;">weird</span> stuff comes from where?)<br><br><div style="margin-left: 40px;"><font size="1"><span style="font-family: courier new,monospace;">mkdir .libs</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">g++ -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -o inkscape --export-dynamic
main.o -L/opt/csw/lib -L/usr/X11/lib -L/usr/ccs/lib -L/usr/dt/lib -L/usr/java/lib -L/usr/lib -L/usr/openwin/lib -L/usr/sfw/lib libinkpre.a dialogs/libspdialogs.a xml/libspxml.a svg/libspsvg.a widgets/libspwidgets.a display/libspdisplay.a helper/libspchelp.a libnrtype/libnrtype.a libnr/libnr.a livarot/libvarot.a extension/libextension.a extension/implementation/libimplementation.a extension/internal/libinternal.a inkjar/libinkjar.a
libinkpost.a /opt/csw/lib/libgtk-<a href="http://x11-2.0.so">x11-2.0.so</a> /opt/csw/lib/libgdk-<a href="http://x11-2.0.so">x11-2.0.so</a> /opt/csw/lib/libatk-<a href="http://1.0.so">1.0.so</a> <span style="font-weight: bold; text-decoration: underline;">
-L/export/medusa/kenmays/build/glib-2.10.2/cswstage/opt/csw/lib</span> <span style="font-weight: bold; text-decoration: underline;">-L/opt/studio/SOS8/SUNWspro/prod/lib</span> /opt/csw/lib/libgdk_pixbuf-<a href="http://2.0.so">
2.0.so</a> <span style="font-weight: bold; text-decoration: underline;">-L/export/medusa/kenmays/build/v8_croco/libcroco-0.6.1/cswstage/opt/csw/lib</span> /opt/csw/lib/libpangocairo-<a href="http://1.0.so">1.0.so</a> <span style="font-weight: bold; text-decoration: underline;">
-L/opt/build/michael/xrender-0.8.3-buildroot/opt/csw/lib</span> /opt/csw/lib/libcairo.so -lSM -lICE -lxml2 -lpthread -lsocket -lnsl <span style="font-weight: bold; text-decoration: underline;">/opt/csw/lib/libsigc-<a href="http://1.2.so">
1.2.so</a></span> /opt/csw/lib/libpng12.so -lpopt /opt/csw/lib/libXft.so /opt/csw/lib/libXrender.so -lX11 /opt/csw/lib/libfontconfig.so /opt/csw/lib/libexpat.so /opt/csw/lib/libpangoft2-<a href="http://1.0.so">1.0.so</a> /opt/csw/lib/libpango-
<a href="http://1.0.so">1.0.so</a> -lsunmath /opt/csw/lib/libgobject-<a href="http://2.0.so">2.0.so</a> /opt/csw/lib/libgmodule-<a href="http://2.0.so">2.0.so</a> -ldl /opt/csw/lib/libglib-<a href="http://2.0.so">2.0.so</a>
-lm /opt/csw/lib/libintl.so /opt/csw/lib/libiconv.so -lc /opt/csw/lib/libfreetype.so -lz -Wl,-R -Wl,/opt/csw/lib -Wl,-R -Wl,/opt/csw/lib -Wl,-R -Wl,/usr/openwin/lib</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace; font-weight: bold;">
Undefined first referenced</span><br style="font-family: courier new,monospace; font-weight: bold;"><span style="font-family: courier new,monospace; font-weight: bold;"> symbol in file
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::AdaptorBindSlotNode::AdaptorBindSlotNode(void (*)(void*), SigC::Node const&, void (*)(void*))libinkpre.a(sp-gradient.o
)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">__1cG__CrunKpure_error6F_v_ /opt/csw/lib/libsigc-<a href="http://1.2.so">1.2.so</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">SigC::ObjectSlotNode::init(SigC::Object*, void*, void (SigC::Object::*)())libinkpre.a(uri-references.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
SigC::ObjectBase::reference() const libinkpre.a(sp-gradient.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::ObjectBase::unreference() constlibinkpre.a(sp-gradient.o
)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">virtual thunk to SigC::Object::~Object()libinkpre.a(sp-gradient.o)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">virtual thunk to SigC::Object::~Object()libinkpre.a(sp-gradient.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
SigC::Object::Object() libinkpre.a(uri-references.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::Object::~Object() libinkpre.a(uri-references.o
)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::Object::~Object() libinkpre.a(sp-gradient.o)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">SigC::Object::~Object() libinkpre.a(sp-gradient.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::SignalBase::impl() const
libinkpre.a(document.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::SlotNode::SlotNode(void (*)(void*))libinkpre.a(uri-references.o)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">vtable for SigC::ObjectSlotNode libinkpre.a(uri-references.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::Connection::disconnect()
libinkpre.a(sp-offset.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::SignalNode::empty() libinkpre.a(document.o)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">SigC::ObjectBase::set_manage() libinkpre.a(sp-gradient.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::SignalNode::push_back(SigC::SlotBase const&)libinkpre.a(
document.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::SignalNode::cleanup() libinkpre.a(document.o)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">SigC::SlotNode::~SlotNode() libinkpre.a(uri-references.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::SignalBase::SignalBase(SigC::SignalBase const&)libinkpre.a(
sp-gradient.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">typeinfo for SigC::Object libinkpre.a(sp-gradient.o)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">SigC::ObjectBase::~ObjectBase() libinkpre.a(sp-gradient.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">__1cG__CrunMex_rethrow_q6F_v_ /opt/csw/lib/libsigc-
<a href="http://1.2.so">1.2.so</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::FuncSlotNode::FuncSlotNode(void (*)(void*), void (*)(void*))libinkpre.a(sp-gradient.o
)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::Node::assign(SigC::NodeBase*) libinkpre.a(document.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
SigC::Node::operator=(SigC::Node const&)libinkpre.a(sp-offset.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::SignalBase::~SignalBase() libinkpre.a(
document.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::SignalBase::SignalBase() libinkpre.a(document.o)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">vtable for SigC::ObjectBase libinkpre.a(sp-gradient.o)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">c::c(n6, (int0_t)) /opt/csw/lib/libsigc-
<a href="http://1.2.so">1.2.so</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">SigC::Node::clear() const libinkpre.a(document.o)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">__1c2k6Fpv_v_ /opt/csw/lib/libsigc-<a href="http://1.2.so">1.2.so</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace; font-weight: bold;">
ld: fatal: Symbol referencing errors. No output written to inkscape</span><br style="font-family: courier new,monospace; font-weight: bold;"><span style="font-family: courier new,monospace; font-weight: bold;">collect2: ld returned 1 exit status
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">*** Error code 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
make: Fatal error: Command failed for target `inkscape'</span></font><br></div><br><br>to reproduce this, my environment..<br><div style="margin-left: 40px; font-family: courier new,monospace;"><font size="1">PATH=/usr/sbin:/usr/bin:/usr/java/bin:/opt/csw/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/X11/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/local/bin:/usr/ucb
<br>CFLAGS='-mcpu=v9'<br>CONFIG_SHELL='/bin/bash'<br>LDFLAGS='-L/opt/csw/lib -L/usr/X11/lib -L/usr/ccs/lib -L/usr/dt/lib -L/usr/java/lib -L/usr/lib -L/usr/openwin/lib -L/usr/sfw/lib'<br>CPPFLAGS='-I/opt/csw/include -I/opt/csw/include/freetype2 -I/usr/X11/include -I/usr/dt/include -I/usr/java/include -I/usr/include -I/usr/openwin/include -I/usr/sfw/include'
<br>PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig:/usr/lib/pkgconfig:/usr/sfw/lib/pkgconfig<br></font></div><br>and one patch to <span style="font-family: courier new,monospace;">inkscape-0.39/src/main.cpp</span> line 239, <span style="font-family: courier new,monospace;">
s/fpresetsticky/fpsetsticky/</span> for <span style="font-family: courier new,monospace;">/usr/include/ieeefp.h</span><br><br>otherwise <span style="font-family: courier new,monospace;">./configure && make</span><br>
<br><br><span style="font-style: italic;">(maybe the configure script is just wrong wrt the version of libsigc++ it's accepting).</span><br><br>thoughts, comments, suggestions?<br><br>many thanks,<br><br>john<br><br><br>