Skip to content

an error when trying to build an app #175

@KarimHassan

Description

@KarimHassan

Hello,
I have an issue while trying to build my app in Golang It cannot be done.

karim@Karims-MacBook-Pro app % go build

github.com/elastic/gosigar

../../../go/pkg/mod/github.com/elastic/gosigar@v0.14.2/sigar_common_darwin.go:202:23: could not determine kind of name for C.PROC_ALL_PIDS
../../../go/pkg/mod/github.com/elastic/gosigar@v0.14.2/sigar_common_darwin.go:494:34: could not determine kind of name for C.PROC_PIDTASKALLINFO
../../../go/pkg/mod/github.com/elastic/gosigar@v0.14.2/sigar_common_darwin.go:202:7: could not determine kind of name for C.proc_listpids
../../../go/pkg/mod/github.com/elastic/gosigar@v0.14.2/sigar_common_darwin.go:494:7: could not determine kind of name for C.proc_pidinfo

I am using MacBook Apple silicon M3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions