Rendezvous/Bonjour broken in 8.1 beta - Mailing list pgsql-hackers

From
Subject Rendezvous/Bonjour broken in 8.1 beta
Date
Msg-id imhwwp.iiwz90@mail.systemevolution.it
Whole thread Raw
Responses Re: Rendezvous/Bonjour broken in 8.1 beta
List pgsql-hackers
Hi, I'm trying to compile Postgresql 8.1 beta on my own in mingw/windows.
I tried to compile it with --with-bonjour but it is looking for the wrong
file, it looks for "DNSServiceDiscovery.h" but Apple provides a file named
"dns_sd.h" (Bonjour SDK for windows as of May 5 2005), after renaming it
./configure went ok but make ended with errors:

...
In file included from postmaster.c:92:
d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/DNSServiceDiscovery/DNSServiceDiscovery.h:52:
error: syntax error before "uint8_t"
d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/DNSServiceDiscovery/DNSServiceDiscovery.h:53:
error: syntax error before "int8_t"
d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/DNSServiceDiscovery/DNSServiceDiscovery.h:54:
error: syntax error before "uint16_t"
d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/DNSServiceDiscovery/DNSServiceDiscovery.h:55:
error: syntax error before "int16_t"
postmaster.c:249: error: syntax error before "errorCode"
postmaster.c: In function `PostmasterMain':
postmaster.c:769: warning: implicit declaration of function
`DNSServiceRegistrationCreate'
postmaster.c:774: error: `DNSServiceRegistrationReply' undeclared (first use
in this function)
postmaster.c:774: error: (Each undeclared identifier is reported only once
postmaster.c:774: error: for each function it appears in.)
postmaster.c:774: error: syntax error before "reg_reply"
postmaster.c: At top level:
postmaster.c:1042: error: syntax error before "errorCode"
postmaster.c: In function `reg_reply':
postmaster.c:1043: warning: old-style parameter declaration
postmaster.c: At top level:
postmaster.c:1043: warning: 'reg_reply' defined but not used

is this supported on windows? Do you have any plans to restore this
function?
Thanks in advance. 




pgsql-hackers by date:

Previous
From: "Larry Rosenman"
Date:
Subject: Re: [COMMITTERS] pgsql: Update timezone data files to release 2005m of the zic database.
Next
From: Andrew Dunstan
Date:
Subject: Re: Rendezvous/Bonjour broken in 8.1 beta