ocserv 0.9.0.1 make error, undefined reference to `gnutls_rnd'

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Thu Jan 22 09:07:07 PST 2015


On Thu, Jan 22, 2015 at 2:29 PM, Jack Lee <jack at evlit.com> wrote:
> LIBGNUTLS_CFLAGS="-I/opt/atomic/atomic-gnutls3/root/usr/include/gnutls" LIBGNUTLS_LIBS="-L/opt/atomic/atomic-gnutls3/root/usr/lib64 -lgnutls" LIBNL3_CFLAGS="-I/opt/atomic/atomic-gnutls3/root/usr/include/gnutls" LIBNL3_LIBS="-L/opt/atomic/atomic-gnutls3/root/usr/lib64 -lnl-3 -lnl-route-3" ./configure --enable-linux-namespaces --with-libseccomp-prefix
[...]
> In file included from ./main.h:28,
>                  from ./script-list.h:24,
>                  from main.c:40:
> ./vpn.h:322:1: warning: "TLS_MASTER_SIZE" redefined
> In file included from /usr/include/gnutls/gnutls.h:48,

Most probably you are mixing different gnutls libraries' development
files. Uninstall the old one's development files, and use only the
new.

regards,
Nikos



More information about the openconnect-devel mailing list