{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreih46xzmysb2swzxv3cw2kawbofreovncbziy7iypwpq5eknoflkrm",
"uri": "at://did:plc:hqad6xwuzg7oqfmwylfkvqfm/app.bsky.feed.post/3mksgr5a5rbs2"
},
"path": "/viewtopic.php?t=33365&p=273112#p273112",
"publishedAt": "2026-05-01T13:49:23.000Z",
"site": "http://forum.palemoon.org",
"tags": [
"Gtk2-NG_configuration_log.zip"
],
"textContent": "Hi there. Just for the sake of it I tried to build this Gtk2 project of yours. Apart from a few deprecations I got a warning about an implicit declaration, and then later on an error upon linking related to that declaration. Dunno how to fix this.\nRunning Linux Mint 19.2 (Ubuntu 18.04) with some backports, build tools GCC 9.5. Configuration log:\n\nGtk2-NG_configuration_log.zip\n\n**EDIT:** Ah, it's probably due to **Glib 2.72.4** missing g_sort_array. It's only available starting with 2.82. Can't install a newer glib unfortunately. Any workaround?\n\n\nCODE:\n\n\n gtkfilesystemmodel.c: In function ‘gtk_file_system_model_sort’:gtkfilesystemmodel.c:804:7: warning: implicit declaration of function ‘g_sort_array’ [-Wimplicit-function-declaration] 804 | g_sort_array (get_node (model, 1), /* start at index 1; don't sort the editable row */ | ^~~~~~~~~~~~[...]./.libs/libgtk-x11-2.0.so: undefined reference to `g_sort_array'collect2: error: ld returned 1 exit statusmake[4]: *** [Makefile:2962: gtk-query-immodules-2.0] Error 1[...]./.libs/libgtk-x11-2.0.so: undefined reference to `g_sort_array'collect2: error: ld returned 1 exit statuslinking of temporary binary failed: Command '['/bin/bash', '../libtool', '--mode=link', '--tag=CC', 'gcc', '-o', '<project path>/Gtk2-NG/gtk/tmp-introspectfivxap7y/Gtk-2.0', '-export-dynamic', '-DG_DISABLE_SINGLE_INCLUDES', '-DATK_DISABLE_SINGLE_INCLUDES', '-DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES', '-DGTK_DISABLE_SINGLE_INCLUDES', '-g', '-O2', '-Wall', '<project path>/Gtk2-NG/gtk/tmp-introspectfivxap7y/Gtk-2.0.o', '-L.', 'libgtk-x11-2.0.la', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lglib-2.0']' returned non-zero exit status 1.make[4]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: Gtk-2.0.gir] Error 1\n\n* * *",
"title": "Other/future projects • Re: GTK2 revival",
"updatedAt": "2026-05-01T13:49:23.000Z"
}