Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't build on windows #4

Open
freexdk opened this issue Jul 22, 2018 · 1 comment
Open

can't build on windows #4

freexdk opened this issue Jul 22, 2018 · 1 comment

Comments

@freexdk
Copy link

freexdk commented Jul 22, 2018

Can't build on windows
Tried both cross compile and directly on windows 10
Linux works fine.

github.com/raintank/go-pinger

../../github.com/raintank/go-pinger/packet_reader.go:75:33: not enough arguments in call to syscall.Syscall
../../github.com/raintank/go-pinger/packet_reader.go:75:34: undefined: syscall.SYS_IOCTL
../../github.com/raintank/go-pinger/packet_reader.go:75:74: undefined: syscall.SIOCGSTAMP
../../github.com/raintank/go-pinger/packet_reader.go:149:33: not enough arguments in call to syscall.Syscall
../../github.com/raintank/go-pinger/packet_reader.go:149:34: undefined: syscall.SYS_IOCTL
../../github.com/raintank/go-pinger/packet_reader.go:149:74: undefined: syscall.SIOCGSTAMP

@woodsaj
Copy link
Contributor

woodsaj commented Jul 23, 2018

yes, i use the SIOCGSTAMP ioctl operation to get the packet receive time. This is a linux only feature.

I will happily accept a PR to provide support for Windows and OSX, but it is not on my todo list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants