make[2]: Entering directory `/home/mrlarch/wine/dlls/secur32' gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o schannel.o schannel.c schannel.c:61: error: ‘gnutls_transport_set_errno’ undeclared here (not in a function) schannel.c:61: warning: type defaults to ‘int’ in declaration of ‘pgnutls_transport_set_errno’ schannel.c: In function ‘schan_pull’: schannel.c:571: error: called object ‘pgnutls_transport_set_errno’ is not a function schannel.c: In function ‘schan_push’: schannel.c:593: error: called object ‘pgnutls_transport_set_errno’ is not a function make[2]: *** [schannel.o] Error 1 make[2]: Leaving directory `/home/mrlarch/wine/dlls/secur32' make[1]: *** [secur32] Error 2 make[1]: Leaving directory `/home/mrlarch/wine/dlls' make: *** [dlls] Error 2
I'm using libgnutls-dev 1.4.4-3 from etch.
On Mon, Oct 20, 2008 at 6:44 AM, Nikolay Sivov bunglehead@gmail.com wrote:
make[2]: Entering directory `/home/mrlarch/wine/dlls/secur32' gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o schannel.o schannel.c schannel.c:61: error: 'gnutls_transport_set_errno' undeclared here (not in a function) schannel.c:61: warning: type defaults to 'int' in declaration of 'pgnutls_transport_set_errno' schannel.c: In function 'schan_pull': schannel.c:571: error: called object 'pgnutls_transport_set_errno' is not a function schannel.c: In function 'schan_push': schannel.c:593: error: called object 'pgnutls_transport_set_errno' is not a function make[2]: *** [schannel.o] Error 1 make[2]: Leaving directory `/home/mrlarch/wine/dlls/secur32' make[1]: *** [secur32] Error 2 make[1]: Leaving directory `/home/mrlarch/wine/dlls' make: *** [dlls] Error 2
I'm using libgnutls-dev 1.4.4-3 from etch.
It looks like you need libgnutls-dev 2.x to compile schannel.c as is.
2008/10/20 Lei Zhang thestig@google.com:
I'm using libgnutls-dev 1.4.4-3 from etch.
It looks like you need libgnutls-dev 2.x to compile schannel.c as is.
That function was introduced in 1.5.4, apparently. You can of course also configure with "--without-gnutls" to avoid building that code. It seems to be somewhat common for useful functions to not be present in older versions of gnutls :-/. I guess we should require at least version 1.6.