[Pdns-users] Error compiling dnsscope on Fedora C3

Fahd Sultan fsultan at register.com
Mon Dec 12 17:42:32 UTC 2005


I'm trying to compile dnsscope on Fedora C3, 

Any ideas/help will be appreciated,

Thanks,

Fahd

Verison pdns-2.9.18-svn  gives me the following error:


[root at bdns01 pdns]# make dnswasher dnsscope
make: `dnswasher' is up to date.
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -Ibackends/bind -pthread
-DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\"
-DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind  -D_GNU_SOURCE  -Wall -O2
-MT dnsscope.o -MD -MP -MF ".deps/dnsscope.Tpo" -c -o dnsscope.o
dnsscope.cc; \
then mv -f ".deps/dnsscope.Tpo" ".deps/dnsscope.Po"; else rm -f
".deps/dnsscope.Tpo"; exit 1; fi
dnsscope.cc: In function `int main(int, char**)':
dnsscope.cc:56: error: 'const struct udphdr' has no member named 'dest'
dnsscope.cc:56: error: 'const struct udphdr' has no member named
'source'
dnsscope.cc:57: error: 'const struct udphdr' has no member named 'dest'
dnsscope.cc:57: error: 'const struct udphdr' has no member named
'source'
dnsscope.cc:58: warning: comparison between signed and unsigned integer
expressions
make: *** [dnsscope.o] Error 1


Verison pdns-2.9.19  gives me a very different error:

(Snipped for msg size limit)

[root at bdns01 pdns]# make dnswasher dnsscope
make: `dnswasher' is up to date.
/bin/sh ../libtool --tag=CXX --mode=link g++
-DSYSCONFDIR=\"/usr/local/pdns_test/etc\"
-DLIBDIR=\"/usr/local/pdns_test/lib\" -DLOCALSTATEDIR=\"/var/run\"
-Ibackends/bind  -D_GNU_SOURCE  -Wall -O2  -L/usr/lib/mysql  -o dnsscope
-rdynamic -pthread dnsscope.o misc.o unix_utility.o qtype.o logger.o
statbag.o dnspcap.o dnsparser.o dnsrecords.o  -lz
g++ -DSYSCONFDIR=\"/usr/local/pdns_test/etc\"
-DLIBDIR=\"/usr/local/pdns_test/lib\" -DLOCALSTATEDIR=\"/var/run\"
-Ibackends/bind -D_GNU_SOURCE -Wall -O2 -o dnsscope -rdynamic dnsscope.o
misc.o unix_utility.o qtype.o logger.o statbag.o dnspcap.o dnsparser.o
dnsrecords.o  -L/usr/lib/mysql -pthread -lz
dnsparser.o(.gnu.linkonce.t._ZN16DNSRecordContent9serializeERKSs+0x52):
In function `DNSRecordContent::serialize(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`DNSPacketWriter::DNSPacketWriter(std::vector<unsigned char,
std::allocator<unsigned char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned short,
unsigned short)'
dnsparser.o(.gnu.linkonce.t._ZN16DNSRecordContent9serializeERKSs+0x85):
In function `DNSRecordContent::serialize(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`DNSPacketWriter::startRecord(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned short,
unsigned int, unsigned short, DNSPacketWriter::Place)'
dnsparser.o(.gnu.linkonce.t._ZN16DNSRecordContent9serializeERKSs+0x97):
In function `DNSRecordContent::serialize(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to `DNSPacketWriter::commit()'
dnsparser.o(.gnu.linkonce.t._ZN16DNSRecordContent9serializeERKSs+0xa9):
In function `DNSRecordContent::serialize(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`DNSPacketWriter::getRecords(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
dnsparser.o(.gnu.linkonce.t._ZN20UnknownRecordContent8toPacketER15DNSPac
ketWriter+0x260): In function
`UnknownRecordContent::toPacket(DNSPacketWriter&)':
: undefined reference to
`DNSPacketWriter::xfrBlob(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
dnsrecords.o(.text+0x409): In function
`ARecordContent::ARecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x509): In function
`ARecordContent::ARecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x697): In function
`DNSKEYRecordContent::getZoneRepresentation() const':
: undefined reference to
`RecordTextWriter::RecordTextWriter(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
dnsrecords.o(.text+0x70c): In function
`DNSKEYRecordContent::DNSKEYRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x820): In function
`DNSKEYRecordContent::DNSKEYRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x9cb): In function
`RRSIGRecordContent::getZoneRepresentation() const':
: undefined reference to
`RecordTextWriter::RecordTextWriter(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
dnsrecords.o(.text+0xa47): In function
`RRSIGRecordContent::RRSIGRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0xb6b): In function
`RRSIGRecordContent::RRSIGRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0xd47): In function
`DSRecordContent::getZoneRepresentation() const':
: undefined reference to
`RecordTextWriter::RecordTextWriter(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
dnsrecords.o(.text+0xdbc): In function
`DSRecordContent::DSRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0xed0): In function
`DSRecordContent::DSRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x107b): In function
`SOARecordContent::getZoneRepresentation() const':
: undefined reference to
`RecordTextWriter::RecordTextWriter(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
dnsrecords.o(.text+0x10f7): In function
`SOARecordContent::SOARecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x121b): In function
`SOARecordContent::SOARecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x13f7): In function
`SRVRecordContent::getZoneRepresentation() const':
: undefined reference to
`RecordTextWriter::RecordTextWriter(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
dnsrecords.o(.text+0x146c): In function
`SRVRecordContent::SRVRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x1580): In function
`SRVRecordContent::SRVRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x172b): In function
`NAPTRRecordContent::getZoneRepresentation() const':
: undefined reference to
`RecordTextWriter::RecordTextWriter(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
dnsrecords.o(.text+0x17b5): In function
`NAPTRRecordContent::NAPTRRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x18fd): In function
`NAPTRRecordContent::NAPTRRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x1b37): In function
`MXRecordContent::getZoneRepresentation() const':
: undefined reference to
`RecordTextWriter::RecordTextWriter(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
dnsrecords.o(.text+0x1bac): In function
`MXRecordContent::MXRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x1cc0): In function
`MXRecordContent::MXRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x1e6b): In function
`OPTRecordContent::getZoneRepresentation() const':
: undefined reference to
`RecordTextWriter::RecordTextWriter(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
dnsrecords.o(.text+0x1ee0): In function
`OPTRecordContent::OPTRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
dnsrecords.o(.text+0x1ff4): In function
`OPTRecordContent::OPTRecordContent(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to
`RecordTextReader::RecordTextReader(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
........................................................................
...............


 
Fahd Sultan
Systems Engineering,
Register.com Inc.

212.798.9206
 
This e-mail message, and any attachments thereto, is for the sole use of
the intended recipient(s) and may contain legally privileged and/or
confidential information. Any unauthorized review, use, disclosure or
distribution is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply email and permanently
delete all copies of the original message.
 


More information about the Pdns-users mailing list