Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

OpenIndiana: undefined: syscall.SYS_IOCTL #385

Closed
cstes opened this issue Oct 13, 2021 · 1 comment
Closed

OpenIndiana: undefined: syscall.SYS_IOCTL #385

cstes opened this issue Oct 13, 2021 · 1 comment
Labels

Comments

@cstes
Copy link

cstes commented Oct 13, 2021

Hello,

On the OpenIndiana operating system, using go version

$ go version
go version go1.17 illumos/amd64

I am getting the following error during an attempt to build the github CLI (gh).

I'm looking for help on how to solve this please ?

github.com/AlecAivazis/survey/v2/terminal

../go/pkg/mod/github.com/!alec!aivazis/survey/v2@v2.3.2/terminal/runereader_posi
x.go:47:35: undefined: syscall.SYS_IOCTL
../go/pkg/mod/github.com/!alec!aivazis/survey/v2@v2.3.2/terminal/runereader_posi
x.go:47:81: undefined: ioctlReadTermios
../go/pkg/mod/github.com/!alec!aivazis/survey/v2@v2.3.2/terminal/runereader_posi
x.go:54:35: undefined: syscall.SYS_IOCTL
../go/pkg/mod/github.com/!alec!aivazis/survey/v2@v2.3.2/terminal/runereader_posi
x.go:54:81: undefined: ioctlWriteTermios
../go/pkg/mod/github.com/!alec!aivazis/survey/v2@v2.3.2/terminal/runereader_posi
x.go:62:35: undefined: syscall.SYS_IOCTL
../go/pkg/mod/github.com/!alec!aivazis/survey/v2@v2.3.2/terminal/runereader_posi
x.go:62:81: undefined: ioctlWriteTermios
exit status 2
build.go: building task bin/gh failed.
gmake: *** [Makefile:17: bin/gh] Error 1

@cstes cstes added the Question label Oct 13, 2021
@cstes
Copy link
Author

cstes commented Oct 13, 2021

Oops ... looks like a duplicate of
#372

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants