Re: linux-next: build failure after merge of the staging tree

From: Greg KH
Date: Thu Jul 25 2013 - 00:23:56 EST


On Thu, Jul 25, 2013 at 01:19:59PM +1000, Stephen Rothwell wrote:
> Hi Greg,
>
> After merging the staging tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/staging/gdm724x/built-in.o: In function `netlink_init':
> (.text+0x19b6): multiple definition of `netlink_init'
> drivers/staging/gdm72xx/built-in.o:(.text+0x19d5): first defined here
> drivers/staging/gdm724x/built-in.o: In function `netlink_exit':
> (.text+0x1a2a): multiple definition of `netlink_exit'
> drivers/staging/gdm72xx/built-in.o:(.text+0x1a49): first defined here
> drivers/staging/gdm724x/built-in.o: In function `netlink_send':
> (.text+0x1a4f): multiple definition of `netlink_send'
> drivers/staging/gdm72xx/built-in.o:(.text+0x1a67): first defined here
>
> Presumably caused by commit 61e121047645 ("staging: gdm7240: adding LTE
> USB driver"). I disabled this driver using this patch:
>
> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Date: Thu, 25 Jul 2013 13:16:30 +1000
> Subject: [PATCH] staging: disable the gdm724x driver due to build problems
>
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> ---
> drivers/staging/gdm724x/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/staging/gdm724x/Kconfig b/drivers/staging/gdm724x/Kconfig
> index 10f7be1..85141bd 100644
> --- a/drivers/staging/gdm724x/Kconfig
> +++ b/drivers/staging/gdm724x/Kconfig
> @@ -5,6 +5,7 @@
> config LTE_GDM724X
> tristate "GCT GDM724x LTE support"
> depends on NET && USB
> + depends on BROKEN

Ugh, that means this can't be built into the kernel, due to symbol
issues, I'll go fix that up with a "depends on m" patch.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/