Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl 7.83.1, build with cmake : undefined reference when libpsl is installed #8865

Closed
vtorri opened this issue May 17, 2022 · 0 comments
Closed
Labels

Comments

@vtorri
Copy link
Contributor

vtorri commented May 17, 2022

Windows 7 64 bits, build with msys2 + mingw-w64

build command:

cmake \
    -DCMAKE_TOOLCHAIN_FILE=../cross_toolchain.txt \
    -DCMAKE_INSTALL_PREFIX=$prefix_unix \
    -DCMAKE_VERBOSE_MAKEFILE:BOOL=$verbcmake \
    -DCMAKE_BUILD_TYPE=Release \
    -DENABLE_MANUAL=OFF \
    -DBUILD_CURL_EXE=OFF \
    -DENABLE_THREADED_RESOLVER=ON \
    -DUSE_NGHTTP2=ON \
    -DUSE_WIN32_IDN=ON \
    -DCURL_BROTLI=ON \
    -DCURL_ZSTD=ON \
    -DCURL_USE_OPENSSL=ON \
    -DBUILD_TESTING=OFF \
    -G "Unix Makefiles"

output:

-- The C compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: E:/Documents/programmes_x64/msys2/mingw64/bin/x86_64-w64-mingw32-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- curl version=[7.83.1]
-- Performing Test OPT_pedantic
-- Performing Test OPT_pedantic - Success
-- Performing Test OPT_Wall
-- Performing Test OPT_Wall - Success
-- Performing Test OPT_W
-- Performing Test OPT_W - Success
-- Performing Test OPT_Wpointer_arith
-- Performing Test OPT_Wpointer_arith - Success
-- Performing Test OPT_Wwrite_strings
-- Performing Test OPT_Wwrite_strings - Success
-- Performing Test OPT_Wunused
-- Performing Test OPT_Wunused - Success
-- Performing Test OPT_Wshadow
-- Performing Test OPT_Wshadow - Success
-- Performing Test OPT_Winline
-- Performing Test OPT_Winline - Success
-- Performing Test OPT_Wnested_externs
-- Performing Test OPT_Wnested_externs - Success
-- Performing Test OPT_Wmissing_declarations
-- Performing Test OPT_Wmissing_declarations - Success
-- Performing Test OPT_Wmissing_prototypes
-- Performing Test OPT_Wmissing_prototypes - Success
-- Performing Test OPT_Wfloat_equal
-- Performing Test OPT_Wfloat_equal - Success
-- Performing Test OPT_Wsign_compare
-- Performing Test OPT_Wsign_compare - Success
-- Performing Test OPT_Wundef
-- Performing Test OPT_Wundef - Success
-- Performing Test OPT_Wendif_labels
-- Performing Test OPT_Wendif_labels - Success
-- Performing Test OPT_Wstrict_prototypes
-- Performing Test OPT_Wstrict_prototypes - Success
-- Performing Test OPT_Wdeclaration_after_statement
-- Performing Test OPT_Wdeclaration_after_statement - Success
-- Performing Test OPT_Wstrict_aliasing_3
-- Performing Test OPT_Wstrict_aliasing_3 - Success
-- Performing Test OPT_Wcast_align
-- Performing Test OPT_Wcast_align - Success
-- Performing Test OPT_Wtype_limits
-- Performing Test OPT_Wtype_limits - Success
-- Performing Test OPT_Wold_style_declaration
-- Performing Test OPT_Wold_style_declaration - Success
-- Performing Test OPT_Wmissing_parameter_type
-- Performing Test OPT_Wmissing_parameter_type - Success
-- Performing Test OPT_Wempty_body
-- Performing Test OPT_Wempty_body - Success
-- Performing Test OPT_Wclobbered
-- Performing Test OPT_Wclobbered - Success
-- Performing Test OPT_Wignored_qualifiers
-- Performing Test OPT_Wignored_qualifiers - Success
-- Performing Test OPT_Wconversion
-- Performing Test OPT_Wconversion - Success
-- Performing Test OPT_Wvla
-- Performing Test OPT_Wvla - Success
-- Performing Test OPT_Wdouble_promotion
-- Performing Test OPT_Wdouble_promotion - Success
-- Performing Test OPT_Wenum_conversion
-- Performing Test OPT_Wenum_conversion - Success
-- Performing Test OPT_Warith_conversion
-- Performing Test OPT_Warith_conversion - Success
-- Performing Test OPTlong_long
-- Performing Test OPTlong_long - Success
-- Performing Test OPTmultichar
-- Performing Test OPTmultichar - Success
-- Performing Test OPTformat_nonliteral
-- Performing Test OPTformat_nonliteral - Success
-- Performing Test OPTsign_conversion
-- Performing Test OPTsign_conversion - Success
-- Performing Test OPTsystem_headers
-- Performing Test OPTsystem_headers - Success
-- Performing Test OPTpedantic_ms_format
-- Performing Test OPTpedantic_ms_format - Success
-- Found Perl: E:/Documents/programmes_x64/msys2/mingw64/bin/perl.exe (found version "5.32.1") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Looking for getch in ws2_32;
-- Looking for getch in ws2_32; - found
-- Looking for getch in winmm;ws2_32
-- Looking for getch in winmm;ws2_32 - found
-- Found OpenSSL: E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/lib/libcrypto.dll.a (found version "2.0.0")  
-- Looking for openssl/crypto.h
-- Looking for openssl/crypto.h - found
-- Looking for openssl/err.h
-- Looking for openssl/err.h - found
-- Looking for openssl/pem.h
-- Looking for openssl/pem.h - found
-- Looking for openssl/rsa.h
-- Looking for openssl/rsa.h - found
-- Looking for openssl/ssl.h
-- Looking for openssl/ssl.h - found
-- Looking for openssl/x509.h
-- Looking for openssl/x509.h - found
-- Looking for openssl/rand.h
-- Looking for openssl/rand.h - found
-- Found NGHTTP2: E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/lib/libnghttp2.dll.a  
-- Looking for cldap_open in wldap32;winmm;ws2_32;OpenSSL::SSL;OpenSSL::Crypto;E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/lib/libnghttp2.dll.a
-- Looking for cldap_open in wldap32;winmm;ws2_32;OpenSSL::SSL;OpenSSL::Crypto;E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/lib/libnghttp2.dll.a - found
-- Looking for include file winldap.h
-- Looking for include file winldap.h - not found
-- Looking for include file winber.h
-- Looking for include file winber.h - not found
-- Looking for include file ldap_ssl.h
-- Looking for include file ldap_ssl.h - not found
-- Looking for include file ldapssl.h
-- Looking for include file ldapssl.h - not found
-- Found ZLIB: E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/lib/libz.dll.a (found version "1.2.12") 
CMake Warning (dev) at E:/Documents/programmes_x64/msys2/mingw64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (BROTLI)
  does not match the name of the calling package (Brotli).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  CMake/FindBrotli.cmake:29 (find_package_handle_standard_args)
  CMakeLists.txt:720 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found BROTLI: E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/lib/libbrotlidec.dll.a  
