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
./gomaincaller.go:33[/tmp/go-build719621078/github.com/solo-io/unik/instance-listener/_obj/gomaincaller.cgo1.go:41]: undefined: main #162
Comments
in this case, unik tries building the instance listener which itself has some source files, and the stub gets injected in. try running |
The result of
|
I found the reason. This is because Docker for Windows failed to mount |
I found that the following
main()
function is undefined.unik/containers/compilers/rump/go/stub/gomaincaller.go
Line 33 in d063598
I noticed this because running the
unik daemon
command gave me this error:Then I found the
exit status 2
error is because unik tried to run the command:Then I ran this command manually in a CMD, it gave me the error:
So it seems that in the container, unik tried to build itself and complained that the
main()
function is undefined. My Goland IDE also reports that the definition of themain()
function is not found. Is this a bug?The text was updated successfully, but these errors were encountered: