Hello List,

Trying to compile HAProxy version 2.8.1 with WolfSSL 5.6.3 results in the following error:

src/ssl_sock.c: In function ‘ssl_sock_load_ocsp’:
src/ssl_sock.c:1117:9: error: unknown type name ‘tlsextStatusCb’
 1117 |         tlsextStatusCb callback;
      |         ^~~~~~~~~~~~~~
make: *** [Makefile:998: src/ssl_sock.o] Error 1
make: *** Waiting for unfinished jobs....

In my makefile / Arch Linux PKGBUILD I have the following:

  unset CFLAGS
  unset CXXFLAGS
  unset LDFLAGS

  export CFLAGS="$CFLAGS -fwrapv"

  make \
    CFLAGS="$CFLAGS" \
    LDFLAGS="$LDFLAGS" \
    CPU=generic \
    TARGET=linux-glibc \
    USE_GETADDRINFO=1 \
    USE_LUA=1 \
    USE_OPENSSL_WOLFSSL=1 \
    USE_PCRE2=1 USE_PCRE2_JIT=1 \
    USE_PROMEX=1 \
    USE_SYSTEMD=1 \
    USE_ZLIB=1

Using Kernel 6.1.38-hardened1 if of interest. Am I missing something here?


    - Marcel

Reply via email to