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

Error 'undefined: os.ProcAttr' running make install. #33

Closed
davespanton opened this issue Apr 12, 2011 · 3 comments
Closed

Error 'undefined: os.ProcAttr' running make install. #33

davespanton opened this issue Apr 12, 2011 · 3 comments

Comments

@davespanton
Copy link

I get the following error when running make install.

8g -o go.8 goremote.go
8l -o goremote go.8
make[1]: Leaving directory /home/dave/gocode/goremote' ./goremote/goremote server.go | gofmt > rpc.go gomake -C goconfig make[1]: Entering directory/home/dave/gocode/goconfig'
8g -o go.8 configfile.go
rm -f _obj/configfile.a
gopack grc _obj/configfile.a go.8
make[1]: Leaving directory `/home/dave/gocode/goconfig'
cp goconfig/_obj/configfile.a .
8g -o go.8 gocode.go autocompletefile.go package.go autocompletecontext.go server.go rpc.go decl.go apropos.go scope.go ripper.go config.go declcache.go os_posix.go
gocode.go:288: undefined: os.ProcAttr
gocode.go:289: not enough arguments in call to os.StartProcess
autocompletefile.go:239: lastCursorAfter.List undefined (type ast.CaseClause has no field or method List)
autocompletefile.go:240: lastCursorAfter.List undefined (type *ast.CaseClause has no field or method List)
make: *
* [go.8] Error 1

I'm using GNU make 3.81. Fresh install of go.

Let me know if you need any more information.

@nsf
Copy link
Owner

nsf commented Apr 13, 2011

Most likely you're using latest 'release' version of the Go compiler, you need latest 'weekly'.

@davespanton
Copy link
Author

I'll give it a go with the lastest weekly and let you know how I get on.

@davespanton
Copy link
Author

Works great with the latest weekly. Cheers. :)

charlievieth pushed a commit to charlievieth/gocode that referenced this issue Aug 29, 2018
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