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

OpenIndiana: undefined: syscall.SYS_IOCTL #385

@cstes

Description

@cstes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions