Displaying 6 results from an estimated 6 matches for "eai_addrfamily".
2019 Dec 04
4
Dovecot 2.3.9 fails on FreeBSD
...b5851
> >
> > Following output is the build log: https://pastebin.com/3nvSeDn8
> >
> > So I guess it has to do with some changes FreeBSD made:
> > https://reviews.freebsd.org/D18630
>
> As far as I can tell, dovecot should be checking for the existence of
> EAI_ADDRFAMILY and EAI_NODATA.
>
> The good news is, a quick workaround is to remove the two lines that use
> these two constants. (A correct patch would do the proper checks.)
Ok. That was easy. I'm going to get the following patch reviewed and
committed.
Jeff.
diff --git a/src/lib/net.c b/sr...
2019 Dec 04
4
Dovecot 2.3.9 fails on FreeBSD
Hi
I've just tried to build the latest Dovecot 2.3.9 on FreeBSD 11.3.
Without success...It fails on the following commit which was introduced
in 2.3.9:
https://github.com/dovecot/core/commit/c85f1bc3ce612c736c9d2c468cc08306db1b5851
Following output is the build log: https://pastebin.com/3nvSeDn8
So I guess it has to do with some changes FreeBSD made:
https://reviews.freebsd.org/D18630
2019 Dec 04
0
Dovecot 2.3.9 fails on FreeBSD
...ollowing output is the build log: https://pastebin.com/3nvSeDn8
> > >
> > > So I guess it has to do with some changes FreeBSD made:
> > > https://reviews.freebsd.org/D18630
> >
> > As far as I can tell, dovecot should be checking for the existence of
> > EAI_ADDRFAMILY and EAI_NODATA.
> >
> > The good news is, a quick workaround is to remove the two lines that use
> > these two constants. (A correct patch would do the proper checks.)
>
> Ok. That was easy. I'm going to get the following patch reviewed and
> committed.
>
> J...
2004 Jan 19
0
rsync 2.6.0 and Solaris 8
...:19:16.000000000 -0700
+++ lib/addrinfo.h 2004-01-16 21:45:44.678112000 -0700
@@ -52,10 +52,12 @@
#define EAI_SERVICE 9 /* servname not supported for ai_socktype */
#define EAI_SOCKTYPE 10 /* ai_socktype not supported */
#define EAI_SYSTEM 11 /* system error returned in errno */
+#endif /* ndef EAI_ADDRFAMILY */
+#ifndef EAI_BADHINTS
#define EAI_BADHINTS 12
#define EAI_PROTOCOL 13
#define EAI_MAX 14
-#endif /* ndef EAI_ADDRFAMILY */
+#endif /* ndef EAI_BADHINTS */
/*
* Flag values for getaddrinfo()
@@ -66,8 +68,6 @@
#define AI_PASSIVE 0x00000001 /* get address to use bind() */
#define AI_CANO...
2019 Dec 04
0
Dovecot 2.3.9 fails on FreeBSD
...mmit/c85f1bc3ce612c736c9d2c468cc08306db1b5851
>
> Following output is the build log: https://pastebin.com/3nvSeDn8
>
> So I guess it has to do with some changes FreeBSD made:
> https://reviews.freebsd.org/D18630
As far as I can tell, dovecot should be checking for the existence of
EAI_ADDRFAMILY and EAI_NODATA.
The good news is, a quick workaround is to remove the two lines that use
these two constants. (A correct patch would do the proper checks.)
Jeff.
--
Bad pun of the week: The formula 1 control computer suffered from a race
condition
2003 Oct 28
4
simple compile
I could not find this question anywhere, but I apologize if it is and I
just missed it.
Running an Alpha, OSF1 V5.1 1885
configure went fine.
compile failed:
cc -I. -I. -g -DHAVE_CONFIG_H -I./popt -c lib/getaddrinfo.c -o
lib/getaddrinfo.o
cc: Error: lib/getaddrinfo.c, line 182: In this statement, "EAI_MAX" is
not declared. (undeclared)
if (ecode < 0 || ecode > EAI_MAX)