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

Android Target ARM 32bit Cross-Compiler Failure #1

Open
JustinTimperio opened this issue Aug 5, 2021 · 0 comments
Open

Android Target ARM 32bit Cross-Compiler Failure #1

JustinTimperio opened this issue Aug 5, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@JustinTimperio
Copy link
Owner

Building ARM 32bit with the cross compiler arm-linux-gnueabihf-gcc with the parameters GOOS=android GOARCH=arm GOARM=7 CC=arm-linux-gnueabihf-gcc CGO_ENABLED=1 go build -o android_arm GoRAT.go fail with the following error:

# runtime/cgo
gcc_android.c:6:10: fatal error: android/log.h: No such file or directory
 #include <android/log.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

Build paramaters:

GOOS=android GOARCH=arm GOARM=7 CC=arm-linux-gnueabihf-gcc CGO_ENABLED=1 go build -o "$BUILD_DIR"/payloads/"$EXE_NAME"_v"$VERSION"_android_arm "$COMPILE_CORE"

@JustinTimperio JustinTimperio added bug Something isn't working help wanted Extra attention is needed labels Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant