build error on Debian 8 ../../ears.go:22: undefined: signal.Reset
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.
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!