[Pdns-dev] failing compile on Solaris 10 u1

Eric Sproul esproul at omniti.com
Thu Apr 20 12:42:34 CEST 2006

bert hubert wrote:
> You probably didn't do anything wrong. What probably happens is that both
> PowerDNS and Solaris x86_64 use the same name for something, which colides.
> Can you run:
> g++ -E -o dnsrecords.e dnsrecords.cc
> And send me dnsrecords.e? If you did anything to find boost, like
> -I./boost_1_33_1, please add that to the command line as well.
> This will help me figure out where the collision is.


$ CXXFLAGS=-I/export/home/esproul/src/boost_1_33_1 g++ -E -o 
dnsrecords.e dnsrecords.cc
In file included from dnsrecords.hh:22,
                  from dnsrecords.cc:19:
dnsparser.hh:31:32: boost/shared_ptr.hpp: No such file or directory
dnsparser.hh:32:34: boost/lexical_cast.hpp: No such file or directory
dnsparser.hh:33:33: boost/tuple/tuple.hpp: No such file or directory
dnsparser.hh:34:44: boost/tuple/tuple_comparison.hpp: No such file or 


$ cd /export/home/esproul/src/boost_1_33_1
$ ls -l boost/shared_ptr.hpp
-rw-r--r--   1 esproul  other      11648 Apr  2  2005 boost/shared_ptr.hpp

Likewise for all the others.

More information about the Pdns-dev mailing list