Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can NOT compile the code successfully #17

Open
dWvivi opened this issue Jun 11, 2018 · 4 comments
Open

can NOT compile the code successfully #17

dWvivi opened this issue Jun 11, 2018 · 4 comments

Comments

@dWvivi
Copy link

dWvivi commented Jun 11, 2018

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 Make use of markdown in readme #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
@saminiir
Copy link
Owner

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.

@dWvivi
Copy link
Author

dWvivi commented Jun 11, 2018

my gcc version : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)

when executing make all, below is the outputs:
output

@wangxiaoq
Copy link

please see https://github.com/wangxiaoq/level-ip . I have fix the compile problem.

@helintongh
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants