On Wed, Oct 22, 2014 at 03:55:15PM -0700, Nithin Raju wrote: > In this patch, we add support in userspace for packet subscribe API > similar to the join/leave MC group API that is used for port events. > The kernel code has already been commited. > > Signed-off-by: Nithin Raju <[email protected]>
This breaks the build on GNU/Linux: ../lib/netlink-socket.c: In function 'nl_sock_subscribe_packets': ../lib/netlink-socket.c:404:13: error: 'struct nl_sock' has no member named 'read_ioctl' ../lib/netlink-socket.c:404:29: error: 'OVS_IOCTL_READ' undeclared (first use in this function) ../lib/netlink-socket.c:404:29: note: each undeclared identifier is reported only once for each function it appears in ../lib/netlink-socket.c:408:5: error: implicit declaration of function 'nl_sock_subscribe_packet__' [-Werror=implicit-function-declaration] ../lib/netlink-socket.c:414:9: error: 'struct nl_sock' has no member named 'read_ioctl' ../lib/netlink-socket.c:414:24: error: 'OVS_IOCTL_READ_PACKET' undeclared (first use in this function) ../lib/netlink-socket.c: In function 'nl_sock_unsubscribe_packets': ../lib/netlink-socket.c:422:5: error: 'struct nl_sock' has no member named 'read_ioctl' ../lib/netlink-socket.c:422:5: error: 'OVS_IOCTL_READ_PACKET' undeclared (first use in this function) ../lib/netlink-socket.c:431:9: error: 'struct nl_sock' has no member named 'read_ioctl' ../lib/netlink-socket.c:431:24: error: 'OVS_IOCTL_READ' undeclared (first use in this function) ../lib/netlink-socket.c: At top level: ../lib/netlink-socket.c:436:1: error: no previous prototype for 'nl_sock_subscribe_packet__' [-Werror=missing-prototypes] ../lib/netlink-socket.c:436:1: error: conflicting types for 'nl_sock_subscribe_packet__' ../lib/netlink-socket.c:437:1: note: an argument type that has a default promotion can't match an empty parameter name list declaration ../lib/netlink-socket.c:408:13: note: previous implicit declaration of 'nl_sock_subscribe_packet__' was here ../lib/netlink-socket.c: In function 'nl_sock_subscribe_packet__': ../lib/netlink-socket.c:445:40: error: 'OVS_WIN_NL_CTRL_FAMILY_ID' undeclared (first use in this function) ../lib/netlink-socket.c:446:27: error: 'OVS_CTRL_CMD_PACKET_SUBSCRIBE_REQ' undeclared (first use in this function) ../lib/netlink-socket.c:447:27: error: 'OVS_WIN_CONTROL_VERSION' undeclared (first use in this function) ../lib/netlink-socket.c:451:29: error: 'OVS_NL_ATTR_PACKET_SUBSCRIBE' undeclared (first use in this function) ../lib/netlink-socket.c:452:30: error: 'OVS_NL_ATTR_PACKET_PID' undeclared (first use in this function) ../lib/netlink-socket.c:441:22: error: unused variable 'nlmsg' [-Werror=unused-variable] cc1: all warnings being treated as errors make[3]: *** [lib/netlink-socket.lo] Error 1 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
