[Pdns-dev] failing compile on Solaris 10 u1

Eric Sproul esproul at omniti.com
Thu Apr 20 12:22:16 CEST 2006


bert hubert wrote:
> 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.

I'm on
SunOS builder 5.10 Generic_118844-26 i86pc i386 i86pc
which is running 64-bit on Opteron.

I just wonder if I forgot to install something.  The person that 
installed the box (it's in a datacenter hundreds of miles away) didn't 
do a full OEM install with Software Companion, so I'm building up as I go.

> 
> For a solution, try inserting:
> 
> #undef DS
> 
> On the first line of dnsrecords.hh. 

Didn't work; same error as before.

> Alternatively, remove the following lines

That got it to compile.  Now I can try it out.  :)

Thanks!
Eric


More information about the Pdns-dev mailing list