guardicore / guardicore/IPCDump

Error when compiling

Open
#9 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
247
Forks
32
PR merge metrics
No merged PRs in 30d

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.