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

Cross compiling to darwin and openbsd not working #47

Closed
matm opened this issue Oct 19, 2022 · 1 comment
Closed

Cross compiling to darwin and openbsd not working #47

matm opened this issue Oct 19, 2022 · 1 comment
Assignees
Labels
bug Something isn't working P2 Low priority

Comments

@matm
Copy link
Owner

matm commented Oct 19, 2022

Not working after using the new prompt added in #43.

  • For darwin, the golang.org/x/sys/unix package fails to compile
../go/pkg/mod/golang.org/x/sys@v0.0.0-20200918174421-af09f7315aff/unix/syscall_darwin.1_13.go:29:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20200918174421-af09f7315aff/unix/zsyscall_darwin_amd64.1_13.go:27:3: //go:linkname must refer to declared function or variable
...
  • For openbsd, the github.com/pkg/term/termios package fails to compile
../go/pkg/mod/github.com/pkg/term@v1.2.0-beta.2/termios/pty.go:23:14: undefined: open_pty_master
../go/pkg/mod/github.com/pkg/term@v1.2.0-beta.2/termios/pty.go:28:16: undefined: Ptsname
../go/pkg/mod/github.com/pkg/term@v1.2.0-beta.2/termios/pty.go:33:8: undefined: grantpt
../go/pkg/mod/github.com/pkg/term@v1.2.0-beta.2/termios/pty.go:38:8: undefined: unlockpt
@matm matm added bug Something isn't working P2 Low priority labels Oct 19, 2022
@matm matm self-assigned this Oct 19, 2022
@matm
Copy link
Owner Author

matm commented Oct 21, 2022

Fixed by #50

@matm matm closed this as completed Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2 Low priority
Projects
None yet
Development

No branches or pull requests

1 participant