[Help-gnutls] problems building 2.4.0

David Reiser dbreiser at gmail.com
Tue Jun 24 04:22:04 CEST 2008


I'm trying to build GnuTLS 2.4.0 on a Mac -- OS X 10.5.3, gcc 4.0.1,  
most dependencies supplied with fink packages.

I get:
  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/sw/share/ 
locale\" -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../ 
libextra -I../lib/openpgp/ -I/sw/include -I./opencdk -I../lib/opencdk - 
I/sw/include -I/sw/include -I/sw/include -g -O2 -Wno-pointer-sign -c  
gnutls_openpgp.c  -fno-common -DPIC -o .libs/gnutls_openpgp.o
gnutls_openpgp.c: In function 'gnutls_openpgp_get_key':
gnutls_openpgp.c:219: error: 'cdk_keydb_search_t' undeclared (first  
use in this function)
gnutls_openpgp.c:219: error: (Each undeclared identifier is reported  
only once
gnutls_openpgp.c:219: error: for each function it appears in.)
gnutls_openpgp.c:219: error: syntax error before 'st'
gnutls_openpgp.c:242: error: 'st' undeclared (first use in this  
function)
gnutls_openpgp.c:242: warning: passing argument 2 of  
'cdk_keydb_search_start' makes integer from pointer without a cast
gnutls_openpgp.c:242: error: incompatible type for argument 3 of  
'cdk_keydb_search_start'
gnutls_openpgp.c:242: error: too many arguments to function  
'cdk_keydb_search_start'
gnutls_openpgp.c:244: warning: passing argument 2 of  
'cdk_keydb_search' from incompatible pointer type
gnutls_openpgp.c:244: error: too many arguments to function  
'cdk_keydb_search'
gnutls_openpgp.c:246: warning: implicit declaration of function  
'cdk_keydb_search_release'
make[3]: *** [gnutls_openpgp.lo] Error 1

Suggestions?

Dave
--
David Reiser
dbreiser at gmail.com








More information about the Gnutls-help mailing list