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

build error on Debian 8 ../../ears.go:22: undefined: signal.Reset #2

Open
osterluk opened this issue Sep 11, 2016 · 1 comment
Open

Comments

@osterluk
Copy link

I get the error message:

github.com/evanphx/alexa

../../ears.go:22: undefined: signal.Reset

If I comment out this line it builds OK: (in ears.go)
defer signal.Reset(os.Interrupt, os.Kill)

I adjusted the rPi github AVS example in java to run on my hardkernel odriod-c1. So, this is not exactly a Raspberry Pi.

@Fruchtgummi
Copy link

You must update your GO-environment. On Debian first purge the old version of go.

sudo apt-get purge golang
sudo apt-get autoremove

Get
$ wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz

unzip and install
$ sudo tar -xvf go1.8.linux-amd64.tar.gz
$ sudo mv go /usr/local

Environment

After completing, Now configure the Go language environment variables, GOROOT, GOPATH and PATH.

$ export GOROOT=/usr/local/go
$ export GOPATH=$HOME/Works/work1
$ export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

Check version go version

let's rock!

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