kudelskisecurity / pq-wireguard

Quantum resistant implementation of the WireGuard protocol.
MIT License
34 stars 8 forks source link

build issue #1

Closed jjin3 closed 2 years ago

jjin3 commented 2 years ago

Get this error code when trying to build. Any idea how to solve it? Thanks. image


go: downloading github.com/google/btree v1.0.0

gvisor.dev/gvisor/pkg/sync

../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20210109011639-2fb7a49fea98/pkg/sync/rwmutex_unsafe.go:29:14: undefined: CrossGoroutineMutex ../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20210109011639-2fb7a49fea98/pkg/sync/rwmutex_unsafe.go:74:3: undefined: semacquire ../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20210109011639-2fb7a49fea98/pkg/sync/rwmutex_unsafe.go:98:4: undefined: semrelease ../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20210109011639-2fb7a49fea98/pkg/sync/rwmutex_unsafe.go:146:3: undefined: semacquire ../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20210109011639-2fb7a49fea98/pkg/sync/rwmutex_unsafe.go:171:3: undefined: semrelease ../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20210109011639-2fb7a49fea98/pkg/sync/rwmutex_unsafe.go:197:3: undefined: semrelease ../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20210109011639-2fb7a49fea98/pkg/sync/seqcount.go:87:6: undefined: canSpin ../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20210109011639-2fb7a49fea98/pkg/sync/seqcount.go:89:4: undefined: doSpin ../go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20210109011639-2fb7a49fea98/pkg/sync/seqcount.go:91:4: undefined: goyield

jjin3 commented 2 years ago

Problem solved with a reinstall of GO version 1.13.