-- Found Zstd: E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/lib/libzstd.dll.a  
-- Looking for ZSTD_createDStream
-- Looking for ZSTD_createDStream - found
-- Found LibSSH2: E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/lib/libssh2.dll.a (found version "1.10.0") 
-- Looking for include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, windows.h
-- Looking for include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, windows.h - found
-- Looking for 3 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., ws2tcpip.h
-- Looking for 3 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., ws2tcpip.h - found
-- Looking for 4 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., winsock2.h
-- Looking for 4 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., winsock2.h - found
-- Looking for 5 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., wincrypt.h
-- Looking for 5 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., wincrypt.h - found
-- Looking for 6 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., stdio.h
-- Looking for 6 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., stdio.h - found
-- Looking for 7 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/filio.h
-- Looking for 7 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/filio.h - not found
-- Looking for 7 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/ioctl.h
-- Looking for 7 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/ioctl.h - not found
-- Looking for 7 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/resource.h
-- Looking for 7 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/resource.h - not found
-- Looking for 9 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/uio.h
-- Looking for 9 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/uio.h - not found
-- Looking for 9 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/un.h
-- Looking for 9 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/un.h - not found
-- Looking for 10 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/xattr.h
-- Looking for 10 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/xattr.h - not found
-- Looking for 10 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., arpa/tftp.h
-- Looking for 10 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., arpa/tftp.h - not found
-- Looking for 10 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., assert.h
-- Looking for 10 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., assert.h - found
-- Looking for 11 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., errno.h
-- Looking for 11 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., errno.h - found
-- Looking for 13 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., idn2.h
-- Looking for 13 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., idn2.h - found
-- Looking for 14 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., ifaddrs.h
-- Looking for 14 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., ifaddrs.h - not found
-- Looking for 15 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., krb.h
-- Looking for 15 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., krb.h - not found
-- Looking for 15 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., libgen.h
-- Looking for 15 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., libgen.h - found
-- Looking for 16 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., locale.h
-- Looking for 16 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., locale.h - found
-- Looking for 17 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., netinet/tcp.h
-- Looking for 17 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., netinet/tcp.h - not found
-- Looking for linux/tcp.h
-- Looking for linux/tcp.h - not found
-- Looking for 17 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., pem.h
-- Looking for 17 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., pem.h - not found
-- Looking for 17 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., poll.h
-- Looking for 17 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., poll.h - not found
-- Looking for 19 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., ssl.h
-- Looking for 19 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., ssl.h - not found
-- Looking for 19 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., stdbool.h
-- Looking for 19 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., stdbool.h - found
-- Looking for 23 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., stropts.h
-- Looking for 23 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., stropts.h - not found
-- Looking for 25 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., stddef.h
-- Looking for 25 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., stddef.h - found
-- Looking for 28 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/utsname.h
-- Looking for 28 include files E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/libssh2.h, ..., sys/utsname.h - not found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of long
-- Check size of long - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of __int64
-- Check size of __int64 - done
-- Check size of time_t
-- Check size of time_t - done
-- Looking for basename
-- Looking for basename - found
-- Looking for strncmpi
-- Looking for strncmpi - not found
-- Looking for alarm
-- Looking for alarm - not found
-- Looking for getppid
-- Looking for getppid - not found
-- Looking for utimes
-- Looking for utimes - not found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - not found
-- Looking for usleep
-- Looking for usleep - not found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - found
-- Looking for strerror_r
-- Looking for strerror_r - not found
-- Looking for siginterrupt
-- Looking for siginterrupt - not found
-- Looking for freeaddrinfo
-- Looking for freeaddrinfo - found
-- Looking for pipe
-- Looking for pipe - not found
-- Looking for ftruncate
-- Looking for ftruncate - not found
-- Looking for getprotobyname
-- Looking for getprotobyname - found
-- Looking for getpeername
-- Looking for getpeername - found
-- Looking for getsockname
-- Looking for getsockname - found
-- Looking for if_nametoindex
-- Looking for if_nametoindex - not found
-- Looking for getrlimit
-- Looking for getrlimit - not found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for setmode
-- Looking for setmode - found
-- Looking for setrlimit
-- Looking for setrlimit - not found
-- Looking for fcntl
-- Looking for fcntl - not found
-- Looking for ioctl
-- Looking for ioctl - not found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- Looking for mach_absolute_time
-- Looking for mach_absolute_time - not found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for fsetxattr
-- Looking for fsetxattr - not found
-- Check size of sa_family_t
-- Check size of sa_family_t - failed
-- Check size of ADDRESS_FAMILY
-- Check size of ADDRESS_FAMILY - failed
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET
-- Performing Curl Test HAVE_IOCTLSOCKET - Success
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO - Success
-- Performing Curl Test HAVE_IOCTL_FIONBIO
-- Performing Curl Test HAVE_IOCTL_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR - Failed
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK - Failed
-- Performing Curl Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
-- Performing Curl Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID - Failed
-- Performing Curl Test HAVE_BOOL_T
-- Performing Curl Test HAVE_BOOL_T - Success
-- Performing Curl Test HAVE_FILE_OFFSET_BITS
-- Performing Curl Test HAVE_FILE_OFFSET_BITS - Success
-- Performing Curl Test HAVE_VARIADIC_MACROS_C99
-- Performing Curl Test HAVE_VARIADIC_MACROS_C99 - Success
-- Performing Curl Test HAVE_VARIADIC_MACROS_GCC
-- Performing Curl Test HAVE_VARIADIC_MACROS_GCC - Success
-- Check size of off_t
-- Check size of off_t - done
-- Check size of curl_off_t
-- Check size of curl_off_t - done
-- Performing Curl Test HAVE_GLIBC_STRERROR_R
-- Performing Curl Test HAVE_GLIBC_STRERROR_R - Failed
-- Performing Curl Test HAVE_POSIX_STRERROR_R
-- Performing Curl Test HAVE_POSIX_STRERROR_R - Failed
-- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC
-- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC - Success
-- Performing Curl Test HAVE_BUILTIN_AVAILABLE
-- Performing Curl Test HAVE_BUILTIN_AVAILABLE - Failed
-- Performing Test curl_cv_recv
-- Performing Test curl_cv_recv - Success
-- Performing Test curl_cv_func_recv_test
-- Performing Test curl_cv_func_recv_test - Success
-- Tested: int recv(SOCKET, char *, int, int)
-- Performing Test curl_cv_send
-- Performing Test curl_cv_send - Success
-- Performing Test curl_cv_func_send_test
-- Performing Test curl_cv_func_send_test - Success
-- Tested: int send(SOCKET, const char *, int, int)
-- Performing Test HAVE_MSG_NOSIGNAL
-- Performing Test HAVE_MSG_NOSIGNAL - Failed
-- Performing Test HAVE_STRUCT_TIMEVAL
-- Performing Test HAVE_STRUCT_TIMEVAL - Success
-- Check size of struct sockaddr_storage
-- Check size of struct sockaddr_storage - done
-- Looking for CryptAcquireContext
-- Looking for CryptAcquireContext - found
-- Enabled features: SSL IPv6 unixsockets libz brotli zstd AsynchDNS IDN Largefile alt-svc HSTS NTLM HTTP2 HTTPS-proxy
-- Enabled protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS LDAP MQTT POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP
-- Enabled SSL backends: OpenSSL
-- Configuring done
-- Generating done
-- Build files have been written to: E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/share/ewpi/packages/curl/curl-7.83.1/builddir

