Re: [PATCH 2.6.22-rc6-mm1] compile error when CONFIG_DM_NETLINK is not defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 28, 2007 at 09:49:17AM -0500, Dave Kleikamp wrote:
> I got this compile error:
>   LD      drivers/md/built-in.o
> drivers/md/dm-multipath.o: In function `dm_path_event':
> drivers/md/dm-netlink.h:56: multiple definition of `dm_path_event'
> drivers/md/dm-mod.o:drivers/md/dm-netlink.h:56: first defined here
> drivers/md/dm-multipath.o: In function `dm_netlink_send_events':
> drivers/md/dm-netlink.h:51: multiple definition of `dm_netlink_send_events'
> drivers/md/dm-mod.o:drivers/md/dm-netlink.h:51: first defined here
> make[2]: *** [drivers/md/built-in.o] Error 1
> 
> I was able to fix it by making the dummy inline functions static.
> 
> Signed-off-by: Dave Kleikamp <[email protected]>

Sorry for that - I've added your fix to dm-netlink-add-to-core.patch.
Of course I forgot to test with the new option disabled:-(

Alasdair
-- 
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux