-
Notifications
You must be signed in to change notification settings - Fork 32
Description
kernel:5.4.0-72-generic
os:ubuntu 18.04.5 lts
when compiling:
go build
../../internal/collection/pty.go:12:2: missing go.sum entry for module providing package github.com/mitchellh/go-ps (imported by github.com/guardicore/ipcdump/internal/collection); to add:
go get github.com/guardicore/ipcdump/internal/collection@v0.0.0
and when go get github.com/guardicore/ipcdump/internal/collection@v0.0.0 i get:
github.com/iovisor/gobpf/bcc
../../../go/pkg/mod/github.com/iovisor/gobpf@v0.0.0-20200614202714-e6b321d32103/bcc/module.go:98:40: too many arguments in call to _Cfunc_bpf_module_create_c_from_string
have (_Ctype_char, number, **_Ctype_char, _Ctype_int, _Ctype__Bool, nil)
want (_Ctype_char, _Ctype_uint, **_Ctype_char, _Ctype_int, _Ctype__Bool)
../../../go/pkg/mod/github.com/iovisor/gobpf@v0.0.0-20200614202714-e6b321d32103/bcc/module.go:230:28: too many 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)