Skip to content

undefined: atomic.SwapInt32 #8

@NTBTI

Description

@NTBTI

Getting this as an error when running make

godep go build -o bin/go-mysql-elasticsearch ./cmd/go-mysql-elasticsearch

github.com/siddontang/go/sync2

Godeps/_workspace/src/github.com/siddontang/go/sync2/semaphore.go:48: undefined: atomic.SwapInt32
Godeps/_workspace/src/github.com/siddontang/go/sync2/semaphore.go:59: undefined: atomic.SwapInt32
godep: go exit status 2
make: *** [build-elasticsearch] Error 1

Have never used GO before so not sure how I go about fixing it

go1.1.1 linux/amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions