level-ip
level-ip copied to clipboard
can NOT compile the code successfully
I followed the instructions in readme file.
when executing make all
, many error-messages come into screen .
so ...
could you tell me about your environment when compiling code , pls ?
e.g what is the version of your gcc ? c99 or gnu99 or else ?
thanX!
-
OS (e.g.
cat /etc/os-release
): NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" -
Kernel (e.g.
uname -a
): Linux lll 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Hey,
Can you post the terminal output of the failing command here? You can check an example compilation environment from TravisCI: https://travis-ci.org/saminiir/level-ip
Thanks.
my gcc version : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
when executing make all
, below is the outputs:
please see https://github.com/wangxiaoq/level-ip . I have fix the compile problem.
gcc version is higher than or equal to 7.Will not report an error.
Execute the following instruction(in centos7): yum install centos-release-scl -y yum install devtoolset-7 -y scl enable devtoolset-7 bash make all
it works.