-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
I did this
compiling libcurl using mbedtls in an MSYS2/MinGW environment (media-autobuild suite) which is kept up-to-date each time before building ffmpeg and other tools failed:
relevant parts of curl-git/build-32bit/ab-suite.make.log from logs.zip
CPPFLAGS: -D_FORTIFY_SOURCE=0 -D__USE_MINGW_ANSI_STDIO=1 -DGNUTLS_INTERNAL_BUILD -DNGHTTP2_STATICLIB -DPSL_STATIC
CFLAGS: -mthreads -mtune=generic -O2 -pipe
CXXFLAGS: -mthreads -mtune=generic -O2 -pipe
LDFLAGS: -pipe -static-libgcc -static-libstdc++
make -j1
Making all in lib
...
CC vtls/libcurl_la-mbedtls.lo
../../lib/vtls/mbedtls.c: In function 'mbed_connect_step2':
../../lib/vtls/mbedtls.c:818:43: error: 'ALPN_H2_LEN' undeclared (first use in this function); did you mean 'ALPN_H2_LENGTH'?
818 | if(!strncmp(next_protocol, ALPN_H2, ALPN_H2_LEN) &&
| ^~~~~~~~~~~
| ALPN_H2_LENGTH
I expected the following
libcurl compiling successfully
curl/libcurl version
https://github.com/curl/curl.git#tag=LATEST
curl-7_83_0 # 1669b17
operating system
MSYS2/MinGW on Windows