hengyoush / kyanos

Visualize the time packets spend in the kernel, analyze requests/responses in command line.
https://kyanos.io
Apache License 2.0
2.51k stars 62 forks source link

go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 bpf/agent_arm64_bpfel.go:517:12: pattern agent_arm64_bpfel.o: no matching files found make: *** [Makefile:74: kyanos] Error 1 where the fk is arm file! #135

Open jamieduk opened 3 days ago

jamieduk commented 3 days ago

Describe the bug A clear and concise description of what the bug is. go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 bpf/agent_arm64_bpfel.go:517:12: pattern agent_arm64_bpfel.o: no matching files found make: *** [Makefile:74: kyanos] Error 1

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 bpf/agent_arm64_bpfel.go:517:12: pattern agent_arm64_bpfel.o: no matching files found make: [Makefile:74: kyanos] Error 1 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 bpf/agent_arm64_bpfel.go:517:12: pattern agent_arm64_bpfel.o: no matching files found make: [Makefile:74: kyanos] Error 1

A clear and concise description of what you expected to happen.

Screenshotsgo: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 bpf/agent_arm64_bpfel.go:517:12: pattern agent_arm64_bpfel.o: no matching files found make: *** [Makefile:74: kyanos] Error 1

If applicable, add screenshots to help explain your problem. go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 bpf/agent_arm64_bpfel.go:517:12: pattern agent_arm64_bpfel.o: no matching files found make: *** [Makefile:74: kyanos] Error 1

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here. i use arm on ubuntu rpi 5 fixit now!

also ./build.sh agent_arm64_bpfel.go agentlagacykernel310_arm64_bpfel.go common.go embed.go events.go gen.go Supported targets: bpf bpfel bpfeb 386 amd64 arm arm64 loong64 mips ppc64 ppc64le riscv64 s390x

Error: "": unsupported target exit status 1 gen.go:3: running "go": exit status 1 prog_test.go bpf/agent_arm64_bpfel.go:517:12: pattern agent_arm64_bpfel.o: no matching files found success! jay@jnetreloaded:~/Documents/Scripts/AI/kyanos-ai$ make

make install export CGO_LDFLAGS="-Xlinker -rpath=. -static" && go build bpf/agent_arm64_bpfel.go:517:12: pattern agent_arm64_bpfel.o: no matching files found make: [Makefile:74: kyanos] Error 1 make: No rule to make target 'install'. Stop. jay@jnetreloaded:~/Documents/Scripts/AI/kyanos-ai$ make export CGO_LDFLAGS="-Xlinker -rpath=. -static" && go build bpf/agent_arm64_bpfel.go:517:12: pattern agent_arm64_bpfel.o: no matching files found agent_arm64_bpfel.go:517:12: found packages bpf (agent_arm64_bpfel.go) and main (main.go) in /home/jay/Documents/Scripts/AI/kyanos-ai make: *** [Makefile:74: kyanos] Error 1 jay@jnetreloaded:~/Documents/Scripts/AI/kyanos-ai$

you claim arm supported clearly not im on arm 64 on ubuntu fixit!

also theres no clear instructions how to set up so add these too !!!

hengyoush commented 2 days ago

Thanks. I will be writing a build guide soon, please follow it.

hengyoush commented 1 day ago

Please look this doc: COMPILATION.md