[Pdns-dev] failing compile on Solaris 10 u1
Eric Sproul
esproul at omniti.com
Thu Apr 20 11:58:27 CEST 2006
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
More information about the Pdns-dev
mailing list