Comments (5)
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.
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.
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.
Submitted pull request #23 that addresses this issue.
from opennetvm.
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)
- When Congestion occurs with shared core, number of pkt processing is abnormal HOT 6
- Setting up Jumbo Packet mtu 9000 in ONVM HOT 1
- dpdk-pdump+ONVM HOT 2
- Duplicated flush in `onvm_pkt_process_rx_batch` HOT 5
- Linter Cppcheck. HOT 3
- Performance observations when running NF's on local and/or remote NUMA node in a server HOT 11
- Questions about the bridge example HOT 4
- Memory leak when sending messages between NFs with full rings HOT 3
- Questions about scaling example HOT 21
- Unable to probe PCI devices within rte_eal_init() on onvm_mgr start HOT 3
- Simple Skeleton
- Display packet drop stats HOT 1
- speed tester can crash if given a pcap with jumbo frames HOT 1
- I have a question: If I want to deploy vnf on different machines, does OpenNetVM support this method? If so how can I connect them through IP address? HOT 1
- Install guide/script references igb_uio as the only usable network driver for DPDK ports HOT 1
- arp nf and load balancer tutorial
- Support for Arm64 HOT 4
- [BUG]: `.gitmodules` content is outdated and incorrect
- Is the nfvnice-reinforce branch still supported?
- Compatibility with DPDK version above 20.05 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opennetvm.