master branch --- build problems

lfinsto at gwdg.de lfinsto at gwdg.de
Wed Aug 4 10:30:52 CEST 2010


On Fri, July 30, 2010 4:21 pm, lfinsto at gwdg.de wrote:
>
> On Fri, July 30, 2010 4:01 pm, Simon Josefsson wrote:

>>> 2.  configure must be called after `make bootstrap' because the latter
>>> doesn't accept options.
>>
>> It does, you may supply them as 'make ADDFLAGS=--with-foo' or similar.
>> Check at the top of cfg.mk for variable names and how they are used.
>
> Okay, thanks.

make ADDFLAGS="--disable-valgrind-tests
--with-libgcrypt-prefix=/home/lfinsto/libgcrypt-1.4.6
--prefix=/home/lfinsto/gnutls_dev/gnutls_master" bootstrap

This works, except that it doesn't fix this error:

init.c:36: error: 'GCRY_THREAD_OPTION_VERSION' undeclared here (not in a
function)
make[4]: *** [init.lo] Error 1
make[4]: Leaving directory
`/home/lfinsto/gnutls_dev/gnutls_master/lib/gcrypt'


As before:

ln -s /home/lfinsto/libgcrypt-1.4.6/include/gcrypt.h
/home/lfinsto/gnutls_dev/gnutls_master/lib/gcrypt/gcrypt.h

New errors:

Making all in reference
make[4]: Entering directory
`/home/lfinsto/gnutls_dev/gnutls_master/doc/reference'
gtk-doc: Scanning header files
gtk-doc: Rebuilding template files
ERROR: ck_flags_t has multiple definitions: ./gnutls-decl.txt:1963
ERROR: ck_notification_t has multiple definitions: ./gnutls-decl.txt:1967
ERROR: ck_slot_id_t has multiple definitions: ./gnutls-decl.txt:1975
ERROR: ck_session_handle_t has multiple definitions: ./gnutls-decl.txt:2075
ERROR: ck_user_type_t has multiple definitions: ./gnutls-decl.txt:2083
ERROR: ck_state_t has multiple definitions: ./gnutls-decl.txt:2099
ERROR: ck_object_handle_t has multiple definitions: ./gnutls-decl.txt:2131
ERROR: ck_object_class_t has multiple definitions: ./gnutls-decl.txt:2135
ERROR: ck_hw_feature_type_t has multiple definitions: ./gnutls-decl.txt:2175
ERROR: ck_key_type_t has multiple definitions: ./gnutls-decl.txt:2195
ERROR: ck_certificate_type_t has multiple definitions: ./gnutls-decl.txt:2303
ERROR: ck_attribute_type_t has multiple definitions: ./gnutls-decl.txt:2323
ERROR: ck_mechanism_type_t has multiple definitions: ./gnutls-decl.txt:2667
ERROR: ck_rv_t has multiple definitions: ./gnutls-decl.txt:3527
ERROR: ck_notify_t has multiple definitions: ./gnutls-decl.txt:3533
ERROR: ck_function_list has multiple definitions: ./gnutls-decl.txt:3537
ERROR: ck_createmutex_t has multiple definitions: ./gnutls-decl.txt:3546
ERROR: ck_destroymutex_t has multiple definitions: ./gnutls-decl.txt:3551
ERROR: ck_lockmutex_t has multiple definitions: ./gnutls-decl.txt:3556
ERROR: ck_unlockmutex_t has multiple definitions: ./gnutls-decl.txt:3561
###Can't parse args for function gcry_cipher_algo_name: int algorithm)
_GCRY_GCC_ATTR_PURE;int gcry_cipher_map_name (const char *name)
_GCRY_GCC_ATTR_PURE;int gcry_cipher_mode_from_oid (const char *string)
_GCRY_GCC_ATTR_PURE;gcry_error_t gcry_cipher_encrypt (gcry_cipher_hd_t
h,void *out, size_t outsize,const void *in, size_t inlen

###Can't parse args for function gcry_pk_algo_name: int algorithm)
_GCRY_GCC_ATTR_PURE;int gcry_pk_map_name (const char* name)
_GCRY_GCC_ATTR_PURE;unsigned int gcry_pk_get_nbits (gcry_sexp_t key)
_GCRY_GCC_ATTR_PURE;unsigned char *gcry_pk_get_keygrip (gcry_sexp_t key,
unsigned char *array

###Can't parse args for function gcry_md_algo_name: int algo)
_GCRY_GCC_ATTR_PURE;int gcry_md_map_name (const char* name)
_GCRY_GCC_ATTR_PURE;gcry_error_t gcry_md_setkey (gcry_md_hd_t hd, const
void *key, size_t keylen

Enum declaration 'typedef enum gcry_md_algos gcry_md_algo_t;


typedef struct gcry_ac_emsa_pkcs_v1_5
{
  gcry_md_algo_t md;
  size_t em_n;
} gcry_ac_emsa_pkcs_v1_5_t;
' does not begin with 'typedef enum {' or 'enum XXX {'
make[4]: *** [tmpl-build.stamp] Error 9
make[4]: Leaving directory
`/home/lfinsto/gnutls_dev/gnutls_master/doc/reference'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lfinsto/gnutls_dev/gnutls_master/doc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/lfinsto/gnutls_dev/gnutls_master/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lfinsto/gnutls_dev/gnutls_master'
make: *** [all] Error 2

I don't know what this is about.  Does anyone have any hints?


>
>>
>>> 3.  Files installed by libtoolize are not readable by the user (?!).
>>
>> This seems weird, and could be a problem with your libtool installation.
>> Maybe you can debug it?
>
> I'll try.

The permissions are correct in the directory from which libtoolize copies
them.  I haven't found anything obvious that would explain the problem.  I
think I'll have to write to the bug-libtool mailing list.

Laurence

-------------------------------------------------------------
Laurence Finston
Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH
Am Fassberg 11
37077 Goettingen

Telefon: 	+49 551 201-1882
E-Mail: 	lfinsto at gwdg.de





More information about the Gnutls-devel mailing list