[Pdns-dev] failing compile on Solaris 10 u1

bert hubert bert.hubert at netherlabs.nl
Thu Apr 20 19:24:41 CEST 2006


For Solaris 10 on Intel users, the problem reported below is fixed by
inserting the following on line 249 of dnsrecords.cc:

#undef DS

Thanks to Eric Sproul for helping debug this.

Oh, btw, some more release news:
http://blog.netherlabs.nl/articles/2006/04/20/powerdns-recursor-3-0-released-challenging-existing-nameservers


On Thu, Apr 20, 2006 at 10:58:27AM -0400, Eric Sproul wrote:
> Hi,
> So yesterday I hear about this new high-performance recursor that would 
> be perfect for my needs.  I'm all ears.  I've been attempting to build 
> several of the prerelease snapshots of 3.0 and just now I've tried the 
> shiny new release, all with the same error.  I suppose it's something 
> with my build environment but I'll confess I've not done too much 
> development on Solaris to date, and I've only been working with pdns for 
> less than 24 hours.  :)  Can someone help me get it right?
> 
> I have:
> $ gcc --version
> gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
> 
> $ gmake --version
> GNU Make 3.80
> 
> Basically, a fresh install of Solaris 10 with bits of Software Companion 
> added as needed.  I also have Sun Studio 11 but the docs indicated pdns 
> really prefers gcc.
> 
> On a clean tree of pdns-recursor-3.0, I do:
> 
> $ CXXFLAGS=-I/export/home/esproul/src/boost_1_33_1 gmake
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3  -MM -MG *.cc *.hh 
> > dep
> 
> PLEASE READ: If you get an error mentioning #include 
> <boost/something.hpp>, please read README
> PLEASE READ: for an easy fix!
> 
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3  -c 
> portsmplexer.cc -o optional/portsmplexer.o  ; true
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o syncres.o 
> syncres.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o misc.o 
> misc.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o 
> unix_utility.o unix_utility.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o qtype.o 
> qtype.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o logger.o 
> logger.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o 
> arguments.o arguments.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o lwres.o 
> lwres.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o 
> pdns_recursor.o pdns_recursor.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o 
> recursor_cache.o recursor_cache.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o 
> dnsparser.o dnsparser.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o 
> dnswriter.o dnswriter.cc
> g++ -I/export/home/esproul/src/boost_1_33_1 -Wall -O3    -c -o 
> dnsrecords.o dnsrecords.cc
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:250: error: expected unqualified-id before numeric constant
> dnsrecords.cc:250: error: expected `,' or `;' before numeric constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:250: error: expected unqualified-id before numeric constant
> dnsrecords.cc:250: error: expected `,' or `;' before numeric constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:250: error: expected unqualified-id before numeric constant
> dnsrecords.cc:250: error: expected `,' or `;' before numeric constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:250: error: expected unqualified-id before numeric constant
> dnsrecords.cc:250: error: expected `,' or `;' before numeric constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:250: error: expected unqualified-id before numeric constant
> dnsrecords.cc:250: error: expected `,' or `;' before numeric constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:250: error: expected unqualified-id before numeric constant
> dnsrecords.cc:250: error: expected `,' or `;' before numeric constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> dnsrecords.cc:250: error: expected unqualified-id before numeric constant
> dnsrecords.cc:250: error: expected `,' or `;' before numeric constant
> dnsrecords.cc:255:1: invalid suffix "RecordContent" on integer constant
> gmake: *** [dnsrecords.o] Error 1
> 
> 
> Thanks!
> Eric
> _______________________________________________
> Pdns-dev mailing list
> Pdns-dev at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
> 
> 
> !DSPAM:4447a15815981439915777!

-- 
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