-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not enough arguments in call to (_C2func_bcc_func_load) #314
Comments
the bcc version does not match with gobpf version.
daurnimator ***@***.***> 于2022年9月5日周一 01:44写道:
… When building a project (grafana-agent) which uses this library as a
dependency, I get:
# github.com/iovisor/gobpf/bcc
***@***.***/bcc/module.go:230:132 ***@***.***/bcc/module.go:230:132>: not enough arguments in call to (_C2func_bcc_func_load)
have (unsafe.Pointer, _Ctype_int, *_Ctype_char, *_Ctype_struct_bpf_insn, _Ctype_int, *_Ctype_char, _Ctype_uint, _Ctype_int, *_Ctype_char, _Ctype_uint, nil)
want (unsafe.Pointer, _Ctype_int, *_Ctype_char, *_Ctype_struct_bpf_insn, _Ctype_int, *_Ctype_char, _Ctype_uint, _Ctype_int, *_Ctype_char, _Ctype_uint, *_Ctype_char, _Ctype_int)
$ pacman -Q libbcc
bcc 0.25.0-1
—
Reply to this email directly, view it on GitHub
<#314>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATRTCOZCTBUHRRWTWED5O3V4VGADANCNFSM6AAAAAAQESFPCM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
张博
|
I do not see any more recent release of gobpf. |
I encounter the same issue. # github.com/iovisor/gobpf/bcc
../../../go/pkg/mod/github.com/iovisor/[email protected]/bcc/module.go:230:28: not enough arguments in call to _C2func_bcc_func_load
have (unsafe.Pointer, _Ctype_int, *_Ctype_char, *_Ctype_struct_bpf_insn, _Ctype_int, *_Ctype_char, _Ctype_uint, _Ctype_int, *_Ctype_char, _Ctype_uint, nil)
want (unsafe.Pointer, _Ctype_int, *_Ctype_char, *_Ctype_struct_bpf_insn, _Ctype_int, *_Ctype_char, _Ctype_uint, _Ctype_int, *_Ctype_char, _Ctype_uint, *_Ctype_char, _Ctype_int) |
As noted by @tpaschalis in grafana/agent#2113 (comment)
|
Looks like this repo is no longer maintained. |
When building a project (grafana-agent) which uses this library as a dependency, I get:
The text was updated successfully, but these errors were encountered: