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

x/sys/windows: grpc compile tip: "undefined: unix.GetsockoptLinger unix.GetsockoptTimeval" #27195

Closed
zerodistance00 opened this issue Aug 24, 2018 · 5 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@zerodistance00
Copy link

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go1.9.3

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\MyConfiguration\tkk48036\go
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config

What did you do?

grpc-go practice.

What did you expect to see?

compile succuss

What did you see instead?

compile failed

@agnivade
Copy link
Contributor

This looks like a grpc issue rather than a Go compiler issue. Can you provide more details on why you think this is an issue with Go ?

grpc-go practice is not enough details for us to debug the issue.

Thank you.

@mikioh mikioh changed the title grpc compile tip:" undefined: unix.GetsockoptLinger unix.GetsockoptTimeval" x/sys/windows: grpc compile tip: "undefined: unix.GetsockoptLinger unix.GetsockoptTimeval" Aug 24, 2018
@gopherbot gopherbot added this to the Unreleased milestone Aug 24, 2018
@mikioh mikioh modified the milestones: Unreleased, Unplanned Aug 24, 2018
@mikioh
Copy link
Contributor

mikioh commented Aug 24, 2018

Your application for Windows probably uses golang.org/x/sys/unix package but the package supports Unix variants only. If you need the equivalent of socket manipulation functions in golang.org/x/sys/windows package, please edit the title appropriately.

@mikioh mikioh added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 24, 2018
@robpike
Copy link
Contributor

robpike commented Aug 25, 2018

I think I've seen this one before, and it means your GRPC installation is out of date. Try updating it.

@zerodistance00
Copy link
Author

zerodistance00 commented Aug 27, 2018 via email

@agnivade
Copy link
Contributor

From what I could understand from your response, looks like the issue is resolved. Closing it now.

Please comment if I have misunderstood.

@golang golang locked and limited conversation to collaborators Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants