[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnutls error
From: |
Dani Moncayo |
Subject: |
Re: gnutls error |
Date: |
Sat, 15 Jul 2017 17:06:52 +0200 |
On Sat, Jul 15, 2017 at 1:33 PM, Eli Zaretskii <address@hidden> wrote:
>> From: Dani Moncayo <address@hidden>
>> Date: Sat, 15 Jul 2017 13:14:35 +0200
>>
>> I've tried to build the current version of the master branch on
>> Ubuntu-GNOME 17.04; it fails this way:
>>
>> [...]
>> CC floatfns.o
>> CC fns.o
>> In file included from ../../repo/src/fns.c:30:0:
>> ../../repo/src/fns.c:4748:34: error: ‘Fsecure_hash_algorithms’
>> undeclared here (not in a function)
>> DEFUN ("secure-hash-algorithms", Fsecure_hash_algorithms,
>> ^
>> ../../repo/src/lisp.h:2925:26: note: in definition of macro ‘DEFUN’
>> { .a ## maxargs = fnname }, \
>> ^~~~~~
>> ../../repo/src/fns.c:4748:34: warning: no previous prototype for
>> ‘Fsecure_hash_algorithms’ [-Wmissing-prototypes]
>> DEFUN ("secure-hash-algorithms", Fsecure_hash_algorithms,
>> ^
>> ../../repo/src/lisp.h:2927:16: note: in definition of macro ‘DEFUN’
>> Lisp_Object fnname
>> ^~~~~~
>> ../../repo/src/fns.c: In function ‘extract_data_from_object’:
>> ../../repo/src/fns.c:4928:24: error: ‘Qiv_auto’ undeclared (first use
>> in this function)
>> else if (EQ (object, Qiv_auto))
>> ^~~~~~~~
>> ../../repo/src/fns.c:4928:24: note: each undeclared identifier is
>
> These errors make no sense, the stuff they complain about is defined
> right there in fns.c.
>
> How did you build Emacs? With what sequence of commands?
>From the root of the source tree:
$ git pull
$ ./autogen.sh
>From an empty directory:
$ path-to-source-root/configure
$ make
(BTW, I've just repeated the above, with the same result)
> Are you
> sure your Git clone is up to date with upsteam?
I think so. "git log -1" gives here this:
------------------------------------------------
commit b30ee0c9225bad6e3fd0b511a6c5d9a64b8fd66a
Author: Eli Zaretskii <address@hidden>
Date: Sat Jul 15 16:54:12 2017 +0300
Avoid link errors with older versions of GnuTLS
* src/gnutls.c (Fgnutls_ciphers, gnutls_symmetric_aead)
(Fgnutls_macs, Fgnutls_digests): Conditionally compile code that
calls GnuTLS functions which might be unavailable in older
versions of GnuTLS.
------------------------------------------------
--
Dani Moncayo
- gnutls error, Colin Baxter, 2017/07/15
- Re: gnutls error, Colin Baxter, 2017/07/15
- Re: gnutls error, Eli Zaretskii, 2017/07/15
- Re: gnutls error, Dani Moncayo, 2017/07/15
- Re: gnutls error, Eli Zaretskii, 2017/07/15
- Re: gnutls error,
Dani Moncayo <=
- Re: gnutls error, Dani Moncayo, 2017/07/15
- Re: gnutls error, Eli Zaretskii, 2017/07/15
- Re: gnutls error, Dani Moncayo, 2017/07/15
- Re: gnutls error, Eli Zaretskii, 2017/07/16
- Re: gnutls error, Dani Moncayo, 2017/07/16
- Re: gnutls error, Dani Moncayo, 2017/07/16
- Re: gnutls error, Eli Zaretskii, 2017/07/16
Re: gnutls error, Colin Baxter, 2017/07/15