On Thu, 27 May 2010 06:05:58 you wrote: > On Thu, May 27, 2010 at 12:41:09AM +1200, Michael wrote: > > On Slackware 13.0 while running Make: > > > > I have successfully configured, compiled (and happily running) this on 2 > > other Slackware machines - one running 12.0 and the other 13.0, and I > > really am not sure what the difference between them is. > > Michael, > > The difference is the gcc version. More recent versions have changed their > 'include' hierarchy. > > Try adding #include <stdio.h> to the list of other includes in the file > rcpgenerator.cc. > > The up & coming pdns 3.0 has these fixes for newer gcc's included already.
I have tried this and it's now spitting the following error: ../dnsparser.cc; \ then mv -f ".deps/dnsparser.Tpo" ".deps/dnsparser.Po"; else rm -f ".deps/dnsparser.Tpo"; exit 1; fi ../../dnsparser.cc: In member function 'virtual std::string UnknownRecordContent::getZoneRepresentation() const': ../../dnsparser.cc:46: error: 'snprintf' was not declared in this scope ../../dnsparser.cc: In member function 'virtual void UnknownRecordContent::toPacket(DNSPacketWriter&)': ../../dnsparser.cc:67: error: 'sscanf' was not declared in this scope make[4]: *** [dnsparser.o] Error 1 make[4]: Leaving directory `/root/pdns-2.9.22/pdns/backends/bind' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/pdns-2.9.22/pdns/backends' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/pdns-2.9.22/pdns' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/pdns-2.9.22' make: *** [all] Error 2 r...@hostname:~/pdns-2.9.22# _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users