Re: [gtk-list] Gtk-- 0.10.3: undefined symbols when linking app



Robert_Gasch/PeopleSoft@peoplesoft.com writes:

> ever since the trying to upgrade from Gtk-- 0.10.2 to 0.10.3, some
> code which used to work flawlessly, now refuses to link (but compiles
> without a hitch). I've tried Gtk-- 0.10.3 with glib/Gtk+1.1.9 and CVS
> snapshot 981225 for glib/Gtk+ and Gtk--, but both combinations
> suffer from this 'feature'. Attached are the error message and sample code.

I could compile, link and run your example below with my current
version of the Gtk-- tree. Since no changes occurred in gdk-- since
12/25, it looks like there's a problem with what you checked out, or
how you built it.

> /usr/local/lib/libgtkmm-1.1.so: undefined reference to
> `Gdk_Window::unref(void)'

Gdk_Window::unref(void) is defined in gtk--/gdk--/gdk--/window.cc. 

> /usr/local/lib/libgtkmm-1.1.so: undefined reference to
> `Gdk_Window virtual table'

This one is a consequence of the 1st, unref() is virtual.

-- 
					Guillaume.
					http://www.worldnet.fr/~glaurent



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