Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build with GOOS=freebsd #170

Open
lance6716 opened this issue Jul 3, 2023 · 0 comments
Open

Can not build with GOOS=freebsd #170

lance6716 opened this issue Jul 3, 2023 · 0 comments

Comments

@lance6716
Copy link

lance6716 commented Jul 3, 2023

$ GOOS=freebsd go build
# github.com/elastic/gosigar
./concrete_sigar.go:55:11: m.Get undefined (type Mem has no field or method Get)
./concrete_sigar.go:67:11: p.Get undefined (type HugeTLBPages has no field or method Get)
./concrete_sigar.go:79:12: fd.Get undefined (type FDUsage has no field or method Get)
./sigar_linux_common.go:70:4: undefined: parseCpuStat
./sigar_linux_common.go:88:4: undefined: parseCpuStat
./sigar_linux_common.go:106:18: undefined: getMountTableFileName
$ go version
go version go1.20.4 linux/amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant