Skip to content

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

@3isenHeiM

Description

@3isenHeiM

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions