I've pulled and built the latest docker-images.
-- Building for arch x86_64, platform x86_pc
-- Target CPU architecture x86_64
-- Target triple x86_64-pc-linux-elf
-- Using vanilla CPU features: SSE3. CAPABS = -msse3 -mfpmath=sse
-- Looking for drivers in /home/ubuntu/IncludeOS_install/includeos/x86_64/drivers
-- * Found virtionet
-- Looking for plugins in /home/ubuntu/IncludeOS_install/includeos/x86_64/plugins
-- * Found autoconf
-- Configuring done
-- Generating done
-- Build files have been written to: /service/build
[ 40%] Built target config_json
[ 60%] Building CXX object CMakeFiles/service.dir/service.cpp.o
/service/service.cpp:128:58: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
printf("<Service> @on_write: %u bytes written.\n", written);
~~ ^~~~~~~
%zu
In file included from /service/service.cpp:21:
In file included from /home/ubuntu/IncludeOS_install/includeos/api/os:23:
In file included from /home/ubuntu/IncludeOS_install/includeos/api/hw/devices.hpp:22:
In file included from /home/ubuntu/IncludeOS_install/includeos/api/hw/nic.hpp:21:
In file included from /home/ubuntu/IncludeOS_install/includeos/api/hw/../net/buffer_store.hpp:24:
In file included from /home/ubuntu/IncludeOS_install/includeos/api/smp:23:
In file included from /home/ubuntu/IncludeOS_install/includeos/api/delegate:23:
/home/ubuntu/IncludeOS_install/includeos/api/util/delegate.hpp:244:13: error: no matching function for call to object of type '(lambda at /service/service.cpp:105:5)'
{ return reinterpret_cast<C&>(storage)(std::forward<Args>(args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/IncludeOS_install/includeos/api/util/delegate.hpp:395:3: note: in instantiation of function template specialization 'spec::inplace<32, 16, void, std::__1::shared_ptr<unsigned char>, unsigned long>::inplace<(lambda at /service/service.cpp:105:5), (lambda at /service/service.cpp:105:5)>' requested here
storage_{ std::forward<T>(val) }
^
/service/service.cpp:105:5: note: in instantiation of function template specialization 'delegate<void (std::__1::shared_ptr<unsigned char>, unsigned long), spec::inplace, 32, 16>::delegate<(lambda at /service/service.cpp:105:5), void>' requested here
[conn] (auto buf)
^
/service/service.cpp:105:5: note: candidate function template not viable: requires single argument 'buf', but 2 arguments were provided
1 warning and 1 error generated.
make[2]: *** [CMakeFiles/service.dir/service.cpp.o] Error 1
CMakeFiles/service.dir/build.make:62: recipe for target 'CMakeFiles/service.dir/service.cpp.o' failed
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/service.dir/all' failed
Makefile:127: recipe for target 'all' failed
make[1]: *** [CMakeFiles/service.dir/all] Error 2
make: *** [all] Error 2
Creating the issue here (builder not in sync with current IncludeOS?) but maybe should have filed against hioa-cs/IncludeOS (maybe example code is not up to date?).