deepflow icon indicating copy to clipboard operation
deepflow copied to clipboard

[BUG] 使用go编译server报错:but does not contain xxx

Open LemonSqi opened this issue 1 year ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

DeepFlow Component

Server

What you expected to happen

我试图在本地通过go v1.20.8 编译deepflow的源码server,跟着教程https://mp.weixin.qq.com/s/-jWYq2rTRaTueuN0sAb3lA进行,但是在执行:CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make -e BINARY_SUFFIX=.amd64 时报错:

bb7e688cd15cb59208a2021ac0c9d88 e15cada2094c2f1998ff07076421efb

我不清楚为什么,我的go.mod就是6.5.9版本包里的,我没有做任何的修改,还请开发大佬解答编译失败的疑惑,谢谢~!

How to reproduce

No response

DeepFlow version

6.5.9

DeepFlow agent list

No response

Kubernetes CNI

Flannel

Operation-System/Kernel version

5.10.0

Anything else

No response

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

LemonSqi avatar Aug 19 '24 06:08 LemonSqi

@LemonSqi 返回下编译环境信息。 cat /etc/os-release uname -an go env

lzf575 avatar Aug 30 '24 02:08 lzf575