|
From: Stephens, A. <all...@wi...> - 2010-02-16 14:47:13
|
Hi Yordan: As noted on the TIPC project website, TIPC 1.7.6 only supports Linux kernels in the range 2.6.16-2.6.28. A TIPC 1.7.7 release that also supports later releases is being developed, but won't be available for a while. I suggest that you take a look at the TIPC 1.6 code that originally came with Linux 2.6.32 to see what parameters genlmsg_unicast() is using there. Hopefully, it will be relatively easy to port this change to your TIPC 1.7.6 code and get you up and running. Regards, Al > -----Original Message----- > From: Yordan Pavlov [mailto:y.d...@gm...] > Sent: Tuesday, February 16, 2010 9:27 AM > To: tip...@li... > Subject: [tipc-discussion] net/tipc/tipc_netlink.c:72: error: > too few arguments to function 'genlmsg_unicast' > > 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. > -------------------------------------------------------------- > ---------------- > SOLARIS 10 is the OS for Data Centers - provides features > such as DTrace, Predictive Self Healing and Award Winning > ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > tipc-discussion mailing list > tip...@li... > https://lists.sourceforge.net/lists/listinfo/tipc-discussion > |