[Pdns-users] intel compiler

bert hubert bert.hubert at netherlabs.nl
Tue Dec 16 12:14:39 UTC 2008

On Tue, Dec 16, 2008 at 12:03:07PM +0100, Marco Chiavacci wrote:
> because " nameserver.cc(117): error: destructible entities are not allowed
> inside of a statement expression"

htons is sometimes a very weird macro, so I can understand this error.

> - the second problem is a strange thing because finally it compile and start
> but when bindbackend don't find some files used in named.conf, with gcc is
> logged but it continue to load zones, while with intel compiler it rise an
> exception:
> Dec 16 11:28:23 dnstest1 pdns[7942]: Caught an exception instantiating a
> backend, cleaning up
> Dec 16 11:28:23 dnstest1 pdns[7942]: Exiting because of STL error: Unable to
> open file '/var/named/test/zzz.zone': No s
> uch file or directory
> Dec 16 11:28:24 dnstest1 pdns[7936]: Our pdns instance exited with code 1
> Dec 16 11:28:24 dnstest1 pdns[7936]: Respawning

This is very weird. Can you try searching and replacing 'runtime_error' by
'std::exception' in zoneparser-tng.cc to see if the problem goes away?

Alternatively, can you try an older version of Boost?

Good luck! 

http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services

More information about the Pdns-users mailing list