[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building gnutls 2.3.15 with opencdk installed

From: Roman Bogorodskiy
Subject: building gnutls 2.3.15 with opencdk installed
Date: Thu, 19 Jun 2008 09:03:10 +0400


I have a problem with building gnutls with having opencdk installed on
my system. I have opencdk 0.6.6 installed and when I try to build gnutls
I get the following error:

 cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" 
-I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra 
-I../lib/openpgp/ -I/usr/local/include -I./opencdk -I../lib/opencdk 
-I./minitasn1 -I/usr/local/include -pipe -I/usr/local/include -O2 
-fno-strict-aliasing -pipe -MT gnutls_openpgp.lo -MD -MP -MF 
.deps/gnutls_openpgp.Tpo -c gnutls_openpgp.c  -fPIC -DPIC -o 
gnutls_openpgp.c: In function `gnutls_openpgp_get_key':
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: error: (Each undeclared identifier is reported only once
gnutls_openpgp.c:242: error: for each function it appears in.)
gnutls_openpgp.c:242: warning: passing arg 2 of `cdk_keydb_search_start' makes 
integer from pointer without a cast
gnutls_openpgp.c:242: error: incompatible type for argument 3 of 
gnutls_openpgp.c:242: error: too many arguments to function 
gnutls_openpgp.c:244: warning: passing arg 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 
gmake[3]: *** [gnutls_openpgp.lo] Error 1
gmake[3]: Leaving directory 
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
gmake: *** [all] Error 2
*** Error code 2

It seem to happen because it picks opencdk.h from the installed opencdk 
not from the included one. When I deinstall opencdk from my system,
gnutls compiles fine.

Is there any way to workaround this?

Roman Bogorodskiy

Attachment: pgpZVgBCXkDvQ.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]