|
From: | Markus Armbruster |
Subject: | Misleading configure failure GLIB_SIZEOF_SIZE_T |
Date: | Thu, 18 Mar 2021 13:51:04 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
I just ran into this failure: $ ../configure --disable-tools --disable-system --static ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T. You probably need to set PKG_CONFIG_LIBDIR to point to the right pkg-config files for your build target My config.log ends with cc -std=gnu99 -Wall -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -static -m64 -fstack-protector-strong -lgthread-2.0 -pthread -lglib-2.0 -pthread -lpcre -pthread /usr/bin/ld: cannot find -lgthread-2.0 /usr/bin/ld: cannot find -lglib-2.0 /usr/bin/ld: cannot find -lpcre /usr/bin/ld: cannot find -lpthread /usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status I need to install more libraries. The error message "sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T." is wrong.
[Prev in Thread] | Current Thread | [Next in Thread] |