Rendezvous/Bonjour broken in 8.1 beta

From: <pmagnoli(at)systemevolution(dot)it>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Rendezvous/Bonjour broken in 8.1 beta
Date: 2005-09-08 11:22:01
Message-ID: imhwwp.iiwz90@mail.systemevolution.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-09-08 12:47:38 Re: Rendezvous/Bonjour broken in 8.1 beta
Previous Message Larry Rosenman 2005-09-08 09:55:28 Re: [COMMITTERS] pgsql: Update timezone data files to release 2005m of the zic database.