zoukankan      html  css  js  c++  java
  • kata编译 build flag -mod=vendor only valid when using modules

    kata-containers/runtime# make -j48
    kata-runtime - version 1.12.0-alpha1 (commit 011c73f24a94118c74a1833fb2f27da0eaf3b576-dirty)
    
         BUILD    /opt/gopath/src/github.com/kata-containers/runtime/containerd-shim-kata-v2
         BUILD    /opt/gopath/src/github.com/kata-containers/runtime/containerd-shim-kata-v2
         BUILD    /opt/gopath/src/github.com/kata-containers/runtime/kata-netmon
    build flag -mod=vendor only valid when using modules
    build flag -mod=vendor only valid when using modules
    Makefile:601: recipe for target '/opt/gopath/src/github.com/kata-containers/runtime/containerd-shim-kata-v2' failed
    make: *** [/opt/gopath/src/github.com/kata-containers/runtime/containerd-shim-kata-v2] Error 1
    make: *** Waiting for unfinished jobs....
    Makefile:559: recipe for target '/opt/gopath/src/github.com/kata-containers/runtime/kata-netmon' failed
    make: *** [/opt/gopath/src/github.com/kata-containers/runtime/kata-netmon] Error 1
    root@ubuntu:/opt/gopath/src/github.com/kata-containers/runtime# go -version
    flag provided but not defined: -version
    Go is a tool for managing Go source code.

    原来是编译时hyepervisor选择有误,重新git checkout makefile

  • 相关阅读:
    随笔一
    UISegmentedControl
    adobe as3 samples
    将flash的文字转换为flash可用的矢量图
    让drawRoundRect抗锯齿的最简单的方法
    AS3和FLEX优化技巧
    Spark project 超级强大的AS3库
    API汇集
    一个as3开发人员的话
    好公司职位要求
  • 原文地址:https://www.cnblogs.com/dream397/p/14007609.html
Copyright © 2011-2022 走看看