===> Building for pdns-recursor-3.1.4
PLEASE READ: If you get an error mentioning #include
<boost/something.hpp>, please read README
PLEASE READ: for an easy fix!
mkdir optional
c++ -O -pipe -I/usr/pkg/include -I/usr/include -Wall -O3
-I/usr/pkg/include -I/usr/include -c -o syncres.o syncres.cc
In file included from syncres.hh:4,
from syncres.cc:21:
dns.hh:179:1: warning: "LITTLE_ENDIAN" redefined
In file included from /usr/include/sys/types.h:56,
from /usr/include/c++/3.4/bits/os_defines.h:36,
from /usr/include/c++/3.4/bits/c++config.h:37,
from /usr/include/c++/3.4/string:45,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/std/string_traits.hpp:14,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/std_containers_traits.hpp:18,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string.hpp:17,
from syncres.cc:19:
/usr/include/machine/endian.h:67:1: warning: this is the location of the
previous definition
In file included from syncres.hh:4,
from syncres.cc:21:
dns.hh:180:1: warning: "BIG_ENDIAN" redefined
In file included from /usr/include/sys/types.h:56,
from /usr/include/c++/3.4/bits/os_defines.h:36,
from /usr/include/c++/3.4/bits/c++config.h:37,
from /usr/include/c++/3.4/string:45,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/std/string_traits.hpp:14,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/std_containers_traits.hpp:18,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string.hpp:17,
from syncres.cc:19:
/usr/include/machine/endian.h:68:1: warning: this is the location of the
previous definition
In file included from syncres.hh:4,
from syncres.cc:21:
dns.hh:181:1: warning: "PDP_ENDIAN" redefined
In file included from /usr/include/sys/types.h:56,
from /usr/include/c++/3.4/bits/os_defines.h:36,
from /usr/include/c++/3.4/bits/c++config.h:37,
from /usr/include/c++/3.4/string:45,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/std/string_traits.hpp:14,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/std_containers_traits.hpp:18,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string.hpp:17,
from syncres.cc:19:
/usr/include/machine/endian.h:69:1: warning: this is the location of the
previous definition
In file included from syncres.hh:4,
from syncres.cc:21:
dns.hh:188:1: warning: "BYTE_ORDER" redefined
In file included from /usr/include/sys/types.h:56,
from /usr/include/c++/3.4/bits/os_defines.h:36,
from /usr/include/c++/3.4/bits/c++config.h:37,
from /usr/include/c++/3.4/string:45,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/std/string_traits.hpp:14,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/std_containers_traits.hpp:18,
from
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include/boost/algorithm/string.hpp:17,
from syncres.cc:19:
/usr/include/machine/endian.h:70:1: warning: this is the location of the
previous definition
In file included from mtasker.hh:107,
from syncres.hh:20,
from syncres.cc:21:
mtasker.cc: In member function `void MTasker<EventKey, EventVal>::yield()':
mtasker.cc:196: error: there are no arguments to `swapcontext' that
depend on a template parameter, so a declaration of `swapcontext' must
be available
mtasker.cc:196: error: (if you use `-fpermissive', G++ will accept your
code, but allowing the use of an undeclared name is deprecated)
mtasker.cc: In member function `int MTasker<EventKey,
EventVal>::sendEvent(const EventKey&, const EventVal*)':
mtasker.cc:227: error: there are no arguments to `swapcontext' that
depend on a template parameter, so a declaration of `swapcontext' must
be available
mtasker.cc: In member function `void MTasker<EventKey,
EventVal>::makeThread(void (*)(void*), void*)':
mtasker.cc:243: error: there are no arguments to `getcontext' that
depend on a template parameter, so a declaration of `getcontext' must be
available
mtasker.cc: In member function `bool MTasker<EventKey,
EventVal>::schedule(unsigned int)':
mtasker.cc:274: error: there are no arguments to `swapcontext' that
depend on a template parameter, so a declaration of `swapcontext' must
be available
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/obj/pkgsrc/wip/powerdns-recursor/work/.gcc/bin/g++ -O -pipe
-I/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/include -Wall
-O3 -c -o syncres.o syncres.cc
-L/usr/obj/pkgsrc/wip/powerdns-recursor/work/.buildlink/lib
gmake: *** [syncres.o] Error 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/wip/powerdns-recursor
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/wip/powerdns-recursor