>>> libvncserver 0.9.12 Extracting gzip -d -c /nvmedata/autobuild/instance-3/dl/libvncserver/LibVNCServer-0.9.12.tar.gz | /nvmedata/autobuild/instance-3/output-1/host/bin/tar --strip-components=1 -C /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12 -xf - >>> libvncserver 0.9.12 Patching Applying 0001-CMakeLists.txt-fix-build-without-C.patch using patch: patching file CMakeLists.txt Applying 0002-libvnc-client-server-.pc.cmakein-remove-zlib.patch using patch: patching file libvncclient.pc.cmakein Hunk #1 succeeded at 7 with fuzz 2. patching file libvncserver.pc.cmakein Hunk #1 succeeded at 7 with fuzz 2. Applying 0003-Limit-lenght-to-INT_MAX-bytes-in-rfbProcessFileTransferReadBuffer.patch using patch: patching file libvncserver/rfbserver.c Applying 0004-rfbserver-don-t-leak-stack-memory-to-the-remote.patch using patch: patching file libvncserver/rfbserver.c Hunk #1 succeeded at 3527 (offset -197 lines). >>> libvncserver 0.9.12 Configuring (mkdir -p /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/ && cd /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/ && rm -f CMakeCache.txt && PATH="/nvmedata/autobuild/instance-3/output-1/host/bin:/nvmedata/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/cmake /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/ -DCMAKE_TOOLCHAIN_FILE="/nvmedata/autobuild/instance-3/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DWITH_LZO=ON -DWITH_FFMPEG=OFF -DWITH_SDL=OFF -DWITH_THREADS=OFF -DWITH_OPENSSL=OFF -DWITH_GCRYPT=OFF -DWITH_GNUTLS=OFF -DWITH_JPEG=ON -DWITH_PNG=OFF -DWITH_SYSTEMD=OFF -DWITH_ZLIB=OFF ) -- The C compiler identification is GNU 8.3.0 -- Check for working C compiler: /nvmedata/autobuild/instance-3/output-1/host/bin/arm-linux-gcc -- Check for working C compiler: /nvmedata/autobuild/instance-3/output-1/host/bin/arm-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found LZO: /nvmedata/autobuild/instance-3/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/liblzo2.so -- Found JPEG: /nvmedata/autobuild/instance-3/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libjpeg.so (found version "90") -- Performing Test FOUND_LIBJPEG_TURBO -- Performing Test FOUND_LIBJPEG_TURBO - Failed CMake Warning at CMakeLists.txt:98 (message): *** The libjpeg library you are building against is not libjpeg-turbo. Performance will be reduced. You can obtain libjpeg-turbo from: https://sourceforge.net/projects/libjpeg-turbo/files/ *** -- Looking for endian.h -- Looking for endian.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for sys/endian.h -- Looking for sys/endian.h - not found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/wait.h -- Looking for sys/wait.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/uio.h -- Looking for sys/uio.h - found -- Looking for vfork.h -- Looking for vfork.h - not found -- Looking for ws2tcpip.h -- Looking for ws2tcpip.h - not found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for vfork -- Looking for vfork - found -- Looking for vprintf -- Looking for vprintf - found -- Looking for mmap -- Looking for mmap - found -- Looking for fork -- Looking for fork - found -- Looking for ftime -- Looking for ftime - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for gethostname -- Looking for gethostname - found -- Looking for inet_ntoa -- Looking for inet_ntoa - found -- Looking for memmove -- Looking for memmove - found -- Looking for memset -- Looking for memset - found -- Looking for mkfifo -- Looking for mkfifo - found -- Looking for select -- Looking for select - found -- Looking for socket -- Looking for socket - found -- Looking for strchr -- Looking for strchr - found -- Looking for strcspn -- Looking for strcspn - found -- Looking for strdup -- Looking for strdup - found -- Looking for strerror -- Looking for strerror - found -- Looking for strstr -- Looking for strstr - found -- Looking for htobe64 -- Looking for htobe64 - found -- Looking for OSSwapHostToBigInt64 -- Looking for OSSwapHostToBigInt64 - not found -- Building crypto with builtin functions -- Check size of pid_t -- Check size of pid_t - done -- Check size of size_t -- Check size of size_t - done -- Check size of socklen_t -- Check size of socklen_t - done -- Check size of in_addr_t -- Check size of in_addr_t - done -- Check if the system is big endian -- Searching 16 bit integer -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12 >>> libvncserver 0.9.12 Building PATH="/nvmedata/autobuild/instance-3/output-1/host/bin:/nvmedata/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j8 -C /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/ make[1]: Entering directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' make[2]: Entering directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' make[3]: Entering directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' make[3]: Entering directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' Scanning dependencies of target vncclient make[3]: Leaving directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' make[3]: Entering directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' Scanning dependencies of target vncserver make[3]: Leaving directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' make[3]: Entering directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' [ 2%] Building C object CMakeFiles/vncclient.dir/common/turbojpeg.c.o [ 2%] Building C object CMakeFiles/vncclient.dir/libvncclient/vncviewer.c.o [ 5%] Building C object CMakeFiles/vncclient.dir/libvncclient/cursor.c.o [ 5%] Building C object CMakeFiles/vncclient.dir/libvncclient/listen.c.o [ 7%] Building C object CMakeFiles/vncclient.dir/libvncclient/rfbproto.c.o [ 7%] Building C object CMakeFiles/vncclient.dir/libvncclient/tls_none.c.o [ 9%] Building C object CMakeFiles/vncclient.dir/libvncclient/sockets.c.o [ 10%] Building C object CMakeFiles/vncserver.dir/libvncserver/main.c.o /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/listen.c: In function 'listenForIncomingConnections': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/listen.c:118:15: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch (fork()) { ^~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/listen.c:126:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(listenSocket); ^~~~~ pclose /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/vncviewer.c: In function 'rfbClientCleanup': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/vncviewer.c:537:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(client->sock); ^~~~~ pclose /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/sockets.c: In function 'ReadFromRFBServer': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/sockets.c:126:9: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep (diff.tv_sec); ^~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/sockets.c:127:9: warning: implicit declaration of function 'usleep'; did you mean 'fseek'? [-Wimplicit-function-declaration] usleep (diff.tv_usec); ^~~~~~ fseek /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/sockets.c:169:13: warning: implicit declaration of function 'read'; did you mean 'readv'? [-Wimplicit-function-declaration] i = read(client->sock, client->buf + client->buffered, RFB_BUF_SIZE - client->buffered); ^~~~ readv /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/sockets.c: In function 'WriteToRFBServer': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/sockets.c:300:9: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] j = write(client->sock, obuf + i, (n - i)); ^~~~~ writev /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/sockets.c: In function 'ConnectClientToTcpAddr': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncclient/sockets.c:378:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(sock); ^~~~~ pclose [ 11%] Building C object CMakeFiles/vncserver.dir/libvncserver/rfbserver.c.o [ 12%] Building C object CMakeFiles/vncserver.dir/libvncserver/rfbregion.c.o [ 14%] Building C object CMakeFiles/vncserver.dir/libvncserver/auth.c.o [ 15%] Building C object CMakeFiles/vncserver.dir/libvncserver/sockets.c.o [ 16%] Building C object CMakeFiles/vncserver.dir/libvncserver/stats.c.o [ 18%] Building C object CMakeFiles/vncserver.dir/libvncserver/corre.c.o [ 19%] Building C object CMakeFiles/vncserver.dir/libvncserver/hextile.c.o [ 20%] Building C object CMakeFiles/vncserver.dir/libvncserver/rre.c.o [ 22%] Building C object CMakeFiles/vncserver.dir/libvncserver/translate.c.o [ 23%] Building C object CMakeFiles/vncserver.dir/libvncserver/cutpaste.c.o [ 24%] Building C object CMakeFiles/vncserver.dir/libvncserver/httpd.c.o [ 25%] Building C object CMakeFiles/vncserver.dir/libvncserver/cursor.c.o [ 27%] Building C object CMakeFiles/vncserver.dir/libvncserver/font.c.o [ 28%] Building C object CMakeFiles/vncserver.dir/libvncserver/draw.c.o [ 29%] Building C object CMakeFiles/vncserver.dir/libvncserver/selbox.c.o [ 31%] Building C object CMakeFiles/vncserver.dir/common/d3des.c.o [ 32%] Building C object CMakeFiles/vncserver.dir/common/vncauth.c.o /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/common/vncauth.c: In function 'rfbRandomBytes': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/common/vncauth.c:164:51: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] srandom((unsigned int)time(NULL) ^ (unsigned int)getpid()); ^~~~~~ getenv [ 33%] Building C object CMakeFiles/vncserver.dir/libvncserver/cargs.c.o [ 35%] Building C object CMakeFiles/vncserver.dir/libvncserver/ultra.c.o [ 36%] Building C object CMakeFiles/vncserver.dir/libvncserver/scale.c.o [ 37%] Building C object CMakeFiles/vncserver.dir/libvncserver/rfbssl_none.c.o [ 38%] Building C object CMakeFiles/vncserver.dir/libvncserver/tight.c.o [ 40%] Building C object CMakeFiles/vncserver.dir/common/turbojpeg.c.o [ 41%] Building C object CMakeFiles/vncserver.dir/libvncserver/websockets.c.o [ 42%] Building C object CMakeFiles/vncserver.dir/libvncserver/ws_decode.c.o /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'rfbSendRectEncodingTight': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:276:7: error: 'struct _rfbClientRec' has no member named 'tightEncoding' cl->tightEncoding = rfbEncodingTight; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'rfbSendRectEncodingTightPng': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:287:7: error: 'struct _rfbClientRec' has no member named 'tightEncoding' cl->tightEncoding = rfbEncodingTightPng; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'SendRectEncodingTight': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:307:23: error: 'struct _rfbClientRec' has no member named 'tightCompressLevel' compressLevel = cl->tightCompressLevel; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:308:22: error: 'struct _rfbClientRec' has no member named 'turboQualityLevel' qualityLevel = cl->turboQualityLevel; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:309:22: error: 'struct _rfbClientRec' has no member named 'turboSubsampLevel' subsampLevel = cl->turboSubsampLevel; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:335:11: error: 'struct _rfbClientRec' has no member named 'tightCompressLevel' if (cl->tightCompressLevel == 9) compressLevel = 3; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:431:22: warning: implicit declaration of function 'rfbSendTightHeader'; did you mean 'rfbFileHeader'? [-Wimplicit-function-declaration] if (!rfbSendTightHeader(cl, x_best, y_best, w_best, h_best)) ^~~~~~~~~~~~~~~~~~ rfbFileHeader /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: At top level: /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:769:1: error: conflicting types for 'rfbSendTightHeader' rfbSendTightHeader(rfbClientPtr cl, ^~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:431:22: note: previous implicit declaration of 'rfbSendTightHeader' was here if (!rfbSendTightHeader(cl, x_best, y_best, w_best, h_best)) ^~~~~~~~~~~~~~~~~~ In file included from /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:38: /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'rfbSendTightHeader': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:786:34: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rect.encoding = Swap32IfLE(cl->tightEncoding); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/rfb/rfb.h:722:23: note: in definition of macro 'Swap32' #define Swap32(l) ((((l) >> 24) & 0x000000ff)| \ ^ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:786:21: note: in expansion of macro 'Swap32IfLE' rect.encoding = Swap32IfLE(cl->tightEncoding); ^~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:786:34: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rect.encoding = Swap32IfLE(cl->tightEncoding); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/rfb/rfb.h:723:23: note: in definition of macro 'Swap32' (((l) & 0x00ff0000) >> 8) | \ ^ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:786:21: note: in expansion of macro 'Swap32IfLE' rect.encoding = Swap32IfLE(cl->tightEncoding); ^~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:786:34: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rect.encoding = Swap32IfLE(cl->tightEncoding); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/rfb/rfb.h:724:23: note: in definition of macro 'Swap32' (((l) & 0x0000ff00) << 8) | \ ^ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:786:21: note: in expansion of macro 'Swap32IfLE' rect.encoding = Swap32IfLE(cl->tightEncoding); ^~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:786:34: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rect.encoding = Swap32IfLE(cl->tightEncoding); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/rfb/rfb.h:725:23: note: in definition of macro 'Swap32' (((l) & 0x000000ff) << 24)) ^ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:786:21: note: in expansion of macro 'Swap32IfLE' rect.encoding = Swap32IfLE(cl->tightEncoding); ^~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:786:34: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rect.encoding = Swap32IfLE(cl->tightEncoding); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/rfb/rfb.h:732:53: note: in definition of macro 'Swap32IfLE' #define Swap32IfLE(l) (rfbEndianTest ? Swap32(l) : (l)) ^ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:792:37: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSent(cl, cl->tightEncoding, ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'SendSolidRect': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:820:41: error: 'rfbTightFill' undeclared (first use in this function); did you mean 'rfbTight'? cl->updateBuf[cl->ublen++] = (char)(rfbTightFill << 4); ^~~~~~~~~~~~ rfbTight /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:820:41: note: each undeclared identifier is reported only once for each function it appears in /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:824:40: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, len + 1); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'SendMonoRect': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:858:11: error: 'struct _rfbClientRec' has no member named 'tightEncoding' cl->tightEncoding != rfbEncodingTightPng) ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:860:21: error: 'rfbTightNoZlib' undeclared (first use in this function); did you mean 'rfbTight'? (char)((rfbTightNoZlib | rfbTightExplicitFilter) << 4); ^~~~~~~~~~~~~~ rfbTight /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:860:38: error: 'rfbTightExplicitFilter' undeclared (first use in this function) (char)((rfbTightNoZlib | rfbTightExplicitFilter) << 4); ^~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:863:34: error: 'rfbTightFilterPalette' undeclared (first use in this function); did you mean 'rfbTightCleanup'? cl->updateBuf[cl->ublen++] = rfbTightFilterPalette; ^~~~~~~~~~~~~~~~~~~~~ rfbTightCleanup /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:882:44: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, 3 + paletteLen); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:893:44: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, 7); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:901:44: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, 5); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:906:25: error: 'Z_DEFAULT_STRATEGY' undeclared (first use in this function); did you mean 'IP_DEFAULT_MULTICAST_TTL'? Z_DEFAULT_STRATEGY); ^~~~~~~~~~~~~~~~~~ IP_DEFAULT_MULTICAST_TTL /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'SendIndexedRect': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:934:11: error: 'struct _rfbClientRec' has no member named 'tightEncoding' cl->tightEncoding != rfbEncodingTightPng) ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:936:21: error: 'rfbTightNoZlib' undeclared (first use in this function); did you mean 'rfbTight'? (char)((rfbTightNoZlib | rfbTightExplicitFilter) << 4); ^~~~~~~~~~~~~~ rfbTight /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:936:38: error: 'rfbTightExplicitFilter' undeclared (first use in this function) (char)((rfbTightNoZlib | rfbTightExplicitFilter) << 4); ^~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:939:34: error: 'rfbTightFilterPalette' undeclared (first use in this function); did you mean 'rfbTightCleanup'? cl->updateBuf[cl->ublen++] = rfbTightFilterPalette; ^~~~~~~~~~~~~~~~~~~~~ rfbTightCleanup /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:961:44: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:975:44: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:985:25: error: 'Z_DEFAULT_STRATEGY' undeclared (first use in this function); did you mean 'IP_DEFAULT_MULTICAST_TTL'? Z_DEFAULT_STRATEGY); ^~~~~~~~~~~~~~~~~~ IP_DEFAULT_MULTICAST_TTL /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'SendFullColorRect': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1010:11: error: 'struct _rfbClientRec' has no member named 'tightEncoding' cl->tightEncoding != rfbEncodingTightPng) ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1011:45: error: 'rfbTightNoZlib' undeclared (first use in this function); did you mean 'rfbTight'? cl->updateBuf[cl->ublen++] = (char)(rfbTightNoZlib << 4); ^~~~~~~~~~~~~~ rfbTight /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1014:40: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, 1); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/websockets.c: In function 'ws_read': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/websockets.c:355:13: warning: implicit declaration of function 'read'; did you mean 'readv'? [-Wimplicit-function-declaration] n = read(cl->sock, buf, len); ^~~~ readv /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1024:25: error: 'Z_DEFAULT_STRATEGY' undeclared (first use in this function); did you mean 'IP_DEFAULT_MULTICAST_TTL'? Z_DEFAULT_STRATEGY); ^~~~~~~~~~~~~~~~~~ IP_DEFAULT_MULTICAST_TTL /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'CompressData': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1034:5: error: unknown type name 'z_streamp'; did you mean 'w_coredump'? z_streamp pz; ^~~~~~~~~ w_coredump /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1040:44: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, dataLen); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1045:16: warning: implicit declaration of function 'rfbSendCompressedDataTight'; did you mean 'rfbSendRectEncodingTight'? [-Wimplicit-function-declaration] return rfbSendCompressedDataTight(cl, tightBeforeBuf, dataLen); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rfbSendRectEncodingTight /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1047:13: error: 'struct _rfbClientRec' has no member named 'zsStruct' pz = &cl->zsStruct[streamId]; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1050:12: error: 'struct _rfbClientRec' has no member named 'zsActive' if (!cl->zsActive[streamId]) { ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1051:11: error: invalid type argument of '->' (have 'int') pz->zalloc = Z_NULL; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1051:22: error: 'Z_NULL' undeclared (first use in this function); did you mean 'NULL'? pz->zalloc = Z_NULL; ^~~~~~ NULL /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1052:11: error: invalid type argument of '->' (have 'int') pz->zfree = Z_NULL; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1053:11: error: invalid type argument of '->' (have 'int') pz->opaque = Z_NULL; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1055:15: warning: implicit declaration of function 'deflateInit2' [-Wimplicit-function-declaration] err = deflateInit2 (pz, zlibLevel, Z_DEFLATED, MAX_WBITS, ^~~~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1055:44: error: 'Z_DEFLATED' undeclared (first use in this function) err = deflateInit2 (pz, zlibLevel, Z_DEFLATED, MAX_WBITS, ^~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1055:56: error: 'MAX_WBITS' undeclared (first use in this function) err = deflateInit2 (pz, zlibLevel, Z_DEFLATED, MAX_WBITS, ^~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1056:29: error: 'MAX_MEM_LEVEL' undeclared (first use in this function) MAX_MEM_LEVEL, zlibStrategy); ^~~~~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1057:20: error: 'Z_OK' undeclared (first use in this function) if (err != Z_OK) ^~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1060:11: error: 'struct _rfbClientRec' has no member named 'zsActive' cl->zsActive[streamId] = TRUE; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1061:11: error: 'struct _rfbClientRec' has no member named 'zsLevel' cl->zsLevel[streamId] = zlibLevel; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1065:7: error: invalid type argument of '->' (have 'int') pz->next_in = (Bytef *)tightBeforeBuf; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1065:20: error: 'Bytef' undeclared (first use in this function); did you mean 'system'? pz->next_in = (Bytef *)tightBeforeBuf; ^~~~~ system /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1065:27: error: expected expression before ')' token pz->next_in = (Bytef *)tightBeforeBuf; ^ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1066:7: error: invalid type argument of '->' (have 'int') pz->avail_in = dataLen; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1067:7: error: invalid type argument of '->' (have 'int') pz->next_out = (Bytef *)tightAfterBuf; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1067:28: error: expected expression before ')' token pz->next_out = (Bytef *)tightAfterBuf; ^ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1068:7: error: invalid type argument of '->' (have 'int') pz->avail_out = tightAfterBufSize; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1071:24: error: 'struct _rfbClientRec' has no member named 'zsLevel' if (zlibLevel != cl->zsLevel[streamId]) { ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1072:13: warning: implicit declaration of function 'deflateParams' [-Wimplicit-function-declaration] if (deflateParams (pz, zlibLevel, zlibStrategy) != Z_OK) { ^~~~~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1075:11: error: 'struct _rfbClientRec' has no member named 'zsLevel' cl->zsLevel[streamId] = zlibLevel; ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1079:9: warning: implicit declaration of function 'deflate'; did you mean 'realpath'? [-Wimplicit-function-declaration] if (deflate(pz, Z_SYNC_FLUSH) != Z_OK || ^~~~~~~ realpath /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1079:21: error: 'Z_SYNC_FLUSH' undeclared (first use in this function) if (deflate(pz, Z_SYNC_FLUSH) != Z_OK || ^~~~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1080:11: error: invalid type argument of '->' (have 'int') pz->avail_in != 0 || pz->avail_out == 0) { ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1080:32: error: invalid type argument of '->' (have 'int') pz->avail_in != 0 || pz->avail_out == 0) { ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1085:61: error: invalid type argument of '->' (have 'int') tightAfterBufSize - pz->avail_out); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: At top level: /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1088:9: error: conflicting types for 'rfbSendCompressedDataTight' rfbBool rfbSendCompressedDataTight(rfbClientPtr cl, char *buf, ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1045:16: note: previous implicit declaration of 'rfbSendCompressedDataTight' was here return rfbSendCompressedDataTight(cl, tightBeforeBuf, dataLen); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'rfbSendCompressedDataTight': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1094:40: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, 1); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1098:44: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, 1); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1102:48: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, 1); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1118:40: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, compressedLen); ^~ /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c: In function 'SendJpegRect': /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1663:41: error: 'rfbTightJpeg' undeclared (first use in this function); did you mean 'rfbTight'? cl->updateBuf[cl->ublen++] = (char)(rfbTightJpeg << 4); ^~~~~~~~~~~~ rfbTight /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/libvncserver/tight.c:1664:40: error: 'struct _rfbClientRec' has no member named 'tightEncoding' rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, 1); ^~ [ 44%] Building C object CMakeFiles/vncserver.dir/common/base64.c.o make[3]: *** [CMakeFiles/vncserver.dir/build.make:349: CMakeFiles/vncserver.dir/libvncserver/tight.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' make[2]: *** [CMakeFiles/Makefile2:221: CMakeFiles/vncserver.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 45%] Linking C shared library libvncclient.so make[3]: Leaving directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' [ 45%] Built target vncclient make[2]: Leaving directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' make[1]: *** [Makefile:141: all] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12' make: *** [package/pkg-generic.mk:269: /nvmedata/autobuild/instance-3/output-1/build/libvncserver-0.9.12/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-3/buildroot'