On 2021-Oct-22, Robert Haas wrote: > In fact, I get that same failure on every branch older than 9.2. I > expect I could work around that by disabling SSL or finding an older > version of OpenSSL that works the way those branches expect, but that > might not be the only problem, either.
I just tried to build 9.1. My config line there doesn't have ssl, but I do get this in the compile stage: gram.c:69:25: error: conflicting types for ‘base_yylex’ 69 | #define yylex base_yylex | ^~~~~~~~~~ scan.c:15241:12: note: in expansion of macro ‘yylex’ 15241 | extern int yylex \ | ^~~~~ In file included from /pgsql/source/REL9_1_STABLE/src/backend/parser/gram.y:60: /pgsql/source/REL9_1_STABLE/src/include/parser/gramparse.h:66:12: note: previous declaration of ‘base_yylex’ was here 66 | extern int base_yylex(YYSTYPE *lvalp, YYLTYPE *llocp, | ^~~~~~~~~~ gram.c:69:25: error: conflicting types for ‘base_yylex’ 69 | #define yylex base_yylex | ^~~~~~~~~~ scan.c:15244:21: note: in expansion of macro ‘yylex’ 15244 | #define YY_DECL int yylex \ | ^~~~~ scan.c:15265:1: note: in expansion of macro ‘YY_DECL’ 15265 | YY_DECL | ^~~~~~~ In file included from /pgsql/source/REL9_1_STABLE/src/backend/parser/gram.y:60: /pgsql/source/REL9_1_STABLE/src/include/parser/gramparse.h:66:12: note: previous declaration of ‘base_yylex’ was here 66 | extern int base_yylex(YYSTYPE *lvalp, YYLTYPE *llocp, | ^~~~~~~~~~ make[3]: *** [../../../src/Makefile.global:655: gram.o] Error 1 -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "El Maquinismo fue proscrito so pena de cosquilleo hasta la muerte" (Ijon Tichy en Viajes, Stanislaw Lem)