25 Jun 17:51
Re: problems building 2.4.0
From: David Reiser <dbreiser <at> gmail.com>
Subject: Re: problems building 2.4.0
Newsgroups: gmane.network.gnutls.general
Date: 2008-06-25 15:51:31 GMT
Subject: Re: problems building 2.4.0
Newsgroups: gmane.network.gnutls.general
Date: 2008-06-25 15:51:31 GMT
On Jun 24, 2008, at 5:03 AM, Simon Josefsson wrote: > 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? Yes (though I patched Makefile.in instead). Thanks. My googling needs some work, I guess. > > > Perhaps we should do a 2.4.1 with this fix, but it may be too early to > do this now. Now that I have a fix, I can package it this way, so I'm not in a hurry for a new version. Is using an internal opencdk likely to continue? > > > /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 -- David Reiser dbreiser <at> gmail.com
RSS Feed