help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] examples won't compile


From: Martin Knappe
Subject: [Help-gnutls] examples won't compile
Date: Thu, 30 Oct 2008 18:14:49 +0100

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

address@hidden:~/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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]