[gnutls-dev] gnutls fails to compile

Mark Gjøl cyrax at b0rken.dk
Fri Feb 27 15:44:05 CET 2004


Hi,

I'm trying to compile gnutls on a Solaris 9 machine, and I'm having some
problems:

I have installed opencdk 0.5.3, but when I use the parameter:
--with-libopencdk-prefix I get the "The test program compiled, but did
not run." error... Ok, then, but I probably don't need opencdk, so I use
the option: --disable-openpgp-authentication, and hazzaaah! The
configure succeeds! But now I get the following error when compiling...
Please ask for more information if so is needed...

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I../../includes/
-I../../lib/minitasn1 -I/usr/local/gbar/_/libgcrypt/1.1.92/include
-I/usr/local/gbar/_/libgpg-error/0.6/include -D_REENTRANT -D_THREAD_SAFE
-O2 -finline-functions -pipe
-I/usr/local/gbar/_/libgcrypt/1.1.92/include
-I/usr/local/gbar/_/libgpg-error/0.6/include -MT verify.lo -MD -MP -MF
.deps/verify.Tpo -c verify.c  -fPIC -DPIC -o .libs/verify.o
In file included from ../gnutls_sig.h:3,
                 from verify.c:33:
../auth_cert.h:12: parse error before "gnutls_openpgp_key"
../auth_cert.h:12: warning: no semicolon at end of struct or union
../auth_cert.h:12: warning: no semicolon at end of struct or union
../auth_cert.h:13: warning: data definition has no type or storage class
../auth_cert.h:18: parse error before "gnutls_openpgp_privkey"
../auth_cert.h:18: warning: no semicolon at end of struct or union
../auth_cert.h:19: warning: data definition has no type or storage class
../auth_cert.h:22: parse error before '}' token
../auth_cert.h:22: warning: data definition has no type or storage class
../auth_cert.h:27: parse error before "gnutls_retr_st"
../auth_cert.h:30: parse error before "gnutls_retr_st"
gmake[3]: *** [verify.lo] Error 1
gmake[3]: Leaving directory
`/export/home/gbar/mg/compile/gnutls/gnutls-1.1.6/lib/x509'

-- 
// Mark Gjøl
Is it better to abide by the rules until they're changed or help speed the change by breaking them?
-- http://b0rken.dk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : /pipermail/attachments/20040227/9821e225/attachment.bin


More information about the Gnutls-dev mailing list