Comments (8)
from xdp-tutorial.
I have installed libz-devel in my os ,but in the process of compling report
undefined reference to 'gzopen()';
undefined reference to 'gzwrite()';
undefined reference to 'gzclose()';
so,I make & install zlib-1.2.8 and finally solve the problem.
from xdp-tutorial.
from xdp-tutorial.
I the following steps
1、 git submodule add https://github.com/libbpf/libbpf/ libbpf
2、 add -lz linker flag.
but reports the bugs such as undefined reference to 'gzopen()' and so on
from xdp-tutorial.
from xdp-tutorial.
thank you very much ,your way can also solve my probleem. cloud you tell me where I can share my notes about the kernel achivements of xdp
from xdp-tutorial.
from xdp-tutorial.
here's the issue I hit: git clone --recurse-submodules https://github.com/xdp-project/xdp-tutorial
as @magnate3 wrote above works fine, but git clone --recurse-submodules --remote-submodules https://github.com/xdp-project/xdp-tutorial
gets a wrong version of libbpf and correspondingly the ZLIB compile failure.
from xdp-tutorial.
Related Issues (20)
- Is AF_XDP socket thread-safe for TX ring and other rings ? HOT 9
- How to solve this problem: *** ERROR: Cannot find tool m4 HOT 3
- there is no ./xdp_loader HOT 1
- af_xdp sending with run to completion mode HOT 21
- Trying to write XDP for redirecting packets in veth inside kubernetes HOT 6
- basic04 reuse pinned map failed. HOT 2
- Is possible the umem frame leak in some place? HOT 1
- NIC to XSK back to Network Stack HOT 11
- error: llc: xdp-dispatcher.ll:410:54: error: unterminated attribute group
- Wrong Capture Length Size from XDP Packet Metadata. HOT 4
- Is it possible to send 2 packets out of NIC from the same UMEM frame? HOT 1
- Can I use a struct as a map key in XDP? HOT 2
- xdp_vlan01_kern.c:66:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning] HOT 3
- Map load does not work with snprintf or bpf_snprintf. When these lines are removed, map read/write continues. HOT 2
- invalid access to map value, value_size=128 off=0 size=0; libbpf: prog 'xdp_parser_func': failed to load: -13 HOT 2
- Modifying Packet at Ethernet/IPv4/TCP layers on user space can be done by using AF_XDP and Socket? (It will be used for blocking traffic)
- Is possible to encapsulate a new header in AF_XDP
- can someone pls do an af_xdp tcp / echo / http server that shows hello world or something? HOT 1
- for af_xdp how does it know which cpu core to process the request in? HOT 1
- [basic01-xdp-pass] error libbpf: failed to load object 'xdp-dispatcher.o' HOT 4
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 xdp-tutorial.