[csw-users] ?help with build (inkscape) problem? solaris-2.11 sparc
John Pritchard
jdp at syntelos.com
Mon Apr 30 04:22:13 CEST 2007
Hi..
Many thanks to Alessio for helping with this in the previous iteration.
building inkscape-0.39 on snv_55b (solaris-2.11 sparc, solaris-express, not
built from sources)...
using /usr/sfw/bin/gcc [3.4.3 (csl-sol210-3_4-20050802)], CSS LD, latest
CSW, plain vanilla environment...
everything looks like it should be working fine, but i get link errors for
libsigc++ (and some weird stuff comes from where?)
mkdir .libs
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-
x11-2.0.so /opt/csw/lib/libgdk-x11-2.0.so /opt/csw/lib/libatk-1.0.so
-L/export/medusa/kenmays/build/glib-2.10.2/cswstage/opt/csw/lib
-L/opt/studio/SOS8/SUNWspro/prod/lib /opt/csw/lib/libgdk_pixbuf-2.0.so
-L/export/medusa/kenmays/build/v8_croco/libcroco-0.6.1/cswstage/opt/csw/lib/opt/csw/lib/libpangocairo-
1.0.so -L/opt/build/michael/xrender-0.8.3-buildroot/opt/csw/lib/opt/csw/lib/libcairo.so
-lSM -lICE -lxml2 -lpthread -lsocket -lnsl
/opt/csw/lib/libsigc-1.2.so /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-1.0.so /opt/csw/lib/libpango-1.0.so -lsunmath
/opt/csw/lib/libgobject-2.0.so /opt/csw/lib/libgmodule-2.0.so -ldl
/opt/csw/lib/libglib-2.0.so -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
Undefined first referenced
symbol in file
SigC::AdaptorBindSlotNode::AdaptorBindSlotNode(void (*)(void*), SigC::Node
const&, void (*)(void*))libinkpre.a(sp-gradient.o)
__1cG__CrunKpure_error6F_v_ /opt/csw/lib/libsigc-1.2.so
SigC::ObjectSlotNode::init(SigC::Object*, void*, void
(SigC::Object::*)())libinkpre.a(uri-references.o)
SigC::ObjectBase::reference() const libinkpre.a(sp-gradient.o)
SigC::ObjectBase::unreference() constlibinkpre.a(sp-gradient.o)
virtual thunk to SigC::Object::~Object()libinkpre.a(sp-gradient.o)
virtual thunk to SigC::Object::~Object()libinkpre.a(sp-gradient.o)
SigC::Object::Object() libinkpre.a(uri-references.o)
SigC::Object::~Object() libinkpre.a(uri-references.o)
SigC::Object::~Object() libinkpre.a(sp-gradient.o)
SigC::Object::~Object() libinkpre.a(sp-gradient.o)
SigC::SignalBase::impl() const libinkpre.a(document.o)
SigC::SlotNode::SlotNode(void (*)(void*))libinkpre.a(uri-references.o)
vtable for SigC::ObjectSlotNode libinkpre.a(uri-references.o)
SigC::Connection::disconnect() libinkpre.a(sp-offset.o)
SigC::SignalNode::empty() libinkpre.a(document.o)
SigC::ObjectBase::set_manage() libinkpre.a(sp-gradient.o)
SigC::SignalNode::push_back(SigC::SlotBase const&)libinkpre.a(document.o)
SigC::SignalNode::cleanup() libinkpre.a(document.o)
SigC::SlotNode::~SlotNode() libinkpre.a(uri-references.o)
SigC::SignalBase::SignalBase(SigC::SignalBase const&)libinkpre.a(
sp-gradient.o)
typeinfo for SigC::Object libinkpre.a(sp-gradient.o)
SigC::ObjectBase::~ObjectBase() libinkpre.a(sp-gradient.o)
__1cG__CrunMex_rethrow_q6F_v_ /opt/csw/lib/libsigc-1.2.so
SigC::FuncSlotNode::FuncSlotNode(void (*)(void*), void
(*)(void*))libinkpre.a(sp-gradient.o)
SigC::Node::assign(SigC::NodeBase*) libinkpre.a(document.o)
SigC::Node::operator=(SigC::Node const&)libinkpre.a(sp-offset.o)
SigC::SignalBase::~SignalBase() libinkpre.a(document.o)
SigC::SignalBase::SignalBase() libinkpre.a(document.o)
vtable for SigC::ObjectBase libinkpre.a(sp-gradient.o)
c::c(n6, (int0_t)) /opt/csw/lib/libsigc-1.2.so
SigC::Node::clear() const libinkpre.a(document.o)
__1c2k6Fpv_v_ /opt/csw/lib/libsigc-1.2.so
ld: fatal: Symbol referencing errors. No output written to inkscape
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `inkscape'
to reproduce this, my environment..
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
CFLAGS='-mcpu=v9'
CONFIG_SHELL='/bin/bash'
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'
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'
PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig:/usr/lib/pkgconfig:/usr/sfw/lib/pkgconfig
and one patch to inkscape-0.39/src/main.cpp line 239,
s/fpresetsticky/fpsetsticky/ for /usr/include/ieeefp.h
otherwise ./configure && make
(maybe the configure script is just wrong wrt the version of libsigc++ it's
accepting).
thoughts, comments, suggestions?
many thanks,
john
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20070429/e7312f7f/attachment-0001.html>
More information about the users
mailing list