[gnutls-devel] GnuTLS | 3.6.4 - build from source fails - errors "redefinition of typedef" (#576)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Wed Sep 26 10:47:51 CEST 2018
New Issue was created.
Issue 576: https://gitlab.com/gnutls/gnutls/issues/576
Author: Nicolas Chaigneau
## Description of problem:
Trying to build 3.6.4 from source (ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/gnutls-3.6.4.tar.xz).
Build of gnutls 3.6.4 fails (gcc 4.4.7 on RHEL 6.4), there are two errors:
tlsproxy/buffer.c:40: error: redefinition of typedef 'buffer_t'
tlsproxy/buffer.h:31: note: previous declaration of 'buffer_t' was here
make: *** [tlsproxy/buffer.o] Error 1
tlsproxy/crypto-gnutls.c:61: error: redefinition of typedef 'tlssession_t'
tlsproxy/crypto-gnutls.h:32: note: previous declaration of 'tlssession_t' was here
make: *** [tlsproxy/crypto-gnutls.o] Error 1
To solve the issue I had to edit the two .c files, e.g.:
typedef struct tlssession
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/576
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel