blob: 4e6c4fece20b13f80e3e9ddd928201b4a67e05f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
facing build error for qemu-4.0.0 on SUSE11 OS
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
|