ocserv 0.9.0.1 make error, undefined reference to `gnutls_rnd'
Nikos Mavrogiannopoulos
n.mavrogiannopoulos at gmail.com
Thu Jan 22 05:14:34 PST 2015
On Thu, Jan 22, 2015 at 2:06 PM, Jack Lee <jack at evlit.com> wrote:
> wget http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/atomic-release-1.0-19.el6.art.noarch.rpm
[...]
> ocpasswd-args.c:438: warning: suggest parentheses around arithmetic in operand of '|'
> AR libcmd-ocpasswd.a
> CC ocpasswd.o
> ocpasswd.c: In function 'crypt_int':
> ocpasswd.c:65: warning: implicit declaration of function 'gnutls_rnd'
> CCLD ocpasswd
> ocpasswd.o: In function `crypt_int':
> /usr/local/src/ocserv-0.9.0/src/ocpasswd.c:65: undefined reference to `gnutls_rnd'
It seems that ocpasswd is being built using an older gnutls which
doesn't have gnutls_rnd(). Try compiling with V=1 to see which flags
are being passed to compiler and linker.
regards,
Nikos
More information about the openconnect-devel
mailing list