Skip to content

can't build on windows #4

@freexdk

Description

@freexdk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions