Code Monkey home page Code Monkey logo

Comments (5)

veiveim avatar veiveim commented on June 13, 2024

I solved this problem. Remove "inline" from declaration of onvm_pkt_enqueue_nf in "onvm_nflib/onvm_pkt_common.h", then "make" in onvm directory is ok.
But I don't know why...

from opennetvm.

twood02 avatar twood02 commented on June 13, 2024

Can you report what gcc and OS version you are using so we can help diagnose this? Sounds like a change in compiler default settings.

from opennetvm.

nks5295 avatar nks5295 commented on June 13, 2024

Here is my OS/Compiler info in which building ONVM works:

GCC:

▶ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

System:

▶ uname -a
Linux nimbnode38 3.16.0-77-generic #99~14.04.1-Ubuntu SMP Tue Jun 28 19:17:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

▶ lsb_release -r -v
No LSB modules are available.
Release:        14.04

Good catch to remove the inline there. I think that the newer compiler versions are smart enough to detect that and cause an error.

from opennetvm.

rskennedy avatar rskennedy commented on June 13, 2024

Submitted pull request #23 that addresses this issue.

from opennetvm.

veiveim avatar veiveim commented on June 13, 2024

Thank you for your quick response, here is my OS/Compiler info:
GCC:
gcc --version
gcc (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1 20160904 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
OS:
uname -a
Linux node1 4.8.8 #1 SMP Fri Nov 18 15:55:08 CST 2016 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -r -v
LSB modules are available. Release: 16.04

from opennetvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.