[Help-gnutls] Re: problems building 2.4.0

Simon Josefsson simon at josefsson.org
Tue Jun 24 11:03:45 CEST 2008


David Reiser <dbreiser at gmail.com> writes:

> 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.

This seems to be the same problem as in:

http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2912

Does the patch in that thread solve the problem for you?

Perhaps we should do a 2.4.1 with this fix, but it may be too early to
do this now.

/Simon

> 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