[xmppd-dev] Problem during compilation

Garret garret.dworld at gmail.com
Fri Jun 27 15:00:35 CEST 2008


Hello guys, I have a question.

When I'm trying to do "make", I get next error:

/usr/include/gnutls/extra.h: In function `void
   mio_tls_process_credentials(xmlnode_t*, const std::list<std::string,
   std::allocator<std::string> >&, const std::list<std::string,
   std::allocator<std::string> >&, gnutls_dh_params_int*, const
   std::list<std::string, std::allocator<std::string> >&, const
   std::list<std::string, std::allocator<std::string> >&)':
/usr/include/gnutls/extra.h:74: error: too few arguments to function `int
   gnutls_certificate_set_openpgp_key_file(gnutls_certificate_credentials_st*,
   const char*, const char*, gnutls_openpgp_crt_fmt)'
mio_tls.cc:615: error: at this point in file

So, here is line 615 in mio_tls.cc:
> ret = gnutls_certificate_set_openpgp_key_file(current_credentials, pubfile, privfile);
I see here 3 args.

And /usr/include/gnutls/extra.h:
> int gnutls_certificate_set_openpgp_key_file (gnutls_certificate_credentials_t res, const char *CERTFILE, const char *KEYFILE, gnutls_openpgp_crt_fmt_t);
4 args. Seems we lost gnutls_openpgp_crt_fmt_t?

Maybe some wrong version of gnutls?

How can I fix it? I've tried fill last arg, but don't know it's type.
Tried NULL but it also didn't help...
-- 
Best regards, Alex Mukho "Garret"
garret.dworld at gmail.com


More information about the dev mailing list