* gnutls.c make error
@ 2017-01-25 7:14 Colin Baxter
2017-01-25 7:41 ` Colin Baxter
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Colin Baxter @ 2017-01-25 7:14 UTC (permalink / raw)
To: emacs-devel
Hello,
I have a make error after the latest pull on master.
----
gnutls.c: In function ‘emacs_gnutls_handle_error’:
gnutls.c:589:18: error: ‘GNUTLS_E_PREMATURE_TERMINATION’ undeclared (first use in this function)
gnutls.c:589:18: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [gnutls.o] Error 1
make[1]: Leaving directory `/home/redknight/git/emacs/src'
make: *** [src] Error 2
Compilation exited abnormally with code 2 at Wed Jan 25 07:02:38
----
I'm using 3.2.0-4-686-pae #1 SMP Debian 3.2.84-1 i686 GNU/Linux.
Colin.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnutls.c make error
2017-01-25 7:14 gnutls.c make error Colin Baxter
@ 2017-01-25 7:41 ` Colin Baxter
2017-01-25 12:51 ` Lars Ingebrigtsen
2017-01-25 13:22 ` Lars Ingebrigtsen
2 siblings, 0 replies; 6+ messages in thread
From: Colin Baxter @ 2017-01-25 7:41 UTC (permalink / raw)
To: emacs-devel
On Wed, Jan 25 2017, Colin Baxter wrote:
> Hello,
>
> I have a make error after the latest pull on master.
>
> ----
>
> gnutls.c: In function ‘emacs_gnutls_handle_error’:
> gnutls.c:589:18: error: ‘GNUTLS_E_PREMATURE_TERMINATION’ undeclared
> (first use in this function)
> gnutls.c:589:18: note: each undeclared identifier is reported only
> once for each function it appears in
> make[1]: *** [gnutls.o] Error 1
> make[1]: Leaving directory `/home/redknight/git/emacs/src'
> make: *** [src] Error 2
>
> Compilation exited abnormally with code 2 at Wed Jan 25 07:02:38
>
> ----
>
> I'm using 3.2.0-4-686-pae #1 SMP Debian 3.2.84-1 i686 GNU/Linux.
>
> Colin.
The error might have something to do with
commit 42e23674133e881092c05814c6e11224e642f5f8
Tweak TLS error messaging on closed connections
When I revert the commit on my local git distribution, the error goes
away and emacs builds satisfactorily.
Colin.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnutls.c make error
2017-01-25 7:14 gnutls.c make error Colin Baxter
2017-01-25 7:41 ` Colin Baxter
@ 2017-01-25 12:51 ` Lars Ingebrigtsen
2017-01-25 13:57 ` Colin Baxter
2017-01-26 8:31 ` Colin Baxter
2017-01-25 13:22 ` Lars Ingebrigtsen
2 siblings, 2 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-25 12:51 UTC (permalink / raw)
To: Colin Baxter; +Cc: emacs-devel
Colin Baxter <m43cap@yandex.com> writes:
> gnutls.c: In function ‘emacs_gnutls_handle_error’:
> gnutls.c:589:18: error: ‘GNUTLS_E_PREMATURE_TERMINATION’ undeclared
> (first use in this function)
Hm, perhaps that symbol is only defined in some gnutls versions? I seem
to be using gnutls 3.0 -- what version are you using?
Anyway, I guess I'll have to add some autoconf tests... darn.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnutls.c make error
2017-01-25 12:51 ` Lars Ingebrigtsen
@ 2017-01-25 13:57 ` Colin Baxter
2017-01-26 8:31 ` Colin Baxter
1 sibling, 0 replies; 6+ messages in thread
From: Colin Baxter @ 2017-01-25 13:57 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: emacs-devel
Hi Lars,
On Wed, Jan 25 2017, Lars Ingebrigtsen wrote:
> Colin Baxter <m43cap@yandex.com> writes:
>
>> gnutls.c: In function ‘emacs_gnutls_handle_error’:
>> gnutls.c:589:18: error: ‘GNUTLS_E_PREMATURE_TERMINATION’ undeclared
>> (first use in this function)
>
> Hm, perhaps that symbol is only defined in some gnutls versions? I seem
> to be using gnutls 3.0 -- what version are you using?
>
> Anyway, I guess I'll have to add some autoconf tests... darn.
I'm using GnuTLS 2.12.20.
Best wishes,
Colin.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnutls.c make error
2017-01-25 12:51 ` Lars Ingebrigtsen
2017-01-25 13:57 ` Colin Baxter
@ 2017-01-26 8:31 ` Colin Baxter
1 sibling, 0 replies; 6+ messages in thread
From: Colin Baxter @ 2017-01-26 8:31 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: emacs-devel
Hi Lars,
I thought I had posted a thank-you, but I find its not listed. I must
have imagined writing it. Please accept my apologies for not confirming
that I can now build emacs satisfactorily. And thank you again.
Colin.
On Wed, Jan 25 2017, Lars Ingebrigtsen wrote:
> Colin Baxter <m43cap@yandex.com> writes:
>
>> gnutls.c: In function ‘emacs_gnutls_handle_error’:
>> gnutls.c:589:18: error: ‘GNUTLS_E_PREMATURE_TERMINATION’ undeclared
>> (first use in this function)
>
> Hm, perhaps that symbol is only defined in some gnutls versions? I seem
> to be using gnutls 3.0 -- what version are you using?
>
> Anyway, I guess I'll have to add some autoconf tests... darn.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnutls.c make error
2017-01-25 7:14 gnutls.c make error Colin Baxter
2017-01-25 7:41 ` Colin Baxter
2017-01-25 12:51 ` Lars Ingebrigtsen
@ 2017-01-25 13:22 ` Lars Ingebrigtsen
2 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-25 13:22 UTC (permalink / raw)
To: Colin Baxter; +Cc: emacs-devel
I've now pushed a fix that I think is likely to fix the problem (if the
problem is indeed that you have an older gnutls version).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-01-26 8:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-25 7:14 gnutls.c make error Colin Baxter
2017-01-25 7:41 ` Colin Baxter
2017-01-25 12:51 ` Lars Ingebrigtsen
2017-01-25 13:57 ` Colin Baxter
2017-01-26 8:31 ` Colin Baxter
2017-01-25 13:22 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.