Subject: Re: Problems with gtkmm
To: None <tech-pkg@netbsd.org>
From: Ari Lukkarinen <arska@lukkarinen.org>
List: tech-pkg
Date: 11/02/2003 14:49:19
On Sat, 1 Nov 2003, Thomas Klausner wrote:
> I updated gtkmm to 2.2.8 which should fix this problem.
> Thanks for the note,
>  Thomas

	Unfortunately, it seems that this problem did not disappeared
	completely. The build still fails. Now the error
	messages are as follows:

	...
c++ -O2 -I/wrk/obj/pkgsrc/x11/gtkmm/work/.buildlink/include
-I/wrk/obj/pkgsrc/x11/gtkmm/work/.buildlink-x11/include -Wall -Wl,-R/usr/lib
-Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/test testwindow.o main.o -Wl,-R/usr/pkg/lib
-Wl,--export-dynamic  -L/wrk/obj/pkgsrc/x11/gtkmm/work/.buildlink/lib
-L/wrk/obj/pkgsrc/x11/gtkmm/work/.buildlink-x11/lib ../../glib/glibmm/.libs/libglibmm-2.0.so
-L/usr/pkg/lib -L/usr/bin/../libexec ../../pango/pangomm/.libs/libpangomm-1.0.so
-L/usr/X11R6/lib ../../atk/atkmm/.libs/libatkmm-1.0.so
../../gdk/gdkmm/.libs/libgdkmm-2.0.so ../../gtk/gtkmm/.libs/libgtkmm-2.0.so -lstdc++
/usr/pkg/lib/libsigc-1.2.so /usr/pkg/lib/libgtk-x11-2.0.so /usr/pkg/lib/libgdk-x11-2.0.so
/usr/pkg/lib/libatk-1.0.so /usr/pkg/lib/libgdk_pixbuf-2.0.so
/usr/pkg/lib/libgthread-2.0.so -lpthread /usr/pkg/lib/libpangoxft-1.0.so /usr/pkg/lib/libpangox-1.0.so
/usr/pkg/lib/libpango-1.0.so /usr/pkg/lib/libgobject-2.0.so
/usr/pkg/lib/libgmodule-2.0.so /usr/pkg/lib/libglib-2.0.so -lintl /usr/lib/libintl.so -lm -Wl,--rpath
-Wl,/usr/pkg/lib
ld: warning: libstdc++.so.4, needed by
/wrk/obj/pkgsrc/x11/gtkmm/work/.buildlink
/lib/libsigc-1.2.so, may conflict with libstdc++.so.5
testwindow.o: In function `TestWindow::TestWindow()':
testwindow.o(.text+0xfa): undefined reference to `vtable for
SigC::ObjectBase'
testwindow.o(.text+0x1e9): undefined reference to
`SigC::ObjectBase::~ObjectBase()'
testwindow.o: In function `TestWindow::~TestWindow()':
testwindow.o(.text+0x2c4): undefined reference to
`SigC::ObjectBase::~ObjectBase()'
testwindow.o(.text+0x303): undefined reference to
`SigC::ObjectBase::~ObjectBase()'
testwindow.o: In function `TestWindow::~TestWindow()':
testwindow.o(.text+0x364): undefined reference to
`SigC::ObjectBase::~ObjectBase()'
testwindow.o(.text+0x3ab): undefined reference to
`SigC::ObjectBase::~ObjectBase

...

../../glib/glibmm/.libs/libglibmm-2.0.so: undefined reference to
`SigC::Connecti
onNode::~ConnectionNode()'
../../gtk/gtkmm/.libs/libgtkmm-2.0.so: undefined reference to
`SigC::MethodSlotN
ode::init(void* (SigC::Object::*)(void*))'
gmake[3]: *** [test] Error 1
gmake[3]: Leaving directory
`/fs/wrk/obj/pkgsrc/x11/gtkmm/work/gtkmm-2.2.8/tests
/child_widget'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/fs/wrk/obj/pkgsrc/x11/gtkmm/work/gtkmm-2.2.8/tests
'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/fs/wrk/obj/pkgsrc/x11/gtkmm/work/gtkmm-2.2.8'
gmake: *** [all] Error 2
*** Error code 2

Stop.

--
Ari Lukkarinen