[Pdns-users] Feedback on the recursor 3.0 requested + 3.0.1

Mark Moseley moseleymark at gmail.com
Wed Apr 26 19:26:04 UTC 2006


I'm getting an error trying to compile recursor 3.0.1 on a Redhat 9 box
(same sort of box that I compile pdns on all the time). glibc is 2.3.2 (
glibc-2.3.2-27.9.7.2.legacy to be exact) and gcc is 3.2.2 (gcc version
3.2.220030222 (Red Hat Linux
3.2.2-5)). The boost src dir in ./boost_1_33_1/, inside the
pdns-recursor-3.0.1 directory (and was found fine by configure). The error
is somewhat bizarre, though I'm much more used to seeing C errors instead of
C++, so might be something very obvious to you guys :)


Output of make:

[root at res08 pdns-recursor-3.0]# CXXFLAGS=-I./boost_1_33_1/ make

PLEASE READ: If you get an error mentioning #include <boost/something.hpp>,
please read README
PLEASE READ: for an easy fix!

g++ -I./boost_1_33_1/ -Wall -O3    -c -o rec_channel.o rec_channel.cc
In file included from rec_channel.cc:1:
rec_channel.hh: In destructor
   `RecursorControlChannel::~RecursorControlChannel()':
rec_channel.hh:22: `close' undeclared (first use this function)
rec_channel.hh:22: (Each undeclared identifier is reported only once for
each
   function it appears in.)
rec_channel.hh:24: `unlink' undeclared (first use this function)
In file included from rec_channel.cc:4:
/usr/include/unistd.h: At global scope:
/usr/include/unistd.h:306: `int close(int)' used prior to declaration
In file included from rec_channel.cc:4:
/usr/include/unistd.h:711: `int unlink(const char*)' used prior to
declaration
make: *** [rec_channel.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20060426/a62ec846/attachment-0001.html>


More information about the Pdns-users mailing list