Re: linux-next: build failure after merge of the final tree (nettree related)

From: David Miller
Date: Wed Feb 02 2011 - 23:45:49 EST


From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Thu, 3 Feb 2011 15:13:09 +1100

> Hi all,
>
> After merging the final tree, today's linux-next build (sparc32 defconfig)
> failed like this:
>
> net/ipv4/fib_trie.c:98: error: redefinition of 'struct node'
>
> Probably exposed by commit 3630b7c050d9c3564f143d595339fc06b888d6f3
> ("ipv4: Remove fib_hash").
>
> Naming a struct "node" (in the face of include/linux/node.h) is a bit
> hopeful. :-)
>
> I have left this broken for now ...

This problem has existed forever, you just have only been testing
the build with fib_hash enabled instead of fib_trie.

I'm really surprised this has never been hit before. :-)

I'll fix it up, thanks for the report.

--
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/