I wanted to try cross-compiling gotop for the Raspberry Pi 4 using my Windows 10 Laptop. It threw me an error (Yikes!):

Shell

xxxxxxxxxx
1

 

1

logging_other.go:11:2: undefined: syscall.Dup2

I wanted to try cross-compiling gotop for the Raspberry Pi 4 using my Windows 10 Laptop. It threw me an error (Yikes!):

Shell

xxxxxxxxxx

1

 

1

logging_other.go:11:2: undefined: syscall.Dup2 […]