[gnutls-devel] Gnutls handling extension error
nmav at gnutls.org
Sat Jul 5 12:27:00 CEST 2014
On Fri, 2014-07-04 at 12:40 +0200, hammi_mohamed_tahar at hotmail.fr wrote:
> I'm trying to create a new TLS extension with Gnutls, so i've install
> "gnutls-3.3.4" with all their dependencies, when i make "make check"
> i've got no error and all is well. After i've followed this tutorial
> (http://gnutls.org/manual/html_node/TLS-Extension-Handling.html) to make
> the necessary modifications, but when i compile the new code with "make"
> commande after done "./configure --enable-myExtension" i got some errors
> messages, for exemple:
> /gnutls_int.h:726:3: error: unknown type name 'gnutls_buffer_st'
> gnutls_int.h:782:3: error: unknown type name 'gnutls_buffer_st'
> myExtension.c 15:11 : error: unknown type name 'opaque'
> const opaque * data,
How did you try to compile it? These will be defined if you have a
normal gnutls built. Check how the other extensions are defined/used,
and if there is something missing from the documentation let us know.
More information about the Gnutls-devel