make output:

Scanning dependencies of target libcurl

[  1%] Building C object lib/CMakeFiles/libcurl.dir/amigaos.c.obj

[  1%] Building C object lib/CMakeFiles/libcurl.dir/altsvc.c.obj

[  2%] Building C object lib/CMakeFiles/libcurl.dir/asyn-ares.c.obj

[  2%] Building C object lib/CMakeFiles/libcurl.dir/asyn-thread.c.obj

[  3%] Building C object lib/CMakeFiles/libcurl.dir/base64.c.obj

[  3%] Building C object lib/CMakeFiles/libcurl.dir/bufref.c.obj

[  4%] Building C object lib/CMakeFiles/libcurl.dir/c-hyper.c.obj

[  5%] Building C object lib/CMakeFiles/libcurl.dir/conncache.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[  5%] Building C object lib/CMakeFiles/libcurl.dir/connect.c.obj

[  6%] Building C object lib/CMakeFiles/libcurl.dir/content_encoding.c.obj

[  6%] Building C object lib/CMakeFiles/libcurl.dir/cookie.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[  7%] Building C object lib/CMakeFiles/libcurl.dir/curl_ctype.c.obj

[  8%] Building C object lib/CMakeFiles/libcurl.dir/curl_addrinfo.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[  9%] Building C object lib/CMakeFiles/libcurl.dir/curl_endian.c.obj

[  9%] Building C object lib/CMakeFiles/libcurl.dir/curl_des.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 10%] Building C object lib/CMakeFiles/libcurl.dir/curl_fnmatch.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
In file included from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/share/ewpi/packages/curl/curl-7.83.1/lib/content_encoding.c:34:
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/brotli/decode.h:204:5: warning: ISO C90 forbids variable length array 'encoded_buffer' [-Wvla]
  204 |     const uint8_t encoded_buffer[BROTLI_ARRAY_PARAM(encoded_size)],
      |     ^~~~~
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/brotli/decode.h:206:5: warning: ISO C90 forbids variable length array 'decoded_buffer' [-Wvla]
  206 |     uint8_t decoded_buffer[BROTLI_ARRAY_PARAM(*decoded_size)]);
      |     ^~~~~~~
[ 10%] Building C object lib/CMakeFiles/libcurl.dir/curl_get_line.c.obj

[ 11%] Building C object lib/CMakeFiles/libcurl.dir/curl_gethostname.c.obj

[ 12%] Building C object lib/CMakeFiles/libcurl.dir/curl_gssapi.c.obj

[ 12%] Building C object lib/CMakeFiles/libcurl.dir/curl_memrchr.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 13%] Building C object lib/CMakeFiles/libcurl.dir/curl_multibyte.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 13%] Building C object lib/CMakeFiles/libcurl.dir/curl_ntlm_core.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 14%] Building C object lib/CMakeFiles/libcurl.dir/curl_ntlm_wb.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 15%] Building C object lib/CMakeFiles/libcurl.dir/curl_path.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 15%] Building C object lib/CMakeFiles/libcurl.dir/curl_range.c.obj

