help-gnutls
[Top][All Lists]
Advanced

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

How to compile GnuTLS examples using headers from custom build


From: Peter Penzov
Subject: How to compile GnuTLS examples using headers from custom build
Date: Fri, 2 Mar 2012 01:46:06 +0200

Hi,
   I want to compile GnuTLS examples. I use this command to compile example:

gcc -o server ex-serv-srp.c  -lgnutls  -Wall -Werror -g

The problem is that I have default gnutls-2.8.5-4.el6.i686 package installed on Centos 6.2. I suppose that when I try to compile the example with -lgnutls argument the headers from the installed rpm are used.

I want to use headers from my custom build which is compiled in /opt/gnutls-3.0.8. and /usr/local/lib/libgnutls.so. Where I can find the header files into the gnutls build direcotry?
How I can include them during compilation time?

Best wishes

reply via email to

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