From: Yordan P. <y.d...@gm...> - 2010-02-16 14:26:53
|
I receive the following error while trying to build the Tipc kernel module: net/tipc/tipc_netlink.c: In function ‘handle_cmd’: net/tipc/tipc_netlink.c:72: warning: passing argument 1 of ‘genlmsg_unicast’ from incompatible pointer type include/net/genetlink.h:242: note: expected ‘struct net *’ but argument is of type ‘struct sk_buff *’ net/tipc/tipc_netlink.c:72: warning: passing argument 2 of ‘genlmsg_unicast’ makes pointer from integer without a cast include/net/genetlink.h:242: note: expected ‘struct sk_buff *’ but argument is of type ‘__u32’ net/tipc/tipc_netlink.c:72: error: too few arguments to function ‘genlmsg_unicast’ make[1]: *** [net/tipc/tipc_netlink.o] Error 1 make: *** [_module_net/tipc] Error 2 checking through the source code I noticed that the genlmsg_unicast takes 3 parameters while tipc calls it with only 2. My system is: Debian testing. I am building against Debian patched kernel 2.6.32 I have downloaded tipc-1.7.6-bundle from the Tipc website. |