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

Won't build under TKL Core #2

Closed
ibm2100 opened this issue Dec 9, 2014 · 3 comments
Closed

Won't build under TKL Core #2

ibm2100 opened this issue Dec 9, 2014 · 3 comments

Comments

@ibm2100
Copy link

ibm2100 commented Dec 9, 2014

I installed Turnkey Linux Core 13.0 / Debian 7.2 Wheezy on VirtualBox under Windows 7, 64-bit.

When I issued the command go build main.go, these are the errors:

./main.go:60: undefined: newCommand
./main.go:85: undefined: command
./main.go:105: undefined: command
./main.go:106: undefined: newSshClientConfig
./main.go:118: undefined: newNameWriter
./main.go:119: undefined: newNameWriter

However, it is building fine under Windows 7 using go1.3.3 windows/386

I am using go1.3.3 linux/amd64 on my VirtualBox VM.

@crosbymichael
Copy link
Owner

There are no build tags so there maybe something wrong with the code that you checked out, please make sure that you have HEAD

@vieux
Copy link
Contributor

vieux commented Feb 7, 2015

@ibm2100 you should use go build instead fo go build main.go the code is divided in 3 files.

Most of you undefined stuff are defined in ssh.go

@crosbymichael
Copy link
Owner

Thanks for looking into this @vieux

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

3 participants