On Thu, 27 May 2010 04:59:59 David Hawthorne wrote:
I ran into this on ubuntu as well, with all the dependencies properly
installed tyvm.
../../rcpgenerator.cc: In member function ‘void
RecordTextReader::xfrTime(uint32_t)’: ../../rcpgenerator.cc:75: error:
‘sscanf’ was not declared in this scope ../../rcpgenerator.cc: In member
function ‘void RecordTextWriter::xfrTime(const uint32_t)’:
../../rcpgenerator.cc:363: error: ‘snprintf’ was not declared in this scope
../../rcpgenerator.cc: In member function ‘void
RecordTextWriter::xfrHexBlob(const std::string)’:
../../rcpgenerator.cc:415: error: ‘snprintf’ was not declared in this scope
It requires #include cstdio to fix.
Same with:
../../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
Just requires #include cstdio to fix. I put it in dnsparser.hh.
This information was what I needed - thanks :-)
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users