Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Net6 fails to build with gnutls 3.4.0 #1

Closed
DimStar77 opened this issue Apr 22, 2015 · 0 comments
Closed

Net6 fails to build with gnutls 3.4.0 #1

DimStar77 opened this issue Apr 22, 2015 · 0 comments

Comments

@DimStar77
Copy link

/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./inc -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/p11-kit-1 -I./inc -DLOCALEDIR=""/usr/share/locale"" -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c -o libnet6_la-encrypt.lo test -f 'src/encrypt.cpp' || echo './'src/encrypt.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./inc -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/p11-kit-1 -I./inc -DLOCALEDIR="/usr/share/locale" -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c src/encrypt.cpp -fPIC -DPIC -o .libs/libnet6_la-encrypt.o
In file included from src/encrypt.cpp:22:0:
./inc/encrypt.hpp:32:24: warning: 'gnutls_session' is deprecated (declared at /usr/include/gnutls/compat.h:78) [-Wdeprecated-declarations]
typedef gnutls_session gnutls_session_t;
^
./inc/encrypt.hpp:33:40: warning: 'gnutls_anon_client_credentials' is deprecated (declared at /usr/include/gnutls/compat.h:99) [-Wdeprecated-declarations]
typedef gnutls_anon_client_credentials gnutls_anon_client_credentials_t;
^
./inc/encrypt.hpp:34:40: warning: 'gnutls_anon_server_credentials' is deprecated (declared at /usr/include/gnutls/compat.h:97) [-Wdeprecated-declarations]
typedef gnutls_anon_server_credentials gnutls_anon_server_credentials_t;
^
./inc/encrypt.hpp:35:30: warning: 'gnutls_transport_ptr' is deprecated (declared at /usr/include/gnutls/compat.h:113) [-Wdeprecated-declarations]
typedef gnutls_transport_ptr gnutls_transport_ptr_t;
^
./inc/encrypt.hpp:36:26: warning: 'gnutls_dh_params' is deprecated (declared at /usr/include/gnutls/compat.h:104) [-Wdeprecated-declarations]
typedef gnutls_dh_params gnutls_dh_params_t;
^
src/encrypt.cpp:28:67: warning: 'gnutls_connection_end_t' is deprecated [-Wdeprecated-declarations]
net6::gnutls_session_t create_session(gnutls_connection_end_t end)
^
src/encrypt.cpp: In constructor 'net6::tcp_encrypted_socket_base::tcp_encrypted_socket_base(net6::socket::socket_type, net6::gnutls_session_t)':
src/encrypt.cpp:181:41: error: 'gnutls_kx_set_priority' was not declared in this scope
gnutls_kx_set_priority(session, kx_prio);
^

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants