Public bug reported: I am trying to compile qemu-4.0.0 on suse11 OS and facing the following error on the console: 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
Looking into the config.log file following is the error that is listed: config-temp/qemu-conf.c:12:11: error: 'WACS_DEGREE' undeclared (first use in this function) add_wch(WACS_DEGREE); ^ config-temp/qemu-conf.c:12:11: note: each undeclared identifier is reported only once for each function it appears in ld: skipping incompatible /usr/lib//libc.so when searching for -lc ld: skipping incompatible /usr/lib//libc.a when searching for -lc /tmp/ccmme6E4.o: In function `main': qemu-conf.c:(.text+0x2b): undefined reference to `resize_term' qemu-conf.c:(.text+0x32): undefined reference to `stdscr' qemu-conf.c:(.text+0x49): undefined reference to `waddnwstr' qemu-conf.c:(.text+0x50): undefined reference to `stdscr' qemu-conf.c:(.text+0x67): undefined reference to `waddnwstr' qemu-conf.c:(.text+0x6e): undefined reference to `_nc_wacs' qemu-conf.c:(.text+0x7f): undefined reference to `stdscr' qemu-conf.c:(.text+0x8d): undefined reference to `wadd_wch' collect2: error: ld returned 1 exit status Following are the details of the tools versions: OS version = SUSE Linux Enterprise Server 11 (x86_64) python = v2.7.10 glib = v2.56.1 gcc = v4.8.3 sdl2 = v2.0.12 Can someone help me understand the cause of this error? regards, Harshit ** Affects: qemu Importance: Undecided Status: New ** Attachment added: "attaching the config.log file." https://bugs.launchpad.net/bugs/1884728/+attachment/5386371/+files/config.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1884728 Title: facing build error for qemu-4.0.0 on SUSE11 OS Status in QEMU: New Bug description: I am trying to compile qemu-4.0.0 on suse11 OS and facing the following error on the console: 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 Looking into the config.log file following is the error that is listed: config-temp/qemu-conf.c:12:11: error: 'WACS_DEGREE' undeclared (first use in this function) add_wch(WACS_DEGREE); ^ config-temp/qemu-conf.c:12:11: note: each undeclared identifier is reported only once for each function it appears in ld: skipping incompatible /usr/lib//libc.so when searching for -lc ld: skipping incompatible /usr/lib//libc.a when searching for -lc /tmp/ccmme6E4.o: In function `main': qemu-conf.c:(.text+0x2b): undefined reference to `resize_term' qemu-conf.c:(.text+0x32): undefined reference to `stdscr' qemu-conf.c:(.text+0x49): undefined reference to `waddnwstr' qemu-conf.c:(.text+0x50): undefined reference to `stdscr' qemu-conf.c:(.text+0x67): undefined reference to `waddnwstr' qemu-conf.c:(.text+0x6e): undefined reference to `_nc_wacs' qemu-conf.c:(.text+0x7f): undefined reference to `stdscr' qemu-conf.c:(.text+0x8d): undefined reference to `wadd_wch' collect2: error: ld returned 1 exit status Following are the details of the tools versions: OS version = SUSE Linux Enterprise Server 11 (x86_64) python = v2.7.10 glib = v2.56.1 gcc = v4.8.3 sdl2 = v2.0.12 Can someone help me understand the cause of this error? regards, Harshit To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1884728/+subscriptions