Comments (3)
我错手删除了本地的 database/shelf/.go 下的文件
发现Git根本没有寻入 shelf/.go的文件
这个代码废了
from softradius_system.
编译bpf样例程序报错,能帮忙看看吗?
5.16.7内核版本,编译命令:make M=samples/bpf
报错如下:
./usr/include -I./tools/testing/selftests/bpf/ -I/usr/src/linux-5.16.7/samples/bpf/libbpf/include -I./tools/include -I./tools/perf -DHAVE_ATTR_TEST=0" \
LDFLAGS= srctree=/usr/src/linux-5.16.7/samples/bpf/../../ \
O= OUTPUT=/usr/src/linux-5.16.7/samples/bpf/libbpf/ DESTDIR=/usr/src/linux-5.16.7/samples/bpf/libbpf prefix= \
/usr/src/linux-5.16.7/samples/bpf/libbpf/libbpf.a install_headers
GEN /usr/src/linux-5.16.7/samples/bpf/libbpf/bpf_helper_defs.h
MKDIR /usr/src/linux-5.16.7/samples/bpf/libbpf/staticobjs/
CC /usr/src/linux-5.16.7/samples/bpf/libbpf/staticobjs/libbpf.o
libbpf.c: In function ‘bpf_object__read_kconfig_file’:
libbpf.c:1814:9: error: unknown type name ‘gzFile’
1814 | gzFile file;
| ^~~~~~
libbpf.c:1824:16: error: implicit declaration of function ‘gzopen’; did you mean ‘open’? [-Werror=implicit-function-declaration]
1824 | file = gzopen(buf, "r");
| ^~~~~~
| open
libbpf.c:1824:16: error: nested extern declaration of ‘gzopen’ [-Werror=nested-externs]
libbpf.c:1833:16: error: implicit declaration of function ‘gzgets’; did you mean ‘fgets’? [-Werror=implicit-function-declaration]
1833 | while (gzgets(file, buf, sizeof(buf))) {
| ^~~~~~
| fgets
libbpf.c:1833:16: error: nested extern declaration of ‘gzgets’ [-Werror=nested-externs]
libbpf.c:1843:9: error: implicit declaration of function ‘gzclose’; did you mean ‘zclose’? [-Werror=implicit-function-declaration]
1843 | gzclose(file);
| ^~~~~~~
| zclose
libbpf.c:1843:9: error: nested extern declaration of ‘gzclose’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
make[3]: *** [/usr/src/linux-5.16.7/samples/bpf/../..//tools/build/Makefile.build:97: /usr/src/linux-5.16.7/samples/bpf/libbpf/staticobjs/libbpf.o] Error 1
from softradius_system.
内核问题 我不懂的
这个issue没有意义了,我关闭了
from softradius_system.
Related Issues (1)
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 softradius_system.