Hi, Now I am totally frustrated, I did all things as you suggested. But still it did not work. At first I change the files and then execute- #cd /home/sumon/gnutls/lib #autoreconf
But no result. Then I deleted all gnutls related files from /usr/local/lib and /usr/local/include and did- #cd /home/sumon/gnutls/lib #./configure #make #make install
But no result. Also I tried with the ./configure, make and make install from /home/sumon/gnutls directory (not inside /lib) without success. Then I downloaded the files from an older discussion (http://www.mail-archive.com/address@hidden/msg01827.html) and did ./configure, make and make install after deleting
all gnutls related file from usr/local/{lib | include} and compile her (Carolin) sample code (in the same thread). It compiles without any error and the server runs, but the client gives me the following error during run time -
./client: /usr/lib/libgnutls.so.26: version `GNUTLS_2_10' not found (required by ./client)
I know that it worked for her machine, as she finished the discussion, but why it does not work for me. What am I missing? Please help.
Best regards, Sumon
From: Nikos Mavrogiannopoulos <address@hidden> To: Sumon Islam <address@hidden> Cc: address@hidden Sent: Tue, November 30, 2010 6:13:27 PM Subject: Re: gnutls extension
On 11/29/2010 11:11 PM, Sumon Islam wrote: > Hi, > I would like to extend the gnutls, I followed all steps (point 1 to 4) as the > link specified > (http://www.gnu.org/software/gnutls/devel/manual/gnutls.html#TLS-Extension-Handling). > I made simple ext_foobar.c and ext_foobar.h ( I avoided the API steps of point > 5 at the first time for simplicity), attached below.
You only need to do the configure stuff only if you plan to disable your extension... Do you really need it? Just avoid the ifdef and if parts.