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

undefined: proc in os.go line 31 #2

Open
lstep opened this issue Jun 27, 2016 · 1 comment
Open

undefined: proc in os.go line 31 #2

lstep opened this issue Jun 27, 2016 · 1 comment

Comments

@lstep
Copy link

lstep commented Jun 27, 2016

When trying to compile a simple program with monkit (version taken with go get gopkg.in/spacemonkeygo/monkit.v2/...), I get an error:

# gopkg.in/spacemonkeygo/monkit.v2/environment
../../../../gopkg.in/spacemonkeygo/monkit.v2/environment/os.go:31: undefined: proc

I don't see where that proc is defined...

@jtolio
Copy link
Member

jtolio commented Jun 27, 2016

interesting, https://github.com/spacemonkeygo/monkit/blob/v2/environment/proc_linux.go defines it on linux, and https://github.com/spacemonkeygo/monkit/blob/v2/environment/proc_other.go defines it on not linux. what does go env say for you?

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

2 participants