[Help-gnutls] examples won't compile
nmav at gnutls.org
Thu Oct 30 19:11:45 CET 2008
Martin Knappe wrote:
> I'm new to gnutls and I've tried to compile the "Echo server with SRP
> authentication" which can be found under *
> Compiling with
> martin at martin-desktop:~/development/examples/srp_server$ gcc main.c
> `libgnutls-config --cflags --libs`
> gives me:
> /tmp/cc2WjvhH.o: In function `initialize_tls_session':
> main.c:(.text+0x30): undefined reference to `gnutls_priority_set_direct'
> /tmp/cc2WjvhH.o: In function `main':
> main.c:(.text+0xd2): undefined reference to `gnutls_global_init_extra'
> collect2: ld gab 1 als Ende-Status zurück
> I reckon this is because I am using an older version of gnutls (2.0.4).
Either download gnutls 2.0.4 and use the included manual or download the
manual from your distributor (in debian it is in gnutls-doc).
More information about the Gnutls-help