Skip to content

Instantly share code, notes, and snippets.

@dansanabria
Created June 8, 2018 19:05
Show Gist options
  • Save dansanabria/5b74906d4d55b699b2ca9894c6be7ad5 to your computer and use it in GitHub Desktop.
Save dansanabria/5b74906d4d55b699b2ca9894c6be7ad5 to your computer and use it in GitHub Desktop.
vagrant@rumprun-builder:/vagrant$ ./test.sh
/vagrant/examples/demo_service /vagrant
/vagrant/examples/demo_service/build /vagrant/examples/demo_service /vagrant
-- Building for arch x86_64, platform x86_pc
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Target triple x86_64-pc-linux-elf
-- Using vanilla CPU features: SSE3. CAPABS = -msse3 -mfpmath=sse
-- The ASM_NASM compiler identification is unknown
-- Found assembler: /usr/bin/nasm
-- Building without threading / SMP
-- Looking for drivers in /home/vagrant/includeos//includeos/x86_64/drivers
-- * Found virtionet
-- * Found vmxnet3
-- * Found boot_logger
-- * Found default_stdout
-- Looking for plugins in /home/vagrant/includeos//includeos/x86_64/plugins
-- * Found autoconf
-- Configuring done
-- Generating done
-- Build files have been written to: /vagrant/examples/demo_service/build
[ 20%] Generating config_json.o
Scanning dependencies of target config_json
[ 40%] Linking CXX static library libconfig_json.a
[ 40%] Built target config_json
Scanning dependencies of target service
[ 60%] Building CXX object CMakeFiles/service.dir/service.cpp.o
In file included from /home/vagrant/includeos/includeos/api/net/ip6/ip6.hpp:21:0,
from /home/vagrant/includeos/includeos/api/net/inet.hpp:35,
from /home/vagrant/includeos/includeos/api/net/inet:5,
from /vagrant/examples/demo_service/service.cpp:22:
/home/vagrant/includeos/includeos/api/net/ip6/addr.hpp: In member function ‘T net::ip6::Addr::get_part(uint8_t) const’:
/home/vagrant/includeos/includeos/api/net/ip6/addr.hpp:158:9: error: expected ‘(’ before ‘constexpr’
if constexpr (std::is_same_v<T, uint8_t>) {
^
/home/vagrant/includeos/includeos/api/net/ip6/addr.hpp:161:8: error: ‘else’ without a previous ‘if’
} else if constexpr (std::is_same_v<T, uint16_t>) {
^
/home/vagrant/includeos/includeos/api/net/ip6/addr.hpp:161:16: error: expected ‘(’ before ‘constexpr’
} else if constexpr (std::is_same_v<T, uint16_t>) {
^
/home/vagrant/includeos/includeos/api/net/ip6/addr.hpp:164:8: error: ‘else’ without a previous ‘if’
} else if constexpr (std::is_same_v<T, uint32_t>) {
^
/home/vagrant/includeos/includeos/api/net/ip6/addr.hpp:164:16: error: expected ‘(’ before ‘constexpr’
} else if constexpr (std::is_same_v<T, uint32_t>) {
^
CMakeFiles/service.dir/build.make:62: recipe for target 'CMakeFiles/service.dir/service.cpp.o' failed
make[2]: *** [CMakeFiles/service.dir/service.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/service.dir/all' failed
make[1]: *** [CMakeFiles/service.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
INSTALL FAILED ON COMMAND: make
vagrant@rumprun-builder:/vagrant$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment