Blame view

ext_dep/libvncserver/build/CMakeFiles/CMakeError.log 13.3 KB
8d728d065   신재종   add libvncserver ...
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
  Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
  Change Dir: /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp
  
  Run Build Command(s):/usr/bin/make cmTC_d7134/fast && /usr/bin/make  -f CMakeFiles/cmTC_d7134.dir/build.make CMakeFiles/cmTC_d7134.dir/build
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 들어감
  Building C object CMakeFiles/cmTC_d7134.dir/src.c.o
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc   -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux -DCMAKE_HAVE_LIBC_PTHREAD  -O2 -pipe -g -feliminate-unused-debug-types   -o CMakeFiles/cmTC_d7134.dir/src.c.o -c /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/src.c
  Linking C executable cmTC_d7134
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d7134.dir/link.txt --verbose=1
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc   -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux  -O2 -pipe -g -feliminate-unused-debug-types   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now  CMakeFiles/cmTC_d7134.dir/src.c.o -o cmTC_d7134 
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/real-ld: CMakeFiles/cmTC_d7134.dir/src.c.o: in function `main':
  /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/src.c:11: undefined reference to `pthread_create'
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/real-ld: /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/src.c:12: undefined reference to `pthread_detach'
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/real-ld: /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/src.c:13: undefined reference to `pthread_cancel'
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/real-ld: /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/src.c:14: undefined reference to `pthread_join'
  collect2: error: ld returned 1 exit status
  CMakeFiles/cmTC_d7134.dir/build.make:105: recipe for target 'cmTC_d7134' failed
  make[1]: *** [cmTC_d7134] Error 1
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 나감
  Makefile:140: recipe for target 'cmTC_d7134/fast' failed
  make: *** [cmTC_d7134/fast] Error 2
  
  
  Source file was:
  #include <pthread.h>
  
  static void* test_func(void* data)
  {
    return data;
  }
  
  int main(void)
  {
    pthread_t thread;
    pthread_create(&thread, NULL, test_func, NULL);
    pthread_detach(thread);
    pthread_cancel(thread);
    pthread_join(thread, NULL);
    pthread_atfork(NULL, NULL, NULL);
    pthread_exit(NULL);
  
    return 0;
  }
  
  Determining if the function pthread_create exists in the pthreads failed with the following output:
  Change Dir: /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp
  
  Run Build Command(s):/usr/bin/make cmTC_2cc8e/fast && /usr/bin/make  -f CMakeFiles/cmTC_2cc8e.dir/build.make CMakeFiles/cmTC_2cc8e.dir/build
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 들어감
  Building C object CMakeFiles/cmTC_2cc8e.dir/CheckFunctionExists.c.o
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc   -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux   -O2 -pipe -g -feliminate-unused-debug-types  -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_2cc8e.dir/CheckFunctionExists.c.o -c /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/share/cmake-3.19/Modules/CheckFunctionExists.c
  Linking C executable cmTC_2cc8e
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2cc8e.dir/link.txt --verbose=1
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc   -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux  -O2 -pipe -g -feliminate-unused-debug-types  -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now  CMakeFiles/cmTC_2cc8e.dir/CheckFunctionExists.c.o -o cmTC_2cc8e  -lpthreads 
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/real-ld: cannot find -lpthreads
  collect2: error: ld returned 1 exit status
  CMakeFiles/cmTC_2cc8e.dir/build.make:105: recipe for target 'cmTC_2cc8e' failed
  make[1]: *** [cmTC_2cc8e] Error 1
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 나감
  Makefile:140: recipe for target 'cmTC_2cc8e/fast' failed
  make: *** [cmTC_2cc8e/fast] Error 2
  
  
  
  Determining if the include file sys/endian.h exists failed with the following output:
  Change Dir: /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp
  
  Run Build Command(s):/usr/bin/make cmTC_6e58c/fast && /usr/bin/make  -f CMakeFiles/cmTC_6e58c.dir/build.make CMakeFiles/cmTC_6e58c.dir/build
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 들어감
  Building C object CMakeFiles/cmTC_6e58c.dir/CheckIncludeFile.c.o
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc   -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux   -O2 -pipe -g -feliminate-unused-debug-types   -o CMakeFiles/cmTC_6e58c.dir/CheckIncludeFile.c.o -c /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/endian.h: No such file or directory
      1 | #include <sys/endian.h>
        |          ^~~~~~~~~~~~~~
  compilation terminated.
  CMakeFiles/cmTC_6e58c.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_6e58c.dir/CheckIncludeFile.c.o' failed
  make[1]: *** [CMakeFiles/cmTC_6e58c.dir/CheckIncludeFile.c.o] Error 1
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 나감
  Makefile:140: recipe for target 'cmTC_6e58c/fast' failed
  make: *** [cmTC_6e58c/fast] Error 2
  
  
  
  Determining if the include file vfork.h exists failed with the following output:
  Change Dir: /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp
  
  Run Build Command(s):/usr/bin/make cmTC_41cfa/fast && /usr/bin/make  -f CMakeFiles/cmTC_41cfa.dir/build.make CMakeFiles/cmTC_41cfa.dir/build
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 들어감
  Building C object CMakeFiles/cmTC_41cfa.dir/CheckIncludeFile.c.o
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc   -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux   -O2 -pipe -g -feliminate-unused-debug-types   -o CMakeFiles/cmTC_41cfa.dir/CheckIncludeFile.c.o -c /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: vfork.h: No such file or directory
      1 | #include <vfork.h>
        |          ^~~~~~~~~
  compilation terminated.
  CMakeFiles/cmTC_41cfa.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_41cfa.dir/CheckIncludeFile.c.o' failed
  make[1]: *** [CMakeFiles/cmTC_41cfa.dir/CheckIncludeFile.c.o] Error 1
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 나감
  Makefile:140: recipe for target 'cmTC_41cfa/fast' failed
  make: *** [cmTC_41cfa/fast] Error 2
  
  
  
  Determining if the include file ws2tcpip.h exists failed with the following output:
  Change Dir: /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp
  
  Run Build Command(s):/usr/bin/make cmTC_a5e1c/fast && /usr/bin/make  -f CMakeFiles/cmTC_a5e1c.dir/build.make CMakeFiles/cmTC_a5e1c.dir/build
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 들어감
  Building C object CMakeFiles/cmTC_a5e1c.dir/CheckIncludeFile.c.o
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc   -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux   -O2 -pipe -g -feliminate-unused-debug-types   -o CMakeFiles/cmTC_a5e1c.dir/CheckIncludeFile.c.o -c /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: ws2tcpip.h: No such file or directory
      1 | #include <ws2tcpip.h>
        |          ^~~~~~~~~~~~
  compilation terminated.
  CMakeFiles/cmTC_a5e1c.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_a5e1c.dir/CheckIncludeFile.c.o' failed
  make[1]: *** [CMakeFiles/cmTC_a5e1c.dir/CheckIncludeFile.c.o] Error 1
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 나감
  Makefile:140: recipe for target 'cmTC_a5e1c/fast' failed
  make: *** [cmTC_a5e1c/fast] Error 2
  
  
  
  Determining if the OSSwapHostToBigInt64 exist failed with the following output:
  Change Dir: /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp
  
  Run Build Command(s):/usr/bin/make cmTC_86439/fast && /usr/bin/make  -f CMakeFiles/cmTC_86439.dir/build.make CMakeFiles/cmTC_86439.dir/build
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 들어감
  Building C object CMakeFiles/cmTC_86439.dir/CheckSymbolExists.c.o
  /opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc   -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux   -O2 -pipe -g -feliminate-unused-debug-types   -o CMakeFiles/cmTC_86439.dir/CheckSymbolExists.c.o -c /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: libkern/OSByteOrder.h: No such file or directory
      2 | #include <libkern/OSByteOrder.h>
        |          ^~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  CMakeFiles/cmTC_86439.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_86439.dir/CheckSymbolExists.c.o' failed
  make[1]: *** [CMakeFiles/cmTC_86439.dir/CheckSymbolExists.c.o] Error 1
  make[1]: 디렉터리 '/home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp' 나감
  Makefile:140: recipe for target 'cmTC_86439/fast' failed
  make: *** [cmTC_86439/fast] Error 2
  
  
  File /home/falinux/work/lse/lse_vnc/ext_dep/libvncserver/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  /* */
  #include <libkern/OSByteOrder.h>
  
  int main(int argc, char** argv)
  {
    (void)argv;
  #ifndef OSSwapHostToBigInt64
    return ((int*)(&OSSwapHostToBigInt64))[argc];
  #else
    (void)argc;
    return 0;
  #endif
  }