I was wrong. The root cause seem to be that the zsys_darwin_arm64.go (for 
iOS arm64) is missing from golang.org/x/net/internal/socket. There is a 
zsys_darwin_arm.go (for iOS arm), so it should be easy to add. You should 
raise an issue on the golang bug tracker.

 - elias

On Monday, October 16, 2017 at 11:33:44 AM UTC+2, dumm...@gmail.com wrote:
>
> Thanks for the reply. But I can go get github.com/xtaci/kcp-go and use it 
> without problem.
>
> So I need config something to support socket packing, Right?
> I am new for golang And feel no way to go when seeing the error and I 
> didn't google the solution about how to fix it. 
> It's very appreciated if you can give me some hints about the root reason 
> of this problem or the possible sollution. 
>
> 在 2017年10月16日星期一 UTC+8下午5:11:52,Elias Naur写道:
>>
>> I think this is a problem with the kcp-go package. Building the package 
>> for darwin/arm64 gives me the same error:
>>
>> $ GOOS=darwin GOARCH=arm64 go install github.com/xtaci/kcp-go
>> # golang.org/x/net/internal/socket
>> dev/go/src/golang.org/x/net/internal/socket/cmsghdr.go:9:10: undefined: 
>> cmsghdr
>>
>>  - elias
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to