|
From: | Fred Kiefer |
Subject: | [bug #34876] Old gnutls function usage |
Date: | Mon, 21 Nov 2011 21:26:17 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 |
URL: <http://savannah.gnu.org/bugs/?34876> Summary: Old gnutls function usage Project: GNUstep Submitted by: FredKiefer Submitted on: Mo 21 Nov 2011 21:26:15 GMT Category: Base/Foundation Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: When compiling base on OpenSuse 12.1 I get the following warnings: Compiling file GSSocketStream.m ... GSSocketStream.m: In function ‘-[GSTLS initWithInput:output:]’: GSSocketStream.m:666:7: warning: ‘gnutls_protocol_set_priority’ is deprecated (declared at /usr/include/gnutls/compat.h:285) [-Wdeprecated-declarations] GSSocketStream.m:673:7: warning: ‘gnutls_protocol_set_priority’ is deprecated (declared at /usr/include/gnutls/compat.h:285) [-Wdeprecated-declarations] GSSocketStream.m:696:3: warning: implicit declaration of function ‘gnutls_transport_set_lowat’ [-Wimplicit-function-declaration] And later the corresponding linker error: Linking tool autogsdoc ... ../Source/./obj/libgnustep-base.so: undefined reference to `gnutls_transport_set_lowat' collect2: ld returned 1 exit status This should be fixed by detecting the gnutls version in configure and using #ifdef around that call as explained in this post: http://old.nabble.com/deprecating-gnutls_transport_set_lowat%28%29-td31899419.html We also should replace the other deprecated function call as explained here: http://univ.uniyar.ac.ru/pipermail/lftp/2011-July/000010.html For now I will just switch off the usage of gnutls: configure --disable-tls _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?34876> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |