Closed
Description
Describe the bug
CGO_ENABLED=1 CGO_CFLAGS='-O2 -g -gdwarf-4 -I/home/cfc4n/project/ecapture/lib/libpcap/' CGO_LDFLAGS='-O2 -g -L/home/cfc4n/project/ecapture/lib/libpcap/ -lpcap -static' GOOS=linux GOARCH=arm64 CC=gcc go build -tags androidgki -ldflags "-w -s -X 'github.com/gojue/ecapture/cli/cmd.GitVersion=androidgki_arm64:0.7.7-20240303-bfb4a8c:aarch64' -linkmode=external -extldflags -static " -o bin/ecapture
file bin/ecapture
# github.com/gojue/ecapture/cli/http
cli/http/server.go:93:27: undefined: config.MysqldConfig
cli/http/server.go:103:27: undefined: config.PostgresConfig
bin/ecapture: cannot open `bin/ecapture' (No such file or directory)
Sun May 19 13:16:50 UTC 2024
To Reproduce
Steps to reproduce the behavior:
- checkout v0.8.1
- ANDROID=1 make
Expected behavior
Compilation successful
Linux Server/Android (please complete the following information):
- Env: [run
make env
to get the environment variables] - OS: Ubuntu 22.04
- Arch: arm_aarch64
- Kernel Version: 5.10
- Version: 0.8.1
Metadata
Metadata
Assignees
Labels
No labels