Ticket #266 (closed defect: fixed)
dnsscope compilation problem
| Reported by: | anon | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | component1 | Version: | |
| Severity: | normal | Keywords: | dnsscope, compilation problem |
| Cc: | s.lobanov@… |
Description
I'm using SLES11 and I would like to build dnsscope.
server:usr/src/pdns/pdns-2.9.22/pdns # make dnswasher dnsreplay dnsscope make: `dnswasher' is up to date. make: `dnsreplay' 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 -pthread -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:79: error: no match for ‘operator=’ in ‘qd->QuestionData::d_firstquestiontime = pr.PcapPacketReader::d_pheader.pdns_pcap_pkthdr::ts’ /usr/include/bits/time.h:70: note: candidates are: timeval& timeval::operator=(const timeval&) make: *** [dnsscope.o] Error 1
rpm -qa | grep -i boost boost-license-1.36.0-11.17 libboost_serialization1_36_0-1.36.0-11.17 libboost_filesystem1_36_0-1.36.0-11.17 libboost_math1_36_0-1.36.0-11.17 boost-devel-1.36.0-11.17 libboost_regex1_36_0-1.36.0-11.17 libboost_test1_36_0-1.36.0-11.17 libboost_program_options1_36_0-1.36.0-11.17 libboost_date_time1_36_0-1.36.0-11.17 libboost_mpi1_36_0-1.36.0-11.17 libboost_signals1_36_0-1.36.0-11.17 libboost_thread1_36_0-1.36.0-11.17 libboost_python1_36_0-1.36.0-11.17 libboost_graph1_36_0-1.36.0-11.17 libboost_wave1_36_0-1.36.0-11.17 libboost_iostreams1_36_0-1.36.0-11.17 libboost_system1_36_0-1.36.0-11.17
g++ -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl= http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux)
How to I compile dnsscope?