IPCDump icon indicating copy to clipboard operation
IPCDump copied to clipboard

Error when compiling

Open SpiralBL0CK opened this issue 4 years ago • 3 comments

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/[email protected] and when go get github.com/guardicore/ipcdump/internal/[email protected] i get: github.com/iovisor/gobpf/bcc ../../../go/pkg/mod/github.com/iovisor/[email protected]/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/[email protected]/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)

SpiralBL0CK avatar May 08 '21 19:05 SpiralBL0CK

hi did you manage to solve this issue? am having the same compilation error as you.

angrybunny123 avatar May 27 '21 10:05 angrybunny123

Hello sorry for late response nope i didnt manage to solve it

SpiralBL0CK avatar May 29 '21 17:05 SpiralBL0CK

Please see https://github.com/guardicore/IPCDump/issues/1 for fix, this resolved the issue when setting up collection on my Ubuntu 20.04

icarusglider avatar Jan 08 '22 19:01 icarusglider