CVS head doesn't compile
От | Alvaro Herrera |
---|---|
Тема | CVS head doesn't compile |
Дата | |
Msg-id | 20030330063458.GA20375@dcc.uchile.cl обсуждение исходный текст |
Ответы |
Re: CVS head doesn't compile
|
Список | pgsql-hackers |
I'm seeing this on CVS head: make[4]: Entering directory `/home/alvherre/CVS/pgsql/src/backend/access/common' distcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o printtup.o printtup.c -MMD In file included from ../../../../src/include/libpq/ip.h:8, from ../../../../src/include/libpq/libpq.h:22, from printtup.c:20: ../../../../src/include/getaddrinfo.h:10: redefinition of `struct addrinfo' make[4]: *** [printtup.o] Error 1 make[4]: Leaving directory `/home/alvherre/CVS/pgsql/src/backend/access/common' make[3]: *** [common-recursive] Error 2 make[3]: Leaving directory `/home/alvherre/CVS/pgsql/src/backend/access' make[2]: *** [access-recursive] Error 2 make[2]: Leaving directory `/home/alvherre/CVS/pgsql/src/backend' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/alvherre/CVS/pgsql/src' make: *** [all] Error 2 Apparently this is a flaw in configure, because it detects getaddrinfo but fails to define HAVE_GETADDRINFO in pg_config.h, and it works if I define the symbol manually. -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) "La grandeza es una experiencia transitoria. Nunca es consistente. Depende en gran parte de la imaginación humana creadora de mitos" (Irulan)
В списке pgsql-hackers по дате отправления: