如文档中所述,试图将pdns-4.1.5与Oracle Linux 7上的oracle后端兼容,如下所示:
./configure --prefix=/opt/pdns --with-modules=oracle --with-oracle-includes=$ORACLE_HOME/rdbms/public --with-oracle-libs=$ORACLE_HOME/lib --with-lua --with-luajit
配置进行得很好,但是当我make
时出现以下错误:
CXX oraclebackend.lo
In file included from oraclebackend.cc:33:0:
oraclebackend.hh:78:18: error: 'std::vector<std::basic_string<char> > OracleBackend::getDomainMasters(const DNSName&, int)' marked override, but does not override
vector<string> getDomainMasters(const DNSName& domain, int zoneId) override;
^
oraclebackend.hh:88:8: error: 'bool OracleBackend::feedRecord(const DNSResourceRecord&, DNSName)' marked override, but does not override
bool feedRecord(const DNSResourceRecord &rr, const DNSName ordername) override;
尝试使用18c库和标头以及11g。 那么有办法解决吗? 谢谢。