[Help-gnutls] examples won't compile

Martin Knappe martin.knappe at gmail.com
Thu Oct 30 18:14:49 CET 2008


Hi

I'm new to gnutls and I've tried to compile the "Echo server with SRP
authentication" which can be found under *
http://www.gnu.org/software/gnutls/manual/html_node/Echo-Server-with-SRP-authentication.html#Echo-Server-with-SRP-authentication
.
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).

Is there a similar manual like

http://www.gnu.org/software/gnutls/manual/

for my version? I want to use the version I have and not update.

Many thanks

Martin

*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20081030/5a22dd84/attachment.htm>


More information about the Gnutls-help mailing list