8000 Compilation errors on linux 64 bit · Issue #62 · containerd/containerd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Compilation errors on linux 64 bit #62
Closed
@kunalkushwaha

Description

@kunalkushwaha

Facing compiling errors with latest code, Am I missing something?

$ make      
mkdir -p bin/
cd ctr && go build -o ../bin/ctr
cd containerd && go build -tags "libcontainer" -o ../bin/containerd
# github.com/docker/containerd/linux
../linux/linux.go:629: cannot convert r.Memory.Limit (type *uint64) to type int64
../linux/linux.go:630: cannot convert r.Memory.Reservation (type *uint64) to type int64
../linux/linux.go:631: cannot convert r.Memory.Swap (type *uint64) to type int64
../linux/linux.go:632: cannot convert r.Memory.Kernel (type *uint64) to type int64
../linux/linux.go:633: cannot convert r.Memory.Swappiness (type *uint64) to type int64
../linux/linux.go:634: cannot convert r.CPU.Shares (type *uint64) to type int64
../linux/linux.go:635: cannot convert r.CPU.Quota (type *uint64) to type int64
../linux/linux.go:636: cannot convert r.CPU.Period (type *uint64) to type int64
../linux/linux.go:637: cannot convert r.CPU.RealtimeRuntime (type *uint64) to type int64
../linux/linux.go:638: cannot convert r.CPU.RealtimePeriod (type *uint64) to type int64
../linux/linux.go:638: too many errors
make: *** [daemon] Error 2

Go and kernel version

$ go version
go version go1.5.1 linux/amd64
$ uname -r
3.19.0-42-generic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0