On Saturday 19 of May 2012 00:34:17 Bart wrote: > Hi, > > I cannot build Lazarus r37322. > It fails with a linker error. > At first I thought I had left-over old .ppu's, but I did a make clean > before building, and the object-file in question has the timestamp of > my build. > > I tried from commandline this time to see if that helped... > > make clean > make all OPT='-gl -gs' > ..... > Compiling restrictionbrowser.pas > Compiling projectwizarddlg.pas > Compiling resource ../units/i386-linux/gtk2/lazarus.or > Linking ../lazarus > /home/bart/svnroot/lazarus/lcl/units/i386-linux/gtk2/gtk2proc.o: In > function `GETGTKWINDOWGROUP': > /home/bart/svnroot/lazarus/lcl/interfaces/gtk2/gtk2proc.inc:4716: > undefined reference to `gtk_window_get_group' > /home/bart/svnroot/lazarus/lcl/interfaces/gtk2/gtk2proc.inc:4718: > undefined reference to `gtk_window_get_group' > lazarus.pp(133,1) Error: Error while linking > lazarus.pp(133,1) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted > make[2]: *** [lazarus] Fout 1 > make[2]: Leaving directory `/home/bart/svnroot/lazarus/ide' > make[1]: *** [ide] Fout 2 > make[1]: Leaving directory `/home/bart/svnroot/lazarus/ide' > make: *** [ide] Fout 2 > > OS: Suse Linux 10.0 > kernel 2.6.13-15 > gtk2-2.8.3-4 > > > File: lcl/interfaces/gtk2/gtk2extrah.inc > function gtk_window_get_group(window:PGtkWindow):PGtkWindowGroup; > cdecl; external gtklib; > Introduced in r37290 > > AFAICS this function (for now) is only used in some debug statements in > > TGtk2WidgetSet.SetCapture > .... > WndGroup := GetGtkWindowGroup(CaptureWidget); > DefWndGroup:=GetGtkWindowGroup(CaptureWidget); > debugln(['TGtk2WidgetSet.SetCapture WndGroup=',dbgs(WndGroup),' > DefWndGroup=',dbgs(DefWndGroup),' same=',WndGroup=DefWndGroup]); > ... > > Is it possible to ifdef this function gtk_window_get_group() depending > on GTK2 version? > According to > http://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-get-group > it was introduced in gtk 2.10
Fixed in r37328. zeljko
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
