Re: libgnomecanvasmm-2.6 linking problem
Fredrik Arnerup <[email protected]> Wed, 12 May 2004 23:56:06 +0200
| Newsgroups | gmane.comp.gnome.gnomemm |
|---|---|
| Message-ID | <[email protected]> |
Fredrik Arnerup <[email protected]> writes: > We have a program written for libgnomecanvasmm-2.0 and now I tried to > build against libgnomecanvasmm-2.6. It compiles just fine, but it > won't link: > > libxml2ps.a(libxml2ps_a-xcanvas.o)(.gnu.linkonce.r._ZTCN27_GLOBAL__N_xcanvas.cciuFTZb10TextCanvasE0_N5Gnome6Canvas6CanvasE+0x1a4): undefined reference to `virtual thunk [v:0,-24] to Gnome::Canvas::Canvas::~Canvas [in-charge]()' > libxml2ps.a(libxml2ps_a-xcanvas.o)(.gnu.linkonce.r._ZTCN27_GLOBAL__N_xcanvas.cciuFTZb10TextCanvasE0_N5Gnome6Canvas6CanvasE+0x1a8): undefined reference to `virtual thunk [v:0,-24] to Gnome::Canvas::Canvas::~Canvas [in-charge deleting]()' > collect2: ld returned 1 exit status Me feels stupid :-) This is what happens when you try to link gtkmm-2.2 with libgnomecanvasmm-2.6 or gtkmm-2.4 with libgnomecanvasmm-2.0. Might be nice to remember when the next luser asks the same thing ... -- Fredrik Arnerup <[email protected]> http://www.stacken.kth.se/~foo/