编译 Go 时出现错误not enough arguments in call to (_C2func_bcc_func_load) 。
使用的Go版本:go版本go1.19.1
我该如何解决这个错误?如果有人能提供帮助,将不胜感激。
错误信息:
github.com/iovisor/gobpf/bcc
/home/jeremy/go/pkg/mod/github.com/iovisor/gobpf@v0.2.0/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)
牛魔王的故事
猛跑小猪
慕森卡
相关分类