Skip to content

not building on arm64bit #11

@palica

Description

@palica

Hi,

I like your simple tool and use it on my x86_64bit server (precompiled binary) and wanted to use it also on arm64 board, but I am unable to build it. My golang knowledge is rather limited, but this is the error message I am getting:

....
cd /root/go/src/github.com/maryvilledev/lxb/vendor/github.com/lxc/lxd/shared
/usr/lib/go/pkg/tool/linux_arm64/compile -o $WORK/b101/_pkg_.a -trimpath $WORK/b101 -p github.com/maryvilledev/lxb/vendor/github.com/lxc/lxd/shared -complete -installsuffix cgo -buildid KVrDWH74WX4634BP9O_G/KVrDWH74WX4634BP9O_G -goversion go1.10.2 -D "" -importcfg $WORK/b101/importcfg -pack -c=4 ./cert.go ./container.go ./idmapset_linux.go ./json.go ./log.go ./network.go ./network_linux.go ./proxy.go ./stringset.go ./util.go ./util_unix.go
# github.com/maryvilledev/lxb/vendor/github.com/lxc/lxd/shared
vendor/github.com/lxc/lxd/shared/idmapset_linux.go:324:31: undefined: GetFileStat
vendor/github.com/lxc/lxd/shared/idmapset_linux.go:353:10: undefined: ShiftOwner
vendor/github.com/lxc/lxd/shared/network_linux.go:18:9: undefined: ExecReaderToChannel
make: *** [Makefile:17: build] Error 2
 ~/go/src/github.com/maryvilledev/lxb #

Please help :)

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