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

Make : unsupported GOOS/GOARCH pair darwin/386 #8

Open
3isenHeiM opened this issue Mar 26, 2021 · 2 comments
Open

Make : unsupported GOOS/GOARCH pair darwin/386 #8

3isenHeiM opened this issue Mar 26, 2021 · 2 comments

Comments

@3isenHeiM
Copy link

When trying to make build-all on the latest Kali release, I get an error about an unsupported OS.

Go version : go1.15.8 linux/amd64

make build-all
gox -osarch="linux/amd64 linux/386 linux/arm windows/amd64 windows/386 darwin/amd64 darwin/386" -ldflags="-s -w -X main.tlsFingerprint=$(openssl x509 -fingerprint -sha256 -noout -in 'certs/cert.pem' | cut -d '=' -f2)" -gcflags="all=-trimpath=OPATH" -tags release -output "bin/ligolo_{{.OS}}_{{.Arch}}" ./cmd/ligolo
Number of parallel builds: 3

-->       linux/386: ligolo/cmd/ligolo
-->    darwin/amd64: ligolo/cmd/ligolo
-->      darwin/386: ligolo/cmd/ligolo
-->     linux/amd64: ligolo/cmd/ligolo
-->   windows/amd64: ligolo/cmd/ligolo
-->       linux/arm: ligolo/cmd/ligolo
-->     windows/386: ligolo/cmd/ligolo

1 errors occurred:
--> darwin/386 error: exit status 2
Stderr: cmd/go: unsupported GOOS/GOARCH pair darwin/386

make: *** [Makefile:33: build-all] Error 1

To fix this, I had to remove the "darwin/386" from the line 11 of the Maketile.

@fasdfx
Copy link

fasdfx commented Apr 8, 2021

you can edit your Makefile, if you dont use it in darwin ,so you can delete this arch

@3isenHeiM
Copy link
Author

Yeah, I know.

My point is that from Kali I can't compile it fror the architecture darwmin/386. So I don't know if compiling it from other systems than Kali it works ;)

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