[ 16%] Building C object lib/CMakeFiles/libcurl.dir/curl_rtmp.c.obj

[ 17%] Building C object lib/CMakeFiles/libcurl.dir/curl_sasl.c.obj

[ 17%] Building C object lib/CMakeFiles/libcurl.dir/curl_sspi.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 18%] Building C object lib/CMakeFiles/libcurl.dir/curl_threads.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 18%] Building C object lib/CMakeFiles/libcurl.dir/dict.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 19%] Building C object lib/CMakeFiles/libcurl.dir/doh.c.obj

[ 20%] Building C object lib/CMakeFiles/libcurl.dir/dotdot.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 20%] Building C object lib/CMakeFiles/libcurl.dir/dynbuf.c.obj

[ 21%] Building C object lib/CMakeFiles/libcurl.dir/easy.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 22%] Building C object lib/CMakeFiles/libcurl.dir/easygetopt.c.obj

[ 22%] Building C object lib/CMakeFiles/libcurl.dir/easyoptions.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 23%] Building C object lib/CMakeFiles/libcurl.dir/escape.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 24%] Building C object lib/CMakeFiles/libcurl.dir/file.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 24%] Building C object lib/CMakeFiles/libcurl.dir/fileinfo.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 24%] Building C object lib/CMakeFiles/libcurl.dir/ftp.c.obj

[ 25%] Building C object lib/CMakeFiles/libcurl.dir/formdata.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 26%] Building C object lib/CMakeFiles/libcurl.dir/ftplistparser.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 26%] Building C object lib/CMakeFiles/libcurl.dir/getinfo.c.obj

[ 27%] Building C object lib/CMakeFiles/libcurl.dir/getenv.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 28%] Building C object lib/CMakeFiles/libcurl.dir/gopher.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 29%] Building C object lib/CMakeFiles/libcurl.dir/h2h3.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 29%] Building C object lib/CMakeFiles/libcurl.dir/hash.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 30%] Building C object lib/CMakeFiles/libcurl.dir/headers.c.obj

[ 31%] Building C object lib/CMakeFiles/libcurl.dir/hmac.c.obj

[ 31%] Building C object lib/CMakeFiles/libcurl.dir/hostasyn.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 32%] Building C object lib/CMakeFiles/libcurl.dir/hostip.c.obj

[ 32%] Building C object lib/CMakeFiles/libcurl.dir/hostip4.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 33%] Building C object lib/CMakeFiles/libcurl.dir/hostip6.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 34%] Building C object lib/CMakeFiles/libcurl.dir/hsts.c.obj

[ 34%] Building C object lib/CMakeFiles/libcurl.dir/hostsyn.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 35%] Building C object lib/CMakeFiles/libcurl.dir/http.c.obj

[ 36%] Building C object lib/CMakeFiles/libcurl.dir/http2.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 36%] Building C object lib/CMakeFiles/libcurl.dir/http_chunks.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 37%] Building C object lib/CMakeFiles/libcurl.dir/http_digest.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 37%] Building C object lib/CMakeFiles/libcurl.dir/http_negotiate.c.obj

[ 38%] Building C object lib/CMakeFiles/libcurl.dir/http_ntlm.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 39%] Building C object lib/CMakeFiles/libcurl.dir/http_proxy.c.obj

[ 39%] Building C object lib/CMakeFiles/libcurl.dir/http_aws_sigv4.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 40%] Building C object lib/CMakeFiles/libcurl.dir/idn_win32.c.obj

[ 40%] Building C object lib/CMakeFiles/libcurl.dir/imap.c.obj

[ 41%] Building C object lib/CMakeFiles/libcurl.dir/if2ip.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 42%] Building C object lib/CMakeFiles/libcurl.dir/inet_ntop.c.obj

[ 43%] Building C object lib/CMakeFiles/libcurl.dir/inet_pton.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 43%] Building C object lib/CMakeFiles/libcurl.dir/krb5.c.obj

[ 44%] Building C object lib/CMakeFiles/libcurl.dir/ldap.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 44%] Building C object lib/CMakeFiles/libcurl.dir/llist.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 45%] Building C object lib/CMakeFiles/libcurl.dir/md4.c.obj

[ 46%] Building C object lib/CMakeFiles/libcurl.dir/md5.c.obj

[ 46%] Building C object lib/CMakeFiles/libcurl.dir/memdebug.c.obj

[ 47%] Building C object lib/CMakeFiles/libcurl.dir/mime.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 48%] Building C object lib/CMakeFiles/libcurl.dir/mprintf.c.obj

[ 48%] Building C object lib/CMakeFiles/libcurl.dir/mqtt.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 49%] Building C object lib/CMakeFiles/libcurl.dir/multi.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 50%] Building C object lib/CMakeFiles/libcurl.dir/netrc.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 50%] Building C object lib/CMakeFiles/libcurl.dir/nonblock.c.obj

[ 51%] Building C object lib/CMakeFiles/libcurl.dir/parsedate.c.obj

[ 51%] Building C object lib/CMakeFiles/libcurl.dir/openldap.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 51%] Building C object lib/CMakeFiles/libcurl.dir/progress.c.obj

[ 52%] Building C object lib/CMakeFiles/libcurl.dir/pingpong.c.obj

[ 53%] Building C object lib/CMakeFiles/libcurl.dir/pop3.c.obj

[ 54%] Building C object lib/CMakeFiles/libcurl.dir/psl.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 55%] Building C object lib/CMakeFiles/libcurl.dir/rand.c.obj

[ 55%] Building C object lib/CMakeFiles/libcurl.dir/rename.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 56%] Building C object lib/CMakeFiles/libcurl.dir/rtsp.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 56%] Building C object lib/CMakeFiles/libcurl.dir/select.c.obj

[ 58%] Building C object lib/CMakeFiles/libcurl.dir/sendf.c.obj

[ 58%] Building C object lib/CMakeFiles/libcurl.dir/setopt.c.obj

[ 58%] Building C object lib/CMakeFiles/libcurl.dir/sha256.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 59%] Building C object lib/CMakeFiles/libcurl.dir/share.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 60%] Building C object lib/CMakeFiles/libcurl.dir/slist.c.obj

[ 60%] Building C object lib/CMakeFiles/libcurl.dir/smb.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 61%] Building C object lib/CMakeFiles/libcurl.dir/smtp.c.obj

[ 62%] Building C object lib/CMakeFiles/libcurl.dir/socketpair.c.obj

[ 62%] Building C object lib/CMakeFiles/libcurl.dir/socks.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 63%] Building C object lib/CMakeFiles/libcurl.dir/socks_gssapi.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 63%] Building C object lib/CMakeFiles/libcurl.dir/socks_sspi.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 64%] Building C object lib/CMakeFiles/libcurl.dir/speedcheck.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 65%] Building C object lib/CMakeFiles/libcurl.dir/splay.c.obj

[ 65%] Building C object lib/CMakeFiles/libcurl.dir/strcase.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 66%] Building C object lib/CMakeFiles/libcurl.dir/strdup.c.obj

[ 67%] Building C object lib/CMakeFiles/libcurl.dir/strerror.c.obj

[ 68%] Building C object lib/CMakeFiles/libcurl.dir/strtoofft.c.obj

[ 68%] Building C object lib/CMakeFiles/libcurl.dir/strtok.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 68%] Building C object lib/CMakeFiles/libcurl.dir/system_win32.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 69%] Building C object lib/CMakeFiles/libcurl.dir/telnet.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 70%] Building C object lib/CMakeFiles/libcurl.dir/tftp.c.obj

[ 70%] Building C object lib/CMakeFiles/libcurl.dir/timediff.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 70%] Building C object lib/CMakeFiles/libcurl.dir/url.c.obj

[ 71%] Building C object lib/CMakeFiles/libcurl.dir/transfer.c.obj

[ 72%] Building C object lib/CMakeFiles/libcurl.dir/timeval.c.obj

[ 73%] Building C object lib/CMakeFiles/libcurl.dir/urlapi.c.obj

[ 74%] Building C object lib/CMakeFiles/libcurl.dir/version.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 74%] Building C object lib/CMakeFiles/libcurl.dir/version_win32.c.obj

[ 75%] Building C object lib/CMakeFiles/libcurl.dir/warnless.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 75%] Building C object lib/CMakeFiles/libcurl.dir/wildcard.c.obj

In file included from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/share/ewpi/packages/curl/curl-7.83.1/lib/version.c:58:
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/brotli/decode.h:204:5: warning: ISO C90 forbids variable length array 'encoded_buffer' [-Wvla]
  204 |     const uint8_t encoded_buffer[BROTLI_ARRAY_PARAM(encoded_size)],
      |     ^~~~~
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/brotli/decode.h:206:5: warning: ISO C90 forbids variable length array 'decoded_buffer' [-Wvla]
  206 |     uint8_t decoded_buffer[BROTLI_ARRAY_PARAM(*decoded_size)]);
      |     ^~~~~~~
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 76%] Building C object lib/CMakeFiles/libcurl.dir/vauth/cleartext.c.obj

[ 77%] Building C object lib/CMakeFiles/libcurl.dir/vauth/cram.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 77%] Building C object lib/CMakeFiles/libcurl.dir/vauth/digest.c.obj

[ 78%] Building C object lib/CMakeFiles/libcurl.dir/vauth/digest_sspi.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 79%] Building C object lib/CMakeFiles/libcurl.dir/vauth/gsasl.c.obj

[ 79%] Building C object lib/CMakeFiles/libcurl.dir/vauth/krb5_gssapi.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 80%] Building C object lib/CMakeFiles/libcurl.dir/vauth/krb5_sspi.c.obj

[ 81%] Building C object lib/CMakeFiles/libcurl.dir/vauth/ntlm.c.obj

[ 81%] Building C object lib/CMakeFiles/libcurl.dir/vauth/ntlm_sspi.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 82%] Building C object lib/CMakeFiles/libcurl.dir/vauth/oauth2.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 83%] Building C object lib/CMakeFiles/libcurl.dir/vauth/spnego_sspi.c.obj

[ 83%] Building C object lib/CMakeFiles/libcurl.dir/vauth/spnego_gssapi.c.obj

[ 84%] Building C object lib/CMakeFiles/libcurl.dir/vauth/vauth.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 84%] Building C object lib/CMakeFiles/libcurl.dir/vtls/bearssl.c.obj

[ 85%] Building C object lib/CMakeFiles/libcurl.dir/vtls/gskit.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 86%] Building C object lib/CMakeFiles/libcurl.dir/vtls/gtls.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 86%] Building C object lib/CMakeFiles/libcurl.dir/vtls/hostcheck.c.obj

[ 87%] Building C object lib/CMakeFiles/libcurl.dir/vtls/keylog.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 87%] Building C object lib/CMakeFiles/libcurl.dir/vtls/mbedtls.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 88%] Building C object lib/CMakeFiles/libcurl.dir/vtls/mbedtls_threadlock.c.obj

[ 89%] Building C object lib/CMakeFiles/libcurl.dir/vtls/nss.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 89%] Building C object lib/CMakeFiles/libcurl.dir/vtls/openssl.c.obj

[ 90%] Building C object lib/CMakeFiles/libcurl.dir/vtls/rustls.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 91%] Building C object lib/CMakeFiles/libcurl.dir/vtls/schannel.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 91%] Building C object lib/CMakeFiles/libcurl.dir/vtls/schannel_verify.c.obj

[ 92%] Building C object lib/CMakeFiles/libcurl.dir/vtls/sectransp.c.obj

