[dns-stats-users] Compactor Compile Problem

Peter DeVries pdevries at quotient-inc.com
Wed Nov 22 03:45:49 UTC 2017

Hi all, trying to compile compactor on a linux system.  I've got all
the dependencies met and configure completes successfully but make is
failing with the following errors.   Any advice is appreciated.


make all-am
make[1]: Entering directory '/home/peter/Downloads/dns-stats-compactor-0.10.1'
  CXX      src/compactor-baseoutputwriter.o
In file included from src/dnsmessage.hpp:22:0,
                 from src/baseoutputwriter.hpp:20,
                 from src/baseoutputwriter.cpp:15:
src/capturedns.hpp: In member function ‘virtual CaptureDNS*
CaptureDNS::clone() const’:
src/capturedns.hpp:649:36: error: invalid new-expression of abstract
class type ‘CaptureDNS’
         return new CaptureDNS(*this);
src/capturedns.hpp:72:7: note:   because the following virtual
functions are pure within ‘CaptureDNS’:
 class CaptureDNS : public Tins::PDU
In file included from /usr/local/include/tins/dns.h:39:0,
                 from /usr/local/include/tins/tins.h:33,
                 from src/ipaddress.hpp:22,
                 from src/configuration.hpp:21,
                 from src/baseoutputwriter.cpp:13:
/usr/local/include/tins/pdu.h:516:18: note:     virtual void
Tins::PDU::write_serialization(uint8_t*, uint32_t)
     virtual void write_serialization(uint8_t* buffer, uint32_t total_sz) = 0;
In file included from src/baseoutputwriter.hpp:20:0,
                 from src/baseoutputwriter.cpp:15:
src/dnsmessage.hpp: At global scope:
src/dnsmessage.hpp:228:16: error: cannot declare field
‘DNSMessage::dns’ to be of abstract type ‘CaptureDNS’
     CaptureDNS dns;
Makefile:1261: recipe for target 'src/compactor-baseoutputwriter.o' failed
make[1]: *** [src/compactor-baseoutputwriter.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.dns-stats.org/pipermail/dns-stats-users/attachments/20171121/d108bb6e/attachment.html>

More information about the dns-stats-users mailing list