Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Dec 1, 2024 · 2 comments

Comments

@jamieduk
Copy link

jamieduk commented Dec 1, 2024

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
    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

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

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
Copy link
Owner

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

@hengyoush
Copy link
Owner

hengyoush commented Dec 3, 2024

Please look this doc: COMPILATION.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants