[Pdns-dev] PowerDNS Authoritative Server 3.3 Release Candidate 2 available

justin at postgresql.org justin at postgresql.org
Fri Jun 28 17:18:29 CEST 2013

On 2013-06-29 00:22, bert hubert wrote:
> On Sat, Jun 29, 2013 at 12:11:26AM +1030, justin at postgresql.org 
> wrote:
>>   CXXLD  pdnssec
>> unix_semaphore.cc:47:27: error: use of undeclared identifier 
>> 'm_lock'
>>   if (pthread_mutex_init(&m_lock, NULL) != 0) {
> We used to special case OSX for semaphores. Testing indicated that 
> m_lock
> was no longer used, but this is because we don't do our testing on 
> OSX.
> I think that by now, OSX no longer needs special casing.
> So, if you could take out all the #ifdef sections in 
> unix_semaphore.cc that
> relate to Apple or OSX, It Might Just Work.
> Can you let us know?

Doesn't look workable. :(

Removed the DARWIN and __APPLE__ keywords from the one #if line (at
the top of the file) leaving only the AIX keyword.  Like this:

   #if _AIX

Compilation succeeds, but pdns_server doesn't work. :(

   $ pdns_server --daemon=no --launch=gsqlite3 --socket-dir=/tmp 
   Jun 28 16:13:38 Cannot create semaphore: Function not implemented

To illustrate the difference, this is PDNS Auth server 3.2 (working 
on the same box:

   $ pdns_server --daemon=no --launch=gsqlite3 --socket-dir=/tmp 
   Jun 28 16:08:22 Reading random entropy from '/dev/urandom'
   Jun 28 16:08:22 This is a standalone pdns
   Jun 28 16:08:22 Listening on controlsocket in 
   Jun 28 16:08:22 UDP server bound to
   Jun 28 16:08:22 TCP server bound to
   Jun 28 16:08:22 PowerDNS 3.2 (C) 2001-2013 PowerDNS.COM BV (Jun 28 
2013, 16:05:17, gcc 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)) 
starting up
   Jun 28 16:08:22 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is 
free software, and you are welcome to redistribute it according to the 
terms of the GPL version 2.
   Jun 28 16:08:22 Creating backend connection for TCP

Kind of hoping I modified the #if line incorrectly. :)

Any ideas?

Regards and best wishes,

Justin Clift

More information about the Pdns-dev mailing list