Re: [gnomemm] libgnomecanvasmm-2.6 linking problem



Fredrik Arnerup <e97_far e kth se> 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 <e97_far e kth se>
http://www.stacken.kth.se/~foo/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]