[Help-gnutls] gnutls 0.9.90 compilation issues

wwp subscript at free.fr
Sat Feb 7 22:36:12 CET 2004

Hi there,

I'm trying to compile gnutls 0.9.90 against:
	gnupg 1.2.4,
	libgcrypt 1.1.91,
	libgpg-error 0.6 and
	opencdk 0.5.3
w/ gcc 3.2, glibc 2.2.5, and noticed that there are a few unresolved references to
that I had to manually replace with

Also, a proto mismatch around libextra/opengpg/openpgp.{ch}, one declares:
	int gnutls_openpgp_key_get_pk_algorithm( gnutls_openpgp_key key, int *r_bits);
whereas the other one implements:
	int gnutls_openpgp_key_get_pk_algorithm( gnutls_openpgp_key key, unsigned int *r_bits);
which leads to a compilation error on my side.

But after, make fails in src, complaining about:
	../lib/.libs/libgnutls.so: undefined reference to `_gcry_generate_elg_prime'
whereas the right libgcrypt.so is included in make's gcc command and the libgcrypt.so
that corresponds defines this _gcry_generate_elg_prime symbol (from primegen.c).

Did I miss smth or tried w/ unsupported libs maybe?



More information about the Gnutls-help mailing list