Skip to content

Error when compiling #9

@SpiralBL0CK

Description

@SpiralBL0CK

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions