-
Notifications
You must be signed in to change notification settings - Fork 103
Description
"make -j $(getconf _NPROCESSORS_ONLN)" failed with This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
Describe the bug
"make -j $(getconf _NPROCESSORS_ONLN)" failed with attached error
part of error:
[ 16%] Building CXX object src/libs/bcc/src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
Scanning dependencies of target xpath
[ 16%] Building CXX object src/polycubed/src/server/Parser/CMakeFiles/xpath.dir/XPathParserDriver.cpp.o
In file included from /usr/include/c++/5/typeindex:35:0,
from /home/ebpf/eBPF/polycube/src/polycubed/src/server/Parser/../Resources/Body/ListKey.h:22,
from /home/ebpf/eBPF/polycube/src/polycubed/src/server/Parser/XPathParserDriver.h:21,
from /home/ebpf/eBPF/polycube/src/polycubed/src/server/Parser/XPathParserDriver.cpp:16:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support
^ [polycube make error.txt](https://github.com/polycube-network/polycube/files/4699749/polycube.make.error.txt)
To Reproduce
Follow the steps for installation here: https://polycube-network.readthedocs.io/en/latest/installation.html
Expected behavior
Make complete with no error
Please tell us about your environment:
Environment :
-
OS details:
cat /etc/*-release
root@ebpf-VirtualBox:/etc# cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
root@ebpf-VirtualBox:/etc# -
Kernel details:
uname -a
root@ebpf-VirtualBox:/etc# uname -a
Linux ebpf-VirtualBox 4.15.0-99-generic Fix pcn k8s #100~16.04.1-Ubuntu SMP Wed Apr 22 23:56:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@ebpf-VirtualBox:/etc# -
Polycube Version:
polycubectl version
installing -
Polycube Log: Attach the log from
/var/log/polycube/polycubed.log
Additional context
Add any other context about the problem here.