[gnutls-dev] building gnutls 1.0.14 with included opencdk

Robey Pointer robey at danger.com
Thu Jul 1 19:29:41 CEST 2004


Nikos Mavroyanopoulos wrote:

>On Wednesday 30 June 2004 00:56, Robey Pointer wrote:
>  
>
>>When building gnutls 1.0.14 with the included opencdk library, openpgp
>>is unable to find the opencdk include file.
>>It looks like "libextra/opencdk" should be added to the include path in
>>this case, but I couldn't figure out a simple way to do that (I have
>>zero understanding of 'configure') so my temporary patch has been to
>>hand-edit this file:
>>libextra/openpgp/openpgp.h
>>    
>>
>Could you send me the output of make? I need to know in which files
>this failed, since I cannot reproduce it.
>  
>

Here you go. :)

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I../../includes/ 
-I../../lib/minitasn1 -I/danger/local/include -I/danger/local/include 
-D_REENTRANT -D_THREAD_SAFE -O2 -finline-functions -pipe 
-I/danger/local/include -I/danger/local/include -MT verify.lo -MD -MP 
-MF .deps/verify.Tpo -c verify.c  -fPIC -DPIC -o .libs/verify.o
In file included from ../auth_cert.h:6,
                 from ../gnutls_sig.h:3,
                 from verify.c:33:
../../libextra/openpgp/openpgp.h:15: error: parse error before 
"cdk_kbnode_t"
../../libextra/openpgp/openpgp.h:15: warning: no semicolon at end of 
struct or union
../../libextra/openpgp/openpgp.h:16: warning: data definition has no 
type or storage class
../../libextra/openpgp/openpgp.h:17: warning: data definition has no 
type or storage class
../../libextra/openpgp/openpgp.h:24: error: parse error before 
"cdk_keydb_hd_t"
../../libextra/openpgp/openpgp.h:24: warning: no semicolon at end of 
struct or union
../../libextra/openpgp/openpgp.h:25: warning: data definition has no 
type or storage class
../../libextra/openpgp/openpgp.h:28: error: parse error before 
"cdk_stream_t"
../../libextra/openpgp/openpgp.h:28: warning: no semicolon at end of 
struct or union
../../libextra/openpgp/openpgp.h:29: warning: data definition has no 
type or storage class
make[4]: *** [verify.lo] Error 1
make[4]: Leaving directory 
`/home/robey/danger/service/third_party/gnutls-1.0.14/lib/x509'

robey





More information about the Gnutls-devel mailing list