I copied the include folder to src folder and it gives another compilation error. Guess ocserv is just not ready for *BSD yet. :-) Thanks for the help anyway! Regards, TZ On 3/31/2014 9:57 AM, Nikos Mavrogiannopoulos wrote: > On Mon, Mar 31, 2014 at 3:50 PM, Tony Zhou <tonytzhou at gmail.com> wrote: >> Hi Nikos, >> Thanks for the correction. I didn't use the correct syntax previously; the >> correct form in gnutls3.pc was >> LIBGNUTLS_LIBS="-L/usr/local/lib/gnutls3 -lgnutls" >> LIBGNUTLS_CFLAGS="-I/usr/local/include/gnutls3" > If that's the correct cflag, then /usr/local/include/gnutls3 should > contain a directory named 'gnutls' under which are the header files. > If not you'll need to create it (or make it a link to '.'). > > regards, > Nikos