[ 93%] Building C object lib/CMakeFiles/libcurl.dir/vtls/vtls.c.obj

[ 93%] Building C object lib/CMakeFiles/libcurl.dir/vtls/wolfssl.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 94%] Building C object lib/CMakeFiles/libcurl.dir/vtls/x509asn1.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
In file included from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/evp.h:64,
                 from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/hmac.h:67,
                 from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/ssl.h:150,
                 from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/share/ewpi/packages/curl/curl-7.83.1/lib/vtls/openssl.c:63:
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/ossl_typ.h:90:2: warning: #warning is a GCC extension
   90 | #warning overriding WinCrypt defines
      |  ^~~~~~~
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/ossl_typ.h:90:2: warning: #warning overriding WinCrypt defines [-Wcpp]
In file included from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/pem.h:71,
                 from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/ssl.h:151,
                 from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/share/ewpi/packages/curl/curl-7.83.1/lib/vtls/openssl.c:63:
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/x509.h:120:2: warning: #warning is a GCC extension
  120 | #warning overriding WinCrypt defines
      |  ^~~~~~~
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/x509.h:120:2: warning: #warning overriding WinCrypt defines [-Wcpp]
In file included from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/x509.h:390,
                 from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/pem.h:71,
                 from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/ssl.h:151,
                 from E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/share/ewpi/packages/curl/curl-7.83.1/lib/vtls/openssl.c:63:
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/pkcs7.h:77:2: warning: #warning is a GCC extension
   77 | #warning overriding WinCrypt defines
      |  ^~~~~~~
E:/Documents/programmes_x64/msys2/home/vtorri/ewpi_64/include/openssl/pkcs7.h:77:2: warning: #warning overriding WinCrypt defines [-Wcpp]
[ 94%] Building C object lib/CMakeFiles/libcurl.dir/vquic/msh3.c.obj

[ 95%] Building C object lib/CMakeFiles/libcurl.dir/vquic/ngtcp2.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[ 96%] Building C object lib/CMakeFiles/libcurl.dir/vquic/quiche.c.obj

[ 96%] Building C object lib/CMakeFiles/libcurl.dir/vquic/vquic.c.obj

[ 97%] Building C object lib/CMakeFiles/libcurl.dir/vssh/libssh.c.obj

[ 98%] Building C object lib/CMakeFiles/libcurl.dir/vssh/libssh2.c.obj

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: note: this is the location of the previous definition
[ 98%] Building C object lib/CMakeFiles/libcurl.dir/vssh/wolfssh.c.obj

[ 99%] Building RC object lib/CMakeFiles/libcurl.dir/libcurl.rc.res

<command-line>: warning: "_WIN32_WINNT" redefined
<command-line>: note: this is the location of the previous definition
[100%] Linking C shared library libcurl.dll

E:/Documents/programmes_x64/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/libcurl.dir/objects.a(cookie.c.obj):cookie.c:(.text+0x1377): undefined reference to `psl_is_cookie_domain_acceptable'

E:/Documents/programmes_x64/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/libcurl.dir/objects.a(psl.c.obj):psl.c:(.text+0x31): undefined reference to `psl_free'

E:/Documents/programmes_x64/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/libcurl.dir/objects.a(psl.c.obj):psl.c:(.text+0xcf): undefined reference to `psl_latest'

E:/Documents/programmes_x64/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/libcurl.dir/objects.a(psl.c.obj):psl.c:(.text+0x19f): undefined reference to `psl_builtin'

E:/Documents/programmes_x64/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/libcurl.dir/objects.a(psl.c.obj):psl.c:(.text+0x1b9): undefined reference to `psl_free'

E:/Documents/programmes_x64/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/libcurl.dir/objects.a(version.c.obj):version.c:(.text+0x1ac): undefined reference to `psl_get_version'

collect2.exe: error: ld returned 1 exit status
make[2]: *** [lib/CMakeFiles/libcurl.dir/build.make:2751: lib/libcurl.dll] Error 1
make[1]: *** [CMakeFiles/Makefile2:125: lib/CMakeFiles/libcurl.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
@bagder bagder added the cmake label May 17, 2022
@bagder bagder closed this as completed in ee52bea May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants