Problem building GTK 3.24.43 with at-spi2-core 2.53.90

I am trying to build gtk3+. But I am facing several build issues, one of which is while linking at-spi2-core or gtk with glib.Is there any advice to this problem?

error: ‘dbind’ undeclared (first use in this function)

Error information

FAILED: modules/input/im-viqr.so.p/imviqr.c.o cc -Imodules/input/im-viqr.so.p -Imodules/input -I…/modules/input -I. -I… -Igtk -I…/gtk -Igdk/x11 -I…/gdk/x11 -Igdk -I…/gdk -I/home/bennywu/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/include -I/home/bennywu/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/include/glib-2.0 -I/home/bennywu/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/lib/glib-2.0/include -I/home/bennywu/.xmake/packages/p/pcre2/10.44/b7e4e4f0b94148d5af10bb2f45ebfe03/include -I/home/bennywu/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/include/gio-unix-2.0 -I/home/bennywu/.xmake/packages/p/pango/1.51.1/55a21ee59e8e4db4a5902ce6ad6ca9b2/include/pango-1.0 -I/home/bennywu/.xmake/packages/f/fribidi/1.0.15/2420815ff060423eb7f98ebbe17911d3/include/fribidi -I/home/bennywu/.xmake/packages/h/harfbuzz/9.0.0/a73b70abb6334ebdb3eee5a12e37dea5/include/harfbuzz -I/home/bennywu/.xmake/packages/l/libthai/0.1.29/f743d2c56bf049b48a2de0c9f97aff37/include -I/home/bennywu/.xmake/packages/l/libdatrie/0.2.13/397e8355b87f40069aa7ed9d57e23228/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/home/bennywu/.xmake/packages/g/gdk-pixbuf/2.42.10/10cdd63312a54c3aa2ec96e8c25f462f/include/gdk-pixbuf-2.0 -I/home/bennywu/.xmake/packages/l/libjpeg-turbo/3.0.3/62c56eb3cf584c03babe26d2fe3c2878/include -I/home/bennywu/.xmake/packages/l/libtiff/v4.6.0/88915fcbcf1140faaadae836c55f1719/include -I/home/bennywu/.xmake/packages/a/at-spi2-core/2.53.90/8e38b81c85bd4c938a73c27287a38ece/include/atk-1.0 -I/home/bennywu/.xmake/packages/l/libepoxy/1.5.10/fabd3cdcc9c440fcbd550c27224c635c/include -I/home/bennywu/.xmake/packages/a/at-spi2-core/2.53.90/8e38b81c85bd4c938a73c27287a38ece/include/at-spi2-atk/2.0 -I/home/bennywu/.xmake/packages/a/at-spi2-core/2.53.90/8e38b81c85bd4c938a73c27287a38ece/include/at-spi-2.0 -I/home/bennywu/.xmake/packages/d/dbus/1.14.8/a5671b41621c46148279052a825bc532/lib/pkgconfig/…/…/include/dbus-1.0 -I/home/bennywu/.xmake/packages/d/dbus/1.14.8/a5671b41621c46148279052a825bc532/lib/pkgconfig/…/…/lib/dbus-1.0/include -I/home/bennywu/.xmake/packages/l/libxkbcommon/1.0.3/7247f68c47b64197ac9169b27ec6ee54/include -I/home/bennywu/.xmake/packages/w/wayland/1.23.0/82f27813d01748c8acbdd6f351c9ad1c/include -I/home/bennywu/.xmake/packages/a/at-spi2-core/2.53.90/8e38b81c85bd4c938a73c27287a38ece/include -I/home/bennywu/.xmake/packages/g/gdk-pixbuf/2.42.10/10cdd63312a54c3aa2ec96e8c25f462f/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -DG_LOG_USE_STRUCTURED=1 -DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_56 -DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_58 ‘-DGTK_VERSION=“3.24.43”’ -D_GNU_SOURCE -DG_DISABLE_CAST_CHECKS -fPIC -DG_LOG_DOMAIN=dbind -pthread -DFRIBIDI_LIB_STATIC -fno-strict-aliasing -Wpointer-arith -Wimplicit-function-declaration -Wformat=2 -Wformat-security -Wnested-externs -Wold-style-definition -Wundef -Wunused -Wcast-align -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-include-dirs -Wlogical-op -Wignored-qualifiers -Wno-discarded-qualifiers -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=empty-body -Werror=write-strings -MD -MQ modules/input/im-viqr.so.p/imviqr.c.o -MF modules/input/im-viqr.so.p/imviqr.c.o.d -o modules/input/im-viqr.so.p/imviqr.c.o -c …/modules/input/imviqr.c

/home/bennywu/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/include/glib-2.0/gobject/gobject.h: In function ‘g_assert_finalize_object’: : error: ‘dbind’ undeclared (first use in this function)

/home/bennywu/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/include/glib-2.0/glib/gtestutils.h:229:69: note: in expansion of macro ‘G_LOG_DOMAIN’ 229 | g_assertion_message (G_LOG_DOMAIN, FILE, LINE, G_STRFUNC, | ^~~~~~~~~~~~

/home/bennywu/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/include/glib-2.0/gobject/gobject.h:819:3: note: in expansion of macro ‘g_assert_true’ 819 | g_assert_true (G_IS_OBJECT (weak_pointer)); | ^~~~~~~~~~~~~ : note: each undeclared identifier is reported only once for each function it appears in

/home/bennywu/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/include/glib-2.0/glib/gtestutils.h:229:69: note: in expansion of macro ‘G_LOG_DOMAIN’ 229 | g_assertion_message (G_LOG_DOMAIN, FILE, LINE, G_STRFUNC,
| ^~~~~~~~~~~~ /home/bennywu/.xmake/packages/g/glib/2.78.1/19890b1935064ee48938a30475bda1a4/include/glib-2.0/gobject/gobject.h:819:3: note: in expansion of macro ‘g_assert_true’ 819 | g_assert_true (G_IS_OBJECT (weak_pointer));

Steps to reproduce

the build command is

/home/bennywu/.xmake/packages/m/meson/1.5.1/483408b3fe904a36b4839181d67b3c18/bin/meson setup -Dintrospection=false -Ddemos=false -Dexamples=false -Dtests=false -Ddefault_library=static --prefix=/home/bennywu/.xmake/packages/g/gtk+3/3.24.43/e1f58b5741cc42bbbd09a7912c040387 --libdir=lib -Dbuildtype=release -Db_staticpic=true build_e1f58b57

Version information

  • gtk 3.24.43
  • meson 1.5.1
  • at-spi2-core 2.53.90

Additional information

there is a similar problem in that issue, but it has not been solved

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.