[Help-gnutls] compiling gnutls 2.0.2 on Mac OS X 10.4.10
David Reiser
dbreiser at gmail.com
Sat Nov 3 02:04:22 CET 2007
When I try to compile gnutls 2.0.2 on my mac, the build fails with:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lgl -I../lgl -I../lib
-I../includes -I../includes -I../lib/minitasn1 -I./openpgp -I/sw/include
-I/sw/include -I/sw/include -I./opencdk -I/sw/include -D_REENTRANT
-D_THREAD_SAFE -I/sw/include -I/sw/include -D_REENTRANT -D_THREAD_SAFE
-Wno-pointer-sign -c gnutls_openpgp.c -fno-common -DPIC -o
.libs/gnutls_openpgp.o
gnutls_openpgp.c: In function 'kbx_to_keydb':
gnutls_openpgp.c:151: warning: implicit declaration of function
'cdk_keydb_new_from_file'
gnutls_openpgp.c:155: warning: implicit declaration of function
'cdk_keydb_new_from_mem'
gnutls_openpgp.c: In function 'openpgp_pk_to_gnutls_cert':
gnutls_openpgp.c:264: error: 'CDK_KEY_USG_SIGN' undeclared (first use in
this function)
gnutls_openpgp.c:264: error: (Each undeclared identifier is reported only
once
gnutls_openpgp.c:264: error: for each function it appears in.)
gnutls_openpgp.c:266: error: 'CDK_KEY_USG_ENCR' undeclared (first use in
this function)
gnutls_openpgp.c:282: warning: passing argument 4 of 'cdk_pk_get_mpi' makes
pointer from integer without a cast
gnutls_openpgp.c:282: error: too many arguments to function 'cdk_pk_get_mpi'
gnutls_openpgp.c: In function '_gnutls_openpgp_raw_privkey_to_gkey':
gnutls_openpgp.c:327: warning: implicit declaration of function
'cdk_stream_tmp_new'
gnutls_openpgp.c:366: warning: passing argument 4 of 'cdk_pk_get_mpi' makes
pointer from integer without a cast
gnutls_openpgp.c:366: error: too many arguments to function 'cdk_pk_get_mpi'
gnutls_openpgp.c:380: warning: passing argument 4 of 'cdk_sk_get_mpi' makes
pointer from integer without a cast
gnutls_openpgp.c:380: error: too many arguments to function 'cdk_sk_get_mpi'
gnutls_openpgp.c: In function 'gnutls_openpgp_get_key':
gnutls_openpgp.c:511: warning: implicit declaration of function
'cdk_kbnode_write_to_mem_alloc'
gnutls_openpgp.c: In function 'gnutls_certificate_set_openpgp_key_mem':
gnutls_openpgp.c:582: error: too many arguments to function
'cdk_stream_tmp_from_mem'
gnutls_openpgp.c:582: warning: assignment makes integer from pointer without
a cast
gnutls_openpgp.c:675: error: too many arguments to function
'cdk_stream_tmp_from_mem'
gnutls_openpgp.c:675: warning: assignment makes integer from pointer without
a cast
gnutls_openpgp.c: In function 'gnutls_certificate_set_openpgp_keyring_mem':
gnutls_openpgp.c:952: error: too many arguments to function
'cdk_stream_tmp_from_mem'
gnutls_openpgp.c:952: warning: assignment makes integer from pointer without
a cast
make[3]: *** [gnutls_openpgp.lo] Error 1
Is this a bug, or am I missing a dependency?
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20071102/51091a2a/attachment.htm>
More information about the Gnutls-help
mailing list