使用" lfstackPack在此块中重新声明构建崩溃"在窗户上

时间:2016-10-20 14:22:36

标签: windows go

我过去在unix上做了一些golang,但我只是尝试在Windows上安装它,我无法让go build工作。

当我尝试编译任何go源代码时,它会崩溃:

# runtime
C:\Go\src\runtime\lfstack_amd64.go:16: lfstackPack redeclared in this block
        previous declaration at C:\Go\src\runtime\lfstack_64bit.go:37
C:\Go\src\runtime\lfstack_amd64.go:20: lfstackUnpack redeclared in this block
        previous declaration at C:\Go\src\runtime\lfstack_64bit.go:41
C:\Go\src\runtime\os_windows.go:14: _NSIG redeclared in this block
        previous declaration at C:\Go\src\runtime\os2_windows.go:18
C:\Go\src\runtime\os_windows.go:104: _AddVectoredExceptionHandler redeclared in this block
        previous declaration at C:\Go\src\runtime\os1_windows.go:92
C:\Go\src\runtime\os_windows.go:104: _CloseHandle redeclared in this block
        previous declaration at C:\Go\src\runtime\os1_windows.go:92
C:\Go\src\runtime\os_windows.go:104: _CreateEventA redeclared in this block
        previous declaration at C:\Go\src\runtime\os1_windows.go:92
C:\Go\src\runtime\os_windows.go:104: _CreateIoCompletionPort redeclared in this block
        previous declaration at C:\Go\src\runtime\os1_windows.go:92
C:\Go\src\runtime\os_windows.go:104: _CreateThread redeclared in this block
        previous declaration at C:\Go\src\runtime\os1_windows.go:92
C:\Go\src\runtime\os_windows.go:104: _CreateWaitableTimerA redeclared in this block
        previous declaration at C:\Go\src\runtime\os1_windows.go:92
C:\Go\src\runtime\os_windows.go:104: _CryptAcquireContextW redeclared in this block
        previous declaration at C:\Go\src\runtime\os1_windows.go:92
C:\Go\src\runtime\os_windows.go:104: too many errors

0 个答案:

没有答案