Re: compile errors with 2.6.10rc2

From: Cal Peake
Date: Tue Nov 16 2004 - 02:06:50 EST


On Mon, 15 Nov 2004, Alex Davis wrote:

> I get the following errors during compilation:
>
> net/core/dev.c:1054: error: conflicting types for 'skb_checksum_help'
> include/linux/netdevice.h:950: error: previous declaration of 'skb_checksum_help' was here
> net/core/dev.c:1054: error: conflicting types for 'skb_checksum_help'
> include/linux/netdevice.h:950: error: previous declaration of 'skb_checksum_help' was here
> net/core/dev.c:1468: error: redefinition of 'netif_rx_ni'
> include/linux/netdevice.h:698: error: previous definition of 'netif_rx_ni' was here
> net/core/dev.c:2648: warning: static declaration of 'dev_new_index' follows non-static declaration
> include/linux/netdevice.h:556: warning: previous declaration of 'dev_new_index' was here
> make[2]: *** [net/core/dev.o] Error 1
> make[1]: *** [net/core] Error 2
> make: *** [net] Error 2

It looks like your source tree is clobbered. Try rebuilding with a
pristine one and see if that helps.

-- Cal

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