help-gnutls
[Top][All Lists]
Advanced

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

Re: [Help-gnutls] examples won't compile


From: Nikos Mavrogiannopoulos
Subject: Re: [Help-gnutls] examples won't compile
Date: Thu, 30 Oct 2008 20:11:45 +0200
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Martin Knappe wrote:
> 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).

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).

regards,
Nikos




reply via email to

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