[Pdns-dev] failing compile on Solaris 10 u1
    bert hubert 
    bert.hubert at netherlabs.nl
       
    Thu Apr 20 18:06:38 CEST 2006
    
    
  
On Thu, Apr 20, 2006 at 10:58:27AM -0400, Eric Sproul wrote:
> dnsrecords.o dnsrecords.cc
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
Eric, 
I test on SunOS t2000 5.10 Generic_118822-20 sun4v sparc SUNW,Sun-Fire-T200
with gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) and I don't see
this problem.
For a solution, try inserting:
#undef DS
On the first line of dnsrecords.hh. Alternatively, remove the following lines from
dnsrecords.cc:
boilerplate_conv(DS, 43, 
		 conv.xfr16BitInt(d_tag); 
		 conv.xfr8BitInt(d_algorithm); 
		 conv.xfr8BitInt(d_digesttype); 
		 conv.xfrHexBlob(d_digest);
		 )
and 
   DSRecordContent::report();
and from dnsrecords.hh:
class DSRecordContent : public DNSRecordContent
{
public:
  includeboilerplate(DS)
private:
  uint16_t d_tag;
  uint8_t d_algorithm, d_digesttype;
  string d_digest;
};
Completely - they are not needed for current PowerDNS use.
-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services
    
    
More information about the Pdns-dev
mailing list