You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because on AIX mkfifo is not a kernel function and isn't present in the syscall package. However, it is implemented for AIX in the unix package. The following modification allows samterm to compile:
The samterm code calls syscall.Mkfifo in two places. When compiling on
AIX, this results in a compilation error:
$ go install
./unix.go:25:17: undefined: syscall.Mkfifo
./unix.go:36:22: undefined: syscall.Mkfifo
This is because the Mkfifo call is not implemented for AIX in the syscall
package. However, Mkfifo is available in the unix package, which is
already imported in cmd/samterm/unix.go. This change uses the Mkfifo from
unix instead of syscall.
Fixes9fans#123
On the AIX platform, cmd/samterm fails to compile and produces the following error:
This is because on AIX mkfifo is not a kernel function and isn't present in the syscall package. However, it is implemented for AIX in the unix package. The following modification allows samterm to compile:
I will set up a pull request soon unless there is an objection.
The text was updated successfully, but these errors were encountered: