[Pdns-users] Heading up to 3.0 release of PowerDNS recursor

Juergen Georgi georgi at belwue.de
Wed Apr 19 10:28:12 UTC 2006


On Apr 19, 11:34, bert hubert wrote:
> Subject: Re: [Pdns-users] Heading up to 3.0 release of PowerDNS recursor
> On Wed, Apr 19, 2006 at 10:49:28AM +0200, Juergen Georgi wrote:
> 
> > Compiling on Solaris-8 (g++ 3.3.2) fails now with
> 
> Can you try http://svn.powerdns.com/pdns-recursor-3.0-pre3.tar.bz2 to see if
> it fixes your problem at least on Solaris 10?
> 
> I compiled PowerDNS on Solaris 10 just minutes ago, except for the usual
> -lnsl -lsocket -lresolv stuff it just works.
> 
> > g++ -I/home/georgi/src/boost_1_33_1 -Wall -O3  -DSOLARIS  -c -o pdns_recursor.o pdns_recursor.cc
> 
> The main difference is that you do -DSOLARIS. If you drop that, I bet things
> will work.

Yes. Without -DSOLARIS pre3 compiles cleanly on Solaris 10.

However, on Solaris 8 it only builds with -DSOLARIS. Not quite cleanly,
since it complains

g++ -I/home/georgi/src/boost_1_33_1 -Wall -O3  -c portsmplexer.cc -o optional/portsmplexer.o  ; true
portsmplexer.cc:10:18: port.h: No such file or directory
portsmplexer.cc:11:27: sys/port_impl.h: No such file or directory
portsmplexer.cc:36: error: `port_event_t' was not declared in this scope
portsmplexer.cc:36: error: template argument 1 is invalid
portsmplexer.cc:36: error: ISO C++ forbids declaration of `d_pevents' with no 
   type
portsmplexer.cc: In constructor `PortsFDMultiplexer::PortsFDMultiplexer()':
portsmplexer.cc:55: error: parse error before `[' token
portsmplexer.cc:57: error: `port_create' undeclared (first use this function)
portsmplexer.cc:57: error: (Each undeclared identifier is reported only once 
   for each function it appears in.)
portsmplexer.cc: In member function `virtual void 
   PortsFDMultiplexer::addFD(std::map<int, FDMultiplexer::Callback, 
   std::less<int>, std::allocator<std::pair<const int, FDMultiplexer::Callback> 
   > >&, int, boost::function<void ()(int, boost::any&), std::allocator<void> 
   >, const boost::any&)':
portsmplexer.cc:66: error: `PORT_SOURCE_FD' undeclared (first use this 
   function)
portsmplexer.cc:66: error: `port_associate' undeclared (first use this 
   function)
portsmplexer.cc: In member function `virtual void 
   PortsFDMultiplexer::removeFD(std::map<int, FDMultiplexer::Callback, 
   std::less<int>, std::allocator<std::pair<const int, FDMultiplexer::Callback> 
   > >&, int)':
portsmplexer.cc:77: error: `port_dissociate' undeclared (first use this 
   function)
portsmplexer.cc: In member function `virtual int 
   PortsFDMultiplexer::run(timeval*)':
portsmplexer.cc:90: error: request for member `get' in `
   this->PortsFDMultiplexer::d_pevents', which is of non-aggregate type `int'
portsmplexer.cc:90: error: `PORT_MAX_LIST' undeclared (first use this function)
portsmplexer.cc:90: error: `port_getn' undeclared (first use this function)
portsmplexer.cc:103: error: invalid types `int[unsigned int]' for array 
   subscript
portsmplexer.cc:107: error: invalid types `int[unsigned int]' for array 
   subscript
portsmplexer.cc:107: error: invalid types `int[unsigned int]' for array 
   subscript
portsmplexer.cc:108: error: `port_associate' undeclared (first use this 
   function)
portsmplexer.cc:112: error: invalid types `int[unsigned int]' for array 
   subscript
portsmplexer.cc:116: error: invalid types `int[unsigned int]' for array 
   subscript
portsmplexer.cc:116: error: invalid types `int[unsigned int]' for array 
   subscript


Thanks,

-Juergen Georgi


More information about the Pdns-users mailing list