Comments (3)
Any news? Folks it's really important for me :(
from netmap.
Looks fixed in recent Git version! Close it :)
from netmap.
Actually we have asme issue.
I've using Boost 1.60 with Netmap and somewhere in Boost D() uses for debugging.
So it conflicts with Netmap.
In file included from /root/fastnetmon/src/sflow_agent/sflow_agent.cpp:8:0:
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp: In constructor ‘boost::move_upd::unique_ptr_data<P, D, false>::unique_ptr_data()’:
/opt/dps/libraries/netmap_git_d83f5e6e2d7b9a90e1ac1977e6d26a704f4e5264/include/net/netmap_user.h:174:2: error: expected identifier before ‘do’
do { \
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp:133:9: note: in expansion of macro ‘D’
: D(), m_p()
^
/opt/dps/libraries/netmap_git_d83f5e6e2d7b9a90e1ac1977e6d26a704f4e5264/include/net/netmap_user.h:174:2: error: expected ‘{’ before ‘do’
do { \
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp:133:9: note: in expansion of macro ‘D’
: D(), m_p()
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp: In constructor ‘boost::move_upd::unique_ptr_data<P, D, false>::unique_ptr_data(P)’:
/opt/dps/libraries/netmap_git_d83f5e6e2d7b9a90e1ac1977e6d26a704f4e5264/include/net/netmap_user.h:174:2: error: expected identifier before ‘do’
do { \
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp:137:9: note: in expansion of macro ‘D’
: D(), m_p(p)
^
/opt/dps/libraries/netmap_git_d83f5e6e2d7b9a90e1ac1977e6d26a704f4e5264/include/net/netmap_user.h:174:2: error: expected ‘{’ before ‘do’
do { \
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp:137:9: note: in expansion of macro ‘D’
: D(), m_p(p)
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp: In constructor ‘boost::move_upd::unique_ptr_data<P, D, false>::unique_ptr_data(P, boost::move_upd::unique_ptr_data<P, D, false>::deleter_arg_type1)’:
/opt/dps/libraries/netmap_git_d83f5e6e2d7b9a90e1ac1977e6d26a704f4e5264/include/net/netmap_user.h:174:2: error: expected identifier before ‘do’
do { \
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp:141:9: note: in expansion of macro ‘D’
: D(d1), m_p(p)
^
/opt/dps/libraries/netmap_git_d83f5e6e2d7b9a90e1ac1977e6d26a704f4e5264/include/net/netmap_user.h:174:2: error: expected ‘{’ before ‘do’
do { \
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp:141:9: note: in expansion of macro ‘D’
: D(d1), m_p(p)
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp: In constructor ‘boost::move_upd::unique_ptr_data<P, D, false>::unique_ptr_data(P, U&&)’:
/opt/dps/libraries/netmap_git_d83f5e6e2d7b9a90e1ac1977e6d26a704f4e5264/include/net/netmap_user.h:174:2: error: expected identifier before ‘do’
do { \
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp:146:9: note: in expansion of macro ‘D’
: D(::boost::forward<U>(d)), m_p(p)
^
/opt/dps/libraries/netmap_git_d83f5e6e2d7b9a90e1ac1977e6d26a704f4e5264/include/net/netmap_user.h:174:2: error: expected ‘{’ before ‘do’
do { \
^
/opt/dps/libraries/boost_1_60_0/boost/move/unique_ptr.hpp:146:9: note: in expansion of macro ‘D’
: D(::boost::forward<U>(d)), m_p(p)
^
make[2]: *** [CMakeFiles/sflow_agent.dir/sflow_agent/sflow_agent.cpp.o] Error 1
Could you replace D() define by NETMAP_DEBUG for identifier uniqueness and preventing similar issues in future?
from netmap.
Related Issues (20)
- Netmap could not allocate memory : netmap_config_obj_allocator requested objsize 140032 out of range [256, 131072]
- Time resolution on rx sync HOT 1
- i4oe driver in version 2.19.3 overflow when bitrate get up of peta bytes
- performance problem with emulated mode (Linux 5.15.0 Ubuntu 22.04) HOT 1
- problem in ring of i40e
- error while executing make command (build)
- netmap_poll should check if interface is up
- pkt-gen txseq issues with ixl
- kernel updated, pkt-gen cause kernel panic HOT 4
- pkt-gen IP randomization differs for jumbo vs. standard frames
- nm_open with range of queues HOT 4
- Failure accessing netmap: Invalid argument HOT 1
- netmap causing hang of kernel worker.
- netmap i40e not support 6.6.4
- ProxMox + VirtIO (KVM)
- igc driver does not seem to work HOT 2
- num_slots on RX rings are zero HOT 2
- igb_netmap_rxsync error HOT 1
- Can't build ICE drivers HOT 5
- netmap_ring_reinit problems when running Zeek with netmap pipes
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 netmap.