[Pdns-users] pdns 2.9.22 on RHEL6

Ian Mordey ian.mordey at griffin.com
Mon Nov 22 16:06:46 UTC 2010


Hi there

I'm trying to compile PowerDNS 2.9.22 with a MySQL backend on a RHEL 6
x86_64 box. I'm getting this error during the make:

 

if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -pthread
-D_GNU_SOURCE  -Wall -O2 -MT rcpgenerator.o -MD -MP -MF
".deps/rcpgenerator.Tpo" -c -o rcpgenerator.o `test -f
'../../rcpgenerator.cc' || echo './'`../../rcpgenerator.cc; \

                then mv -f ".deps/rcpgenerator.Tpo"
".deps/rcpgenerator.Po"; else rm -f ".deps/rcpgenerator.Tpo"; exit 1; fi

../../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

 

Any ideas how to fix?

 

Thanks

Ian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20101122/979a931b/attachment.html>


More information about the Pdns-users mailing list