gokrazy / fbstatus

fbstatus graphically shows the gokrazy system status on the Linux frame buffer, which is typically available via HDMI when running on a Raspberry Pi or a PC.
Apache License 2.0
27 stars 10 forks source link

fbstatus/internal/console doesn't compile on GOARCH=arm (32-bit) #6

Closed bradfitz closed 1 year ago

bradfitz commented 1 year ago

I know 32-bit arm isn't a primary supported platform, but filing this in any case.

$ GOARCH=arm go install github.com/gokrazy/fbstatus@latest
# github.com/gokrazy/fbstatus/internal/console
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:23:53: undefined: linuxvt.VT_OPENQRY
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:39:50: undefined: linuxvt.VT_DISALLOCATE
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:46:19: undefined: linuxvt.VTMode
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:47:59: undefined: linuxvt.VT_GETMODE
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:57:48: undefined: linuxvt.VT_RELDISP
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:69:48: undefined: linuxvt.VT_RELDISP
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:69:68: undefined: linuxvt.VT_ACKACQ
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:79:22: undefined: linuxvt.VT_PROCESS
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:85:59: undefined: linuxvt.VT_SETMODE
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:93:19: undefined: linuxvt.VTMode
../../go/pkg/mod/github.com/gokrazy/fbstatus@v0.0.0-20230404163040-e06e129f0bc5/internal/console/console.go:93:19: too many errors