Skip to content

Issues compiling with GOARCH=386 _OR_ GOOS=windows #28

Description

@dmagyar

Something strange is happening here, it I try to use your example (examples/testhttpserver/httpserver.go) after succesfully go geting the package I get mixed results. I tried windows/linux 386/amd64 permutations and it only works if GOOS=linux and GOARCH=amd64. The error message is really strange:

dmagyar@dmtest:~/go/ossl$ GOOS=windows GOARCH=386 go get github.com/shanemhansen/gossl
dmagyar@dmtest:~/go/ossl$ GOOS=windows GOARCH=386 go run gossltest.go
go build github.com/shanemhansen/gossl/sslerr: build constraints exclude all Go files in /home/dmagyar/go/src/github.com/shanemhansen/gossl/sslerr
dmagyar@dmtest:~/go/ossl$ GOOS=windows GOARCH=amd64 go get github.com/shanemhansen/gossl
dmagyar@dmtest:~/go/ossl$ GOOS=windows GOARCH=amd64 go run gossltest.go
go build github.com/shanemhansen/gossl/sslerr: build constraints exclude all Go files in /home/dmagyar/go/src/github.com/shanemhansen/gossl/sslerr
dmagyar@dmtest:~/go/ossl$ GOOS=linux GOARCH=386 go get github.com/shanemhansen/gossl
dmagyar@dmtest:~/go/ossl$ GOOS=linux GOARCH=386 go run gossltest.go
go build github.com/shanemhansen/gossl/sslerr: build constraints exclude all Go files in /home/dmagyar/go/src/github.com/shanemhansen/gossl/sslerr
dmagyar@dmtest:~/go/ossl$ GOOS=linux GOARCH=amd64 go get github.com/shanemhansen/gossl
dmagyar@dmtest:~/go/ossl$ GOOS=linux GOARCH=amd64 go run gossltest.go
  -cert string
    	The path to a PEM certificate
  -key string
    	The path to a PEM key
dmagyar@dmtest:~/go/ossl$

Any clues what could be wrong? I am trying to use this on windows/386 eventually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions