On Fri, 2014-10-03 at 10:08 -0700, Randy Dunlap wrote: > On 10/02/14 12:03, Andy Grover wrote: > > Also add more to help. > > > > Signed-off-by: Andy Grover <agrover@xxxxxxxxxx> > > Ack the depends on, but it also needs to depend on NET to avoid these > build errors: > > drivers/built-in.o: In function `tcmu_netlink_event': > target_core_user.c:(.text+0x9d4da): undefined reference to `__alloc_skb' > target_core_user.c:(.text+0x9d500): undefined reference to `genlmsg_put' > target_core_user.c:(.text+0x9d510): undefined reference to `kfree_skb' > target_core_user.c:(.text+0x9d534): undefined reference to `nla_put' > target_core_user.c:(.text+0x9d54e): undefined reference to `nla_put' > target_core_user.c:(.text+0x9d579): undefined reference to `kfree_skb' > target_core_user.c:(.text+0x9d591): undefined reference to `init_net' > target_core_user.c:(.text+0x9d5a4): undefined reference to `netlink_broadcast' > drivers/built-in.o: In function `tcmu_module_init': > target_core_user.c:(.init.text+0x431f): undefined reference to `__genl_register_family' > target_core_user.c:(.init.text+0x4345): undefined reference to `genl_unregister_family' > drivers/built-in.o: In function `tcmu_module_exit': > target_core_user.c:(.exit.text+0x984): undefined reference to `genl_unregister_family' > Fixed. Thanks Randy! -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html