weixin_39699070
2020-12-26 13:08 阅读 18

undefined: syscall.Sysinfo_t


# github.com/capnm/sysinfo
vendor/github.com/capnm/sysinfo/sysinfo.go:62:9: undefined: syscall.Sysinfo_t
vendor/github.com/capnm/sysinfo/sysinfo.go:65:9: undefined: syscall.Sysinfo

该提问来源于开源项目:vmihailenco/taskq

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

5条回答 默认 最新

  • weixin_39633090 weixin_39633090 2020-12-26 13:08

    Wrong repo?

    点赞 评论 复制链接分享
  • weixin_39699070 weixin_39699070 2020-12-26 13:08

    Is this not a dependency of yours? How is it working for you and not me unless this is something like a failure to pin a version correctly or something like that?

    github.com/vmihailenco/taskq/v3.0.0-beta.2 github.com/capnm/sysinfo.0.0-20130621111458-5909a53897f3

    点赞 评论 复制链接分享
  • weixin_39633090 weixin_39633090 2020-12-26 13:08

    You are right - it is a dependency.

    点赞 评论 复制链接分享
  • weixin_39699070 weixin_39699070 2020-12-26 13:08

    So is this some kind of version drift issue? I mean, clearly it's working for you.

    点赞 评论 复制链接分享
  • weixin_39633090 weixin_39633090 2020-12-26 13:08

    github.com/capnm/sysinfo is a Linux syscall - I guess you are not using Linux.

    点赞 评论 复制链接分享

相关推荐