checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-w64-mingw32-gcc accepts -g... yes checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... /usr/bin/x86_64-w64-mingw32-cpp checking whether we are using the GNU C++ compiler... yes checking whether x86_64-w64-mingw32-g++ accepts -g... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for a sed that does not truncate output... /usr/bin/sed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-w64-mingw32 checking for x86_64-w64-mingw32-ranlib... /usr/bin/x86_64-w64-mingw32-ranlib checking for x86_64-w64-mingw32-ar... /usr/bin/x86_64-w64-mingw32-ar checking for x86_64-w64-mingw32-nm... /usr/bin/x86_64-w64-mingw32-nm CC = x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc CXX = x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++ Building on: x86_64-redhat-linux-gnu Building for: x86_64-w64-mingw32 checking GNU make... yes checking make... yes checking wxconfig... /usr/x86_64-w64-mingw32/sys-root/mingw/bin/wx-config-3.0 checking for wget... wget checking for curl... curl checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking complex.h usability... yes checking complex.h presence... yes checking for complex.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for inttypes.h... (cached) yes checking iso646.h usability... yes checking iso646.h presence... yes checking for iso646.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdalign.h usability... yes checking stdalign.h presence... yes checking for stdalign.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdatomic.h usability... yes checking stdatomic.h presence... yes checking for stdatomic.h... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking stdnoreturn.h usability... yes checking stdnoreturn.h presence... yes checking for stdnoreturn.h... yes checking for string.h... (cached) yes checking tgmath.h usability... yes checking tgmath.h presence... yes checking for tgmath.h... yes checking threads.h usability... no checking threads.h presence... no checking for threads.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking uchar.h usability... yes checking uchar.h presence... yes checking for uchar.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for sys/types.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... no checking sys/socket.h presence... no checking for sys/socket.h... no checking sys/select.h usability... no checking sys/select.h presence... no checking for sys/select.h... no checking sys/un.h usability... no checking sys/un.h presence... no checking for sys/un.h... no checking netinet/in.h usability... no checking netinet/in.h presence... no checking for netinet/in.h... no checking netinet/in6.h usability... no checking netinet/in6.h presence... no checking for netinet/in6.h... no checking netdb.h usability... no checking netdb.h presence... no checking for netdb.h... no checking arpa/inet.h usability... no checking arpa/inet.h presence... no checking for arpa/inet.h... no checking winsock2.h usability... yes checking winsock2.h presence... yes checking for winsock2.h... yes checking ws2tcpip.h usability... yes checking ws2tcpip.h presence... yes checking for ws2tcpip.h... yes checking windows.h usability... yes checking windows.h presence... yes checking for windows.h... yes checking for unistd.h... (cached) yes checking process.h usability... yes checking process.h presence... yes checking for process.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking share.h usability... yes checking share.h presence... yes checking for share.h... yes checking pwd.h usability... no checking pwd.h presence... no checking for pwd.h... no checking for strings.h... (cached) yes checking io.h usability... yes checking io.h presence... yes checking for io.h... yes checking bios.h usability... no checking bios.h presence... no checking for bios.h... no checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking dos.h usability... yes checking dos.h presence... yes checking for dos.h... yes checking alloc.h usability... no checking alloc.h presence... no checking for alloc.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking direct.h usability... yes checking direct.h presence... yes checking for direct.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking openssl/rand.h usability... yes checking openssl/rand.h presence... yes checking for openssl/rand.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking openssl/ripemd.h usability... yes checking openssl/ripemd.h presence... yes checking for openssl/ripemd.h... yes checking whether time.h and sys/time.h may both be included... yes checking longlong... yes checking longdouble... yes checking intmax_t... yes checking volatile... yes checking sig_atomic_t... yes checking size of short... 2 checking size of int... 4 checking size of size_t... 8 checking size of long... 4 checking size of long long... 8 checking size of intmax_t... 8 checking size of int32_t... 4 checking size of double... 8 checking size of long double... 16 checking size of wchar_t... 2 checking _LARGEFILE64_SOURCE... yes checking for memset... yes checking for bzero... no checking for memcpy... yes checking for bcopy... no checking for memcmp... yes checking for bcmp... no checking for malloc... yes checking for calloc... yes checking for free... yes checking for strcpy_s... yes checking for strcat_s... yes checking for strcasecmp... yes checking for stricmp... yes checking for _stricmp... yes checking for wcslen... yes checking for wcscpy_s... yes checking for wcscpy... yes checking for wcscat_s... yes checking for wcscat... yes checking for wcschr... yes checking for wcsrchr... yes checking for wcscmp... yes checking for _wcscmp... no checking for wcscasecmp... no checking for _wcscasecmp... no checking for wcsicmp... yes checking for _wcsicmp... yes checking for getpid... yes checking for readlink... no checking for getexecname... no checking for lstat... no checking for stat64... no checking for lstat64... no checking for localtime_r... no checking for geteuid... no checking for fopen64... yes checking for fopen_s... yes checking for _wfopen... yes checking for _wfopen64... no checking for _wfopen_s... yes checking for fputws... yes checking for fputwc... yes checking for setbuffer... no checking for setbuf... yes checking for setvbuf... yes checking for fileno... yes checking for _fileno... yes checking for setmode... yes checking for _setmode... yes checking for isatty... yes checking for _isatty... yes checking for strtod... yes checking for _strtod... no checking for wcstod... yes checking for _wcstod... no checking for _snprintf_s... yes checking for _snprintf... yes checking for snprintf... yes checking for _snwprintf_s... yes checking for _snwprintf... yes checking for snwprintf... yes checking for swprintf... yes checking for unlink... yes checking for _unlink... yes checking for wunlink... no checking for _wunlink... yes checking for rmdir... yes checking for _rmdir... yes checking for wrmdir... no checking for _wrmdir... yes checking for mkdir... yes checking for _mkdir... yes checking for wmkdir... no checking for _wmkdir... yes checking for strerror... yes checking for strerror_r... no checking for sigaction... no checking for sigset... no checking for signal... yes checking for sigprocmask... no checking for sigemptyset... no checking for setpwent... no checking for getpwent... no checking for endpwent... no checking for getenv... yes checking for getenv_s... yes checking for setlocale... yes checking for getcwd... yes checking for _getcwd... yes checking for _wgetcwd... yes checking for SHA224_Init in -lcrypto... yes checking for SHA256_Init in -lcrypto... yes checking for SHA384_Init in -lcrypto... yes checking for SHA512_Init in -lcrypto... yes checking RAND_egd... checking for RAND_egd in -lcrypto... no no checking for clock_gettime in -lrt... no checking for socket... no checking for socket in -lxnet... no checking for socket in -lsocket... no checking for socket in -lws2_32... yes checking for setsockopt... no checking for setsockopt in -lxnet... no checking for setsockopt in -lsocket... no checking for setsockopt in -lws2_32... yes checking for getaddrinfo... no checking for getaddrinfo in -lxnet... no checking for getaddrinfo in -lnsl... no checking for getaddrinfo in -lsocket... no checking for getaddrinfo in -lws2_32... yes checking for getnameinfo... no checking for getnameinfo in -lxnet... no checking for getnameinfo in -lnsl... no checking for getnameinfo in -lsocket... no checking for getnameinfo in -lws2_32... yes checking for gethostbyname... no checking for gethostbyname in -lxnet... no checking for gethostbyname in -lnsl... no checking for gethostbyname in -lsocket... no checking for gethostbyname in -lws3_32... no checking htons... yes checking ntohs... yes checking htonl... yes checking ntohl... yes checking for inet_addr... no checking for inet_addr in -lxnet... no checking for inet_addr in -lnsl... no checking for inet_addr in -lsocket... no checking for inet_addr in -lws2_32... yes checking for inet_aton... no checking for inet_aton in -lxnet... no checking for inet_aton in -lnsl... no checking for inet_aton in -lsocket... no checking for inet_aton in -lws2_32... no checking for inet_pton... no checking for inet_pton in -lxnet... no checking for inet_pton in -lnsl... no checking for inet_pton in -lsocket... no checking for inet_pton in -lws2_32... yes checking for inet_ntop... no checking for inet_ntop in -lxnet... no checking for inet_ntop in -lnsl... no checking for inet_ntop in -lsocket... no checking for inet_ntop in -lws2_32... yes checking /proc/.../exe symbolic link... no - test not possible checking ssize_t... yes checking int8_t... yes checking int16_t... yes checking int32_t... yes checking uint8_t... yes checking uint16_t... yes checking uint32_t... yes checking dev_t... yes checking _dev_t... yes checking ino_t... yes checking _ino_t... yes checking ino64_t... no checking mode_t... yes checking nlink_t... no checking uid_t... no checking gid_t... no checking off_t... yes checking off64_t... yes checking blksize_t... no checking blkcnt_t... no checking fpos_t... yes checking blocksize and blockcount in stat output... no checking _fpos_t... no checking socklen_t... yes checking struct sockaddr_in... yes checking struct sockaddr_in6... yes checking struct sockaddr_un... no checking struct addrinfo... yes checking struct sockaddr_storage... yes checking IN_ADDR... yes checking IN6_ADDR... yes checking rand srand... yes checking initstate setstate random... yes checking lrand48 nrand48 seed48... yes checking size of off_t... 4 checking size of ino_t... 2 checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking conio.h usability... yes checking conio.h presence... yes checking for conio.h... yes checking grp.h usability... no checking grp.h presence... no checking for grp.h... no checking gdbm.h usability... no checking gdbm.h presence... no checking for gdbm.h... no checking ndbm.h usability... no checking ndbm.h presence... no checking for ndbm.h... no checking db.h usability... no checking db.h presence... no checking for db.h... no checking dir.h usability... yes checking dir.h presence... yes checking for dir.h... yes checking err.h usability... no checking err.h presence... no checking for err.h... no checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking syslog.h usability... no checking syslog.h presence... no checking for syslog.h... no checking sysres.h usability... no checking sysres.h presence... no checking for sysres.h... no checking termios.h usability... no checking termios.h presence... no checking for termios.h... no checking vararg.h usability... no checking vararg.h presence... no checking for vararg.h... no checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking ntifs.h usability... no checking ntifs.h presence... no checking for ntifs.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/resource.h usability... no checking sys/resource.h presence... no checking for sys/resource.h... no checking sys/statvfs.h usability... no checking sys/statvfs.h presence... no checking for sys/statvfs.h... no checking sys/stropts.h usability... no checking sys/stropts.h presence... no checking for sys/stropts.h... no checking sys/sunddi.h usability... no checking sys/sunddi.h presence... no checking for sys/sunddi.h... no checking sys/sysctl.h usability... no checking sys/sysctl.h presence... no checking for sys/sysctl.h... no checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking sys/termios.h usability... no checking sys/termios.h presence... no checking for sys/termios.h... no checking sys/ttold.h usability... no checking sys/ttold.h presence... no checking for sys/ttold.h... no checking sys/uio.h usability... no checking sys/uio.h presence... no checking for sys/uio.h... no checking sys/wait.h usability... no checking sys/wait.h presence... no checking for sys/wait.h... no checking for winbase.h... yes checking for winreg.h... yes checking for wincon.h... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking tiff.h usability... yes checking tiff.h presence... yes checking for tiff.h... yes checking mariadb/mysql.h usability... no checking mariadb/mysql.h presence... no checking for mariadb/mysql.h... no checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no checking mysql.h usability... no checking mysql.h presence... no checking for mysql.h... no checking lprng.h usability... no checking lprng.h presence... no checking for lprng.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for acosh in -lm... yes checking for acoshl in -lm... yes checking for acosl in -lm... yes checking for asinh in -lm... yes checking for asinhl in -lm... yes checking for asinl in -lm... yes checking for atan2 in -lm... yes checking for atan2l in -lm... yes checking for atanh in -lm... yes checking for atanhl in -lm... yes checking for atanl in -lm... yes checking for ceil in -lm... yes checking for ceill in -lm... yes checking for coshl in -lm... yes checking for cosl in -lm... yes checking for expl in -lm... yes checking for fabs in -lm... yes checking for fabsl in -lm... yes checking for floor in -lm... yes checking for floorl in -lm... yes checking for labs in -lm... yes checking for logl in -lm... yes checking for rint in -lm... yes checking for rintl in -lm... yes checking for sinhl in -lm... yes checking for sqrt in -lm... yes checking for sqrtl in -lm... yes checking for sinl in -lm... yes checking for tanhl in -lm... yes checking for tanl in -lm... yes checking for png_get_pixels_per_inch in -lpng... yes checking for getuid... no checking for setuid... no checking for setgid... no checking for chdir... yes checking for chmod... yes checking for chown... no checking for opendir... yes checking for readdir... yes checking for closedir... yes checking for getgrent... no checking for getgrgid... no checking for getgrnam... no checking for endgrent... no checking for setgrent... no checking for getpwuid... no checking for getpwnam... no checking for fopen... yes checking for fclose... yes checking for feof... yes checking for ferror... yes checking for fflush... yes checking for fread... yes checking for fwrite... yes checking for _fclose... no checking for _feof... no checking for _ferror... no checking for _fflush... no checking for _fopen... no checking for _fread... no checking for _fwrite... no checking for _getenv_s... no checking for _wgetenv... yes checking for _getpid... yes checking for fetestexcept... yes checking for _clearfp... yes checking for fork... no checking for getrlimit... no checking for setpgrp... no checking for setsid... no checking for syslog... no checking for gethostname... no checking for time... yes checking for localtime... yes checking for localtime_s... no checking for stat... yes checking for stat32... no checking for lstat32... no checking for _stat... yes checking for _stat32... no checking for _stat64... yes checking for _lstat... no checking for _lstat32... no checking for _lstat64... no checking for mpctl... no checking for sysconf... no checking for sysctl... no checking for popen... yes checking for _popen... yes checking for read... yes checking for write... yes checking for _read... yes checking for _write... yes checking for seed48... no checking for sprintf_s... yes checking for sscanf_s... yes checking for swscanf_s... yes checking for strcat... yes checking for strchr... yes checking for strcmp... yes checking for strcpy... yes checking for strdup... yes checking for strlen... yes checking for strncmp... yes checking for strncpy... yes checking for _strdup... yes checking for strncpy_s... yes checking for strrchr... yes checking for strtoimax... yes checking for strtol... yes checking for strtoll... yes checking for strtoul... yes checking for strtoull... yes checking for strtoumax... yes checking for wcsdup... yes checking for wcsncmp... yes checking for wcsncpy... yes checking for wcsncpy_s... yes checking for wcstoimax... yes checking for wcstol... yes checking for wcstoll... yes checking for wcstoul... yes checking for wcstoull... yes checking for wcstoumax... yes checking for _wcscat... no checking for _wcschr... no checking for _wcscpy... no checking for _wcsdup... yes checking for _wcslen... no checking for _wcsncmp... no checking for _wcsncpy... no checking for _wcsrchr... no checking for tcflush... no checking for tcgetattr... no checking for umask... yes checking for GetFinalPathNameByHandle... no checking wchar_t... yes checking mkdir path mode... no checking const... yes checking inline... yes checking __attribute__((unused))... yes checking fpclassify... yes checking for getpeername... no checking for getpeername in -lxnet... no checking for getpeername in -lnsl... no checking for getpeername in -lsocket... no checking for getpeername in -lws2_32... yes checking for getsockname... no checking for getsockname in -lxnet... no checking for getsockname in -lnsl... no checking for getsockname in -lsocket... no checking for getsockname in -lws2_32... yes checking for select... no checking for select in -lxnet... no checking for select in -lnsl... no checking for select in -lsocket... no checking for select in -lws2_32... yes checking for snmp_enable_filelog in -lnetsnmp... no checking for snmp_disable_syslog in -lnetsnmp... no checking for snmp_disable_stderrlog in -lnetsnmp... no checking for snmp_disable_filelog in -lnetsnmp... no checking IEEE 754 double... yes - test not possible checking qsort... yes checking bsearch... yes checking isgreater... yes checking isgreaterequal... yes checking isless... yes checking islessequal... yes checking isfinite... yes checking isnormal... yes checking _finite... yes checking setgroups... no checking initgroups... no checking assert... yes checking use of twos complement for negative integers... yes - test not possible checking manpage installation... yes configure: creating ./config.status config.status: creating Makefile config.status: creating scripts/wr-dk3inst.sh config.status: creating scripts/wr-dk4inst.sh config.status: creating scripts/create-desktop-files.sh config.status: creating scripts/build-help.sh config.status: creating initd-printqd config.status: creating initd-rshdown config.status: creating dktools.pc config.status: creating pkginfo config.status: creating debian/control config.status: creating debian/control9 config.status: creating debian/control8 config.status: creating config.h config.status: config.h is unchanged ERROR: Cross-compiling not supported! ./scripts/wr-dk4inst.sh > dk4inst.c 2019-10-15 13:53:05 Start scripts/create-desktop-files.sh 2019-10-15 13:53:05 Finished scripts/create-desktop-files.sh Configuration summary ===================== zlib: found. libbz2: found. libpng: found. libjpeg: found. libtiff: found. database: NOT found! Recommended. Skipping printqd build! SL 6.x package name: db4-devel Debian package name: libdb-dev URL: http://www.oracle.com/database/berkeley-db/ MySQL: NOT found! Recommended. Skipping itadmin build. SL 6.x package name: mysql-devel Debian package name: libmysqlclient-dev URL: http://www.mysql.com/ OpenSSL: found. wxWidgets: found. Install static libraries: yes Install shared libraries: no Nested shared library linking: no Binaries use shared libraries: no Build type: RELEASE The INSTALL files describes how to install via *.rpm or .deb package. CROSS-COMPILING Looks like you are preparing a cross-compliation. Some tests in this script are not suitable for cross-compiling as they require to run programs or scripts on the target system. You should check and probably correct - HAVE_TWOS_COMPLEMENT in config.h - HAVE_IEEE_754_DOUBLE in config.h - wxWidgets related items in config.h and Makefile On the build host run: make dk3config dk4config When building for Windows, make the dk3config.exe and dk4config.exe files. Transfer the dk3config and dk4config programs (dk3config.exe and dk4config.exe for Windows) to the target system. On the target system run dk3config > dk3conf.h dk4config > dk4conf.h Transfer the dk3conf.h and dk4conf.h back to the build host and run make make DESTDIR=... install to build the software and create a package directory.