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)


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to