[Pdns-users] Heading up to 3.0 release of PowerDNS recursor
Juergen Georgi
georgi at belwue.de
Wed Apr 19 08:49:28 UTC 2006
On Mon 2006-04-17 (02:19), bert hubert wrote:
>
> The 3.0 release is almost ready, I've made 3.0-pre2 available on:
>
> [...]
>
> Please let me know any problems you experience ASAP, the 3.0 release is
> around the corner!
On Solaris-8, there is no stdint.h. It is referenced in dnswriter.hh,
rcpgenerator.hh and rec_channel.hh. I ifndef'ed the includes, they
aren't needed - at least previous versions of pdns-recursor compiled
without it.
Compiling on Solaris-8 (g++ 3.3.2) fails now with
g++ -I/home/georgi/src/boost_1_33_1 -Wall -O3 -DSOLARIS -c -o recursor_cache.o recursor_cache.cc
/usr/local/include/c++/3.3.2/bits/stl_iterator_base_types.h: In instantiation of `std::iterator_traits<int>':
/usr/local/include/c++/3.3.2/bits/basic_string.h:624: instantiated from `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, __gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >, _InputIterator, _InputIterator) [with _InputIterator = int, _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/local/include/c++/3.3.2/bits/basic_string.h:492: instantiated from `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(_InputIterator, _InputIterator) [with _InputIterator = int, _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
recursor_cache.cc:47: instantiated from here
/usr/local/include/c++/3.3.2/bits/stl_iterator_base_types.h:126: error: `
int' is not a class, struct, or union type
/usr/local/include/c++/3.3.2/bits/stl_iterator_base_types.h:127: error: `
int' is not a class, struct, or union type
/usr/local/include/c++/3.3.2/bits/stl_iterator_base_types.h:128: error: `
int' is not a class, struct, or union type
/usr/local/include/c++/3.3.2/bits/stl_iterator_base_types.h:129: error: `
int' is not a class, struct, or union type
/usr/local/include/c++/3.3.2/bits/stl_iterator_base_types.h:130: error: `
int' is not a class, struct, or union type
/usr/local/include/c++/3.3.2/bits/basic_string.h: In member function
`std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
_Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<typename
_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >,
__gnu_cxx::__normal_iterator<typename _Alloc::pointer,
std::basic_string<_CharT, _Traits, _Alloc> >, _InputIterator,
_InputIterator) [with _InputIterator = int, _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]':
/usr/local/include/c++/3.3.2/bits/basic_string.h:492: instantiated from `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(_InputIterator, _InputIterator) [with _InputIterator = int, _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
recursor_cache.cc:47: instantiated from here
/usr/local/include/c++/3.3.2/bits/basic_string.h:624: error: no type
named `iterator_category' in `struct std::iterator_traits<int>'
make: *** [recursor_cache.o] Error 1
So I tried to build it on Solaris-10 (g++ 3.4.4), but it fails, too:
g++ -I/home/georgi/src/boost_1_33_1 -Wall -O3 -DSOLARIS -c -o pdns_recursor.o pdns_recursor.cc
mtasker.cc: In member function `void MTasker<EventKey, EventVal>::makeThread(void (*)(void*), void*) [with EventKey = PacketID, EventVal = std::string]':
pdns_recursor.cc:687: instantiated from here
mtasker.cc:248: error: invalid conversion from `void (*)(...)' to `void (*)()'
mtasker.cc:248: error: initializing argument 2 of `void makecontext(ucontext_t*, void (*)(), int, ...)'
gmake: *** [pdns_recursor.o] Error 1
Regards,
-Juergen Georgi
More information about the Pdns-users
mailing list