Re: build failure on gentoo with latest source


Yes, me again :)

On Sun, 2006-03-12 at 09:49 -0600, Harry Putnam wrote:
> ANNOTtools.c:(.text+0x167a): undefined reference to `BM_IsTopic(void*)'
> ANNOTtools.c:(.text+0x16b6): undefined reference to `BM_GetMDate(void*)'
> ANNOTtools.c:(.text+0x16d0): undefined reference to `BM_GetMDate(void*)'
> /usr/local/src/test1/Amaya/wx/wxWidgets_RELEASE/lib/libwx_gtk2u_core-2.6.a(corelib_window.o): In function `wxWindow::GtkGetPangoX11Context()':
> window.cpp:(.text+0x6539): undefined reference to `pango_x_get_context'
> collect2: ld returned 1 exit status
> make[1]: *** [../bin/amaya] Error 1
> make[1]: Leaving directory `/usr/local/src/test1/Amaya/wx/amaya'
> make: *** [amaya_prog] Error 2

It's a problem which occurs when you try building against a too recent version of GTK+.

The attached patch stolen from the wxWidgets CVS fixes the problem.



Received on Sunday, 12 March 2006 16:01:27 UTC