We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前我在Ubuntu 23.10 x86 的PC机器上,如何自己修改源码后,编译一个 Android 的 arm64 版本?
开发板的 config.gz 不存在 ,所以需要自定义一下config的路径。。
当前使用 ANDROID=1 make nocore 编译出来的结果 go run github.com/shuLhan/go-bindata/cmd/go-bindata -pkg assets -o "assets/ebpf_probe.go" ./user/bytecode/bash_kern_less52.o ./user/bytecode/bash_kern.o ./user/bytecode/boringssl_a_13_kern_less52.o ./user/bytecode/boringssl_a_13_kern.o ./user/bytecode/boringssl_a_14_kern_less52.o ./user/bytecode/boringssl_a_14_kern.o ./user/bytecode/gnutls_kern_less52.o ./user/bytecode/gnutls_kern.o ./user/bytecode/gotls_kern_less52.o ./user/bytecode/gotls_kern.o ./user/bytecode/mysqld_kern_less52.o ./user/bytecode/mysqld_kern.o ./user/bytecode/nspr_kern_less52.o ./user/bytecode/nspr_kern.o ./user/bytecode/openssl_1_0_2a_kern_less52.o ./user/bytecode/openssl_1_0_2a_kern.o ./user/bytecode/openssl_1_1_0a_kern_less52.o ./user/bytecode/openssl_1_1_0a_kern.o ./user/bytecode/openssl_1_1_1a_kern_less52.o ./user/bytecode/openssl_1_1_1a_kern.o ./user/bytecode/openssl_1_1_1b_kern_less52.o ./user/bytecode/openssl_1_1_1b_kern.o ./user/bytecode/openssl_1_1_1d_kern_less52.o ./user/bytecode/openssl_1_1_1d_kern.o ./user/bytecode/openssl_1_1_1j_kern_less52.o ./user/bytecode/openssl_1_1_1j_kern.o ./user/bytecode/openssl_3_0_0_kern_less52.o ./user/bytecode/openssl_3_0_0_kern.o ./user/bytecode/postgres_kern_less52.o ./user/bytecode/postgres_kern.o CGO_ENABLED=0 go build -tags androidgki -ldflags "-w -s -X 'ecapture/cli/cmd.GitVersion=androidgki_x86_64:0.7.0-20231219-d348803:6.5.0-14-generic' -X 'main.enableCORE=false'" -o bin/ecapture .
go run github.com/shuLhan/go-bindata/cmd/go-bindata -pkg assets -o "assets/ebpf_probe.go" ./user/bytecode/bash_kern_less52.o ./user/bytecode/bash_kern.o ./user/bytecode/boringssl_a_13_kern_less52.o ./user/bytecode/boringssl_a_13_kern.o ./user/bytecode/boringssl_a_14_kern_less52.o ./user/bytecode/boringssl_a_14_kern.o ./user/bytecode/gnutls_kern_less52.o ./user/bytecode/gnutls_kern.o ./user/bytecode/gotls_kern_less52.o ./user/bytecode/gotls_kern.o ./user/bytecode/mysqld_kern_less52.o ./user/bytecode/mysqld_kern.o ./user/bytecode/nspr_kern_less52.o ./user/bytecode/nspr_kern.o ./user/bytecode/openssl_1_0_2a_kern_less52.o ./user/bytecode/openssl_1_0_2a_kern.o ./user/bytecode/openssl_1_1_0a_kern_less52.o ./user/bytecode/openssl_1_1_0a_kern.o ./user/bytecode/openssl_1_1_1a_kern_less52.o ./user/bytecode/openssl_1_1_1a_kern.o ./user/bytecode/openssl_1_1_1b_kern_less52.o ./user/bytecode/openssl_1_1_1b_kern.o ./user/bytecode/openssl_1_1_1d_kern_less52.o ./user/bytecode/openssl_1_1_1d_kern.o ./user/bytecode/openssl_1_1_1j_kern_less52.o ./user/bytecode/openssl_1_1_1j_kern.o ./user/bytecode/openssl_3_0_0_kern_less52.o ./user/bytecode/openssl_3_0_0_kern.o ./user/bytecode/postgres_kern_less52.o ./user/bytecode/postgres_kern.o CGO_ENABLED=0 go build -tags androidgki -ldflags "-w -s -X 'ecapture/cli/cmd.GitVersion=androidgki_x86_64:0.7.0-20231219-d348803:6.5.0-14-generic' -X 'main.enableCORE=false'" -o bin/ecapture .
目测是x86 的,在Android arm64运行应该有问题。
like #445
thx!
The text was updated successfully, but these errors were encountered:
fixed by github action
Sorry, something went wrong.
No branches or pull requests
目前我在Ubuntu 23.10 x86 的PC机器上,如何自己修改源码后,编译一个 Android 的 arm64 版本?
开发板的 config.gz 不存在 ,所以需要自定义一下config的路径。。
当前使用 ANDROID=1 make nocore
编译出来的结果
go run github.com/shuLhan/go-bindata/cmd/go-bindata -pkg assets -o "assets/ebpf_probe.go" ./user/bytecode/bash_kern_less52.o ./user/bytecode/bash_kern.o ./user/bytecode/boringssl_a_13_kern_less52.o ./user/bytecode/boringssl_a_13_kern.o ./user/bytecode/boringssl_a_14_kern_less52.o ./user/bytecode/boringssl_a_14_kern.o ./user/bytecode/gnutls_kern_less52.o ./user/bytecode/gnutls_kern.o ./user/bytecode/gotls_kern_less52.o ./user/bytecode/gotls_kern.o ./user/bytecode/mysqld_kern_less52.o ./user/bytecode/mysqld_kern.o ./user/bytecode/nspr_kern_less52.o ./user/bytecode/nspr_kern.o ./user/bytecode/openssl_1_0_2a_kern_less52.o ./user/bytecode/openssl_1_0_2a_kern.o ./user/bytecode/openssl_1_1_0a_kern_less52.o ./user/bytecode/openssl_1_1_0a_kern.o ./user/bytecode/openssl_1_1_1a_kern_less52.o ./user/bytecode/openssl_1_1_1a_kern.o ./user/bytecode/openssl_1_1_1b_kern_less52.o ./user/bytecode/openssl_1_1_1b_kern.o ./user/bytecode/openssl_1_1_1d_kern_less52.o ./user/bytecode/openssl_1_1_1d_kern.o ./user/bytecode/openssl_1_1_1j_kern_less52.o ./user/bytecode/openssl_1_1_1j_kern.o ./user/bytecode/openssl_3_0_0_kern_less52.o ./user/bytecode/openssl_3_0_0_kern.o ./user/bytecode/postgres_kern_less52.o ./user/bytecode/postgres_kern.o CGO_ENABLED=0 go build -tags androidgki -ldflags "-w -s -X 'ecapture/cli/cmd.GitVersion=androidgki_x86_64:0.7.0-20231219-d348803:6.5.0-14-generic' -X 'main.enableCORE=false'" -o bin/ecapture .
目测是x86 的,在Android arm64运行应该有问题。
like #445
thx!
The text was updated successfully, but these errors were encountered: