jandre / procfs

Go package for accessing the /proc virtual filesystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cross compile error

gyulkkajo opened this issue · comments

I encounter an error while building for ARM. The error I found is below

$ GOOS=linux GOARCH=arm64 go build
# github.com/jandre/procfs/util
../../go/src/github.com/jandre/procfs/util/structparser.go:87:12: undefined: jiffiesToTime
../../go/src/github.com/jandre/procfs/util/structparser.go:93:12: undefined: jiffiesToDuration

I've tried to fix it for myself but couldn't make it because I'm quite new for golang.
Am I missing something?