/bin/sh ../../../../libtool --tag=CXX --mode=compile c++ -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"10.1.0-rc2\" -DPACKAGE_STRING=\"Mesa\ 10.1.0-rc2\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.1.0-rc2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I../../../../../GIT/src/gallium/state_trackers/clover -DHAVE_PIPE_LOADER_DRM -DHAVE_PIPE_LOADER_XCB -DPIPE_SEARCH_DIR=\"/home/dumbbell/Projects/xorg/opencl/lib/gallium-pipe\" -I../../../../../GIT/include -I../../../../../GIT/src/gallium/include -I../../../../../GIT/src/gallium/drivers -I../../../../../GIT/src/gallium/auxiliary -I../../../../../GIT/src/gallium/winsys -I../../../../../GIT/src/gallium/state_trackers/clover -std=c++0x -fvisibility=hidden -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp -Qunused-arguments -MT api/libclover_la-memory.lo -MD -MP -MF api/.deps/libclover_la-memory.Tpo -c -o api/libclover_la-memory.lo `test -f 'api/memory.cpp' || echo '../../../../../GIT/src/gallium/state_trackers/clover/'`api/memory.cpp libtool: compile: c++ -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"10.1.0-rc2\" "-DPACKAGE_STRING=\"Mesa 10.1.0-rc2\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.1.0-rc2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I../../../../../GIT/src/gallium/state_trackers/clover -DHAVE_PIPE_LOADER_DRM -DHAVE_PIPE_LOADER_XCB -DPIPE_SEARCH_DIR=\"/home/dumbbell/Projects/xorg/opencl/lib/gallium-pipe\" -I../../../../../GIT/include -I../../../../../GIT/src/gallium/include -I../../../../../GIT/src/gallium/drivers -I../../../../../GIT/src/gallium/auxiliary -I../../../../../GIT/src/gallium/winsys -I../../../../../GIT/src/gallium/state_trackers/clover -std=c++0x -fvisibility=hidden -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp -Qunused-arguments -MT api/libclover_la-memory.lo -MD -MP -MF api/.deps/libclover_la-memory.Tpo -c ../../../../../GIT/src/gallium/state_trackers/clover/api/memory.cpp -fPIC -DPIC -o api/.libs/libclover_la-memory.o In file included from ../../../../../GIT/src/gallium/state_trackers/clover/api/memory.cpp:24: In file included from ../../../../../GIT/src/gallium/state_trackers/clover/api/util.hpp:29: In file included from ../../../../../GIT/src/gallium/state_trackers/clover/core/property.hpp:28: In file included from ../../../../../GIT/src/gallium/state_trackers/clover/util/range.hpp:29: In file included from ../../../../../GIT/src/gallium/state_trackers/clover/util/adaptor.hpp:28: ../../../../../GIT/src/gallium/state_trackers/clover/util/tuple.hpp:61:16: error: no matching function for call to object of type 'const std::__1::__mem_fn' std::declval()(std::get(std::declval())...) ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../GIT/src/gallium/state_trackers/clover/util/tuple.hpp:76:24: note: in instantiation of template class 'clover::tuple::detail::_apply &, std::__1::tuple, clover::tuple::integral_sequence<0> >' requested here typename detail::_apply::value_type ^ ../../../../../GIT/src/gallium/state_trackers/clover/util/tuple.hpp:77:7: note: while substituting deduced template arguments into function template 'apply' [with F = const std::__1::__mem_fn &, T = std::__1::tuple] apply(F &&f, T &&t) { ^ ../../../../../GIT/src/gallium/state_trackers/clover/util/algorithm.hpp:130:50: note: in instantiation of member function 'clover::detail::iterator_adaptor, clover::detail::iterator_adaptor > >::operator*' requested here for (detail::preferred_reference_type x : r) ^ ../../../../../GIT/src/gallium/state_trackers/clover/api/memory.cpp:40:15: note: in instantiation of function template specialization 'clover::fold, clover::adaptor_range > &> > >' requested here size > fold(maximum(), cl_ulong(0), ^ /usr/include/c++/v1/functional:1224:11: note: candidate function not viable: 'this' argument has type 'const std::__1::__mem_fn', but method is not marked const operator() (_ArgTypes&&... __args) ^ In file included from ../../../../../GIT/src/gallium/state_trackers/clover/api/memory.cpp:24: In file included from ../../../../../GIT/src/gallium/state_trackers/clover/api/util.hpp:29: In file included from ../../../../../GIT/src/gallium/state_trackers/clover/core/property.hpp:28: In file included from ../../../../../GIT/src/gallium/state_trackers/clover/util/range.hpp:29: ../../../../../GIT/src/gallium/state_trackers/clover/util/adaptor.hpp:62:20: error: no matching function for call to 'apply' return tuple::apply(f, tuple::map(derefs(), its)); ^~~~~~~~~~~~ ../../../../../GIT/src/gallium/state_trackers/clover/util/algorithm.hpp:130:50: note: in instantiation of member function 'clover::detail::iterator_adaptor, clover::detail::iterator_adaptor > >::operator*' requested here for (detail::preferred_reference_type x : r) ^ ../../../../../GIT/src/gallium/state_trackers/clover/api/memory.cpp:40:15: note: in instantiation of function template specialization 'clover::fold, clover::adaptor_range > &> > >' requested here size > fold(maximum(), cl_ulong(0), ^ ../../../../../GIT/src/gallium/state_trackers/clover/util/tuple.hpp:77:7: note: candidate template ignored: substitution failure [with F = const std::__1::__mem_fn &, T = std::__1::tuple] apply(F &&f, T &&t) { ^ 2 errors generated. gmake: *** [api/libclover_la-memory.lo] Error 1