[Pdns-users] pdns-recursor on Solaris
Anatoliy Kushner
lamazavra at gmail.com
Tue Jul 1 15:43:08 UTC 2008
May be you can help me. I try build pdns-recursor , but alweys catch
the same error.
Stage ./configure is clean
ns3:~/pdns-recursor-3.1.7>
CXXFLAGS="-I/export/home/akushner/boost_1_35_0" ./configure
Testing dependencies and compiler.
Using gmake to build
g++ -I/export/home/akushner/boost_1_35_0 -Wall
-DBOOST_SP_DISABLE_THREADS -O3 -MM -MG *.cc *.c *.hh > dep
g++ -I/export/home/akushner/boost_1_35_0 -Wall
-DBOOST_SP_DISABLE_THREADS -O3 pdns_hw.cc -o pdns_hw
Everything ok, now run gmake using same settings (if any) you passed ./configure
ns3:~/pdns-recursor-3.1.7> CXXFLAGS="-I/export/home/akushner/boost_1_35_0" gmake
g++ -I/export/home/akushner/boost_1_35_0 -Wall
-DBOOST_SP_DISABLE_THREADS -O3 -MM -MG *.cc *.c *.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/akushner/boost_1_35_0 -Wall
-DBOOST_SP_DISABLE_THREADS -O3 -c portsmplexer.cc -o
optional/portsmplexer.o ; true
In file included from syncres.hh:16,
from portsmplexer.cc:7:
recursor_cache.hh:36: error: use of `uint32_t' is ambiguous
/usr/include/sys/int_types.h:74: error: first declared as `typedef
unsigned int uint32_t' here
/export/home/akushner/boost_1_35_0/boost/cstdint.hpp:239: error:
also declared as `typedef long unsigned int boost::uint32_t' here
recursor_cache.hh:36: error: `uint32_t' has not been declared
recursor_cache.hh:36: error: use of `uint16_t' is ambiguous
/usr/include/sys/int_types.h:73: error: first declared as `typedef
short unsigned int uint16_t' here
/export/home/akushner/boost_1_35_0/boost/cstdint.hpp:219: error:
also declared as `typedef short unsigned int boost::uint16_t' here
recursor_cache.hh:36: error: `uint16_t' has not been declared
recursor_cache.hh:36: error: ISO C++ forbids declaration of `ttd' with no type
recursor_cache.hh:36: error: ISO C++ forbids declaration of `len' with no type
recursor_cache.hh:41: error: use of `uint16_t' is ambiguous
/usr/include/sys/int_types.h:73: error: first declared as `typedef
short unsigned int uint16_t' here
/export/home/akushner/boost_1_35_0/boost/cstdint.hpp:219: error:
also declared as `typedef short unsigned int boost::uint16_t' here
recursor_cache.hh:41: error: `uint16_t' has not been declared
recursor_cache.hh:41: error: ISO C++ forbids declaration of `qtype' with no type
recursor_cache.hh:42: error: `uint64_t' does not name a type
recursor_cache.hh:48: error: `uint32_t' does not name a type
recursor_cache.hh:66: error: expected `)' before "limit"
recursor_cache.hh:74: error: `uint32_t' does not name a type
recursor_cache.hh:81: error: `uint16_t' does not name a type
recursor_cache.hh:84: error: `uint16_t' was not declared in this scope
recursor_cache.hh:84: error: template argument 2 is invalid
recursor_cache.hh:84: error: ISO C++ forbids declaration of `key' with no type
recursor_cache.hh:90: error: `uint32_t' does not name a type
recursor_cache.hh:109: error: `uint16_t' was not declared in this scope
recursor_cache.hh:109: error: `d_qtype' is not a member of
`MemRecursorCache::CacheEntry'
recursor_cache.hh:110: error: template argument 2 is invalid
recursor_cache.hh:110: error: template argument 3 is invalid
recursor_cache.hh:110: error: template argument 3 is invalid
recursor_cache.hh:111: error: `uint16_t' was not declared in this scope
recursor_cache.hh:111: error: template argument 1 is invalid
recursor_cache.hh:112: error: template argument 2 is invalid
recursor_cache.hh:112: error: template argument 1 is invalid
More information about the Pdns-users
mailing list