goburrow / serial

Go (golang) serial library for modbus
https://github.com/goburrow/modbus
MIT License
191 stars 90 forks source link

Fix build on OpenBSD. #18

Closed geowiwi closed 2 years ago

geowiwi commented 2 years ago

github.com/goburrow/serial

../../../go/pkg/mod/github.com/goburrow/serial@v0.1.0/serial_bsd.go:30:10: undefined: syscall.B460800 ../../../go/pkg/mod/github.com/goburrow/serial@v0.1.0/serial_bsd.go:78:44: fds.Xfds_bits undefined (type syscall.FdSet has no field or method Xfds_bits) ../../../go/pkg/mod/github.com/goburrow/serial@v0.1.0/serial_bsd.go:79:45: fds.Xfds_bits undefined (type syscall.FdSet has no field or method Xfds_bits) ../../../go/pkg/mod/github.com/goburrow/serial@v0.1.0/serial_bsd.go:86:5: fds.Xfds_bits undefined (type syscall.FdSet has no field or method Xfds_bits) ../../../go/pkg/mod/github.com/goburrow/serial@v0.1.0/serial_bsd.go:92:12: fds.Xfds_bits undefined (type syscall.FdSet has no field or method Xfds_bits) ../../../go/pkg/mod/github.com/goburrow/serial@v0.1.0/termios_bsd.go:10:17: cannot use speed (type uint32) as type int32 in assignment ../../../go/pkg/mod/github.com/goburrow/serial@v0.1.0/termios_bsd.go:14:17: cannot use speed (type uint32) as type int32 in assignment

nqv commented 2 years ago

Thank you.