Re: Compile error (starfire ethernet) on 2.5.25 for crc32_le

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Wed Jul 10 2002 - 18:46:44 EST


Martin J. Bligh wrote:
> drivers/built-in.o: In function `set_rx_mode':
> drivers/built-in.o(.text+0x2138c): undefined reference to `crc32_le'
> make: *** [vmlinux] Error 1
>
> starfire.c calls ether_crc_le which is defined in include/linux/crc32.h as
> #define ether_crc_le(length, data) crc32_le(~0, data, length)
>
> crc32_le is defined in lib/crc32.c .... which is only compiled if CONFIG_CRC32
> is set ... setting this fixes the problem ... shouldn't drivers that need this turn it
> on automatically somehow?

They do already. drivers/net/Makefile.lib. The culprit is a typo.
Wanna submit the obvious patch that does
s/CONFIG_STARFIRE/CONFIG_ADAPTEC_STARFIRE/ in dr/ne/Makefile.lib?

        Jeff

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



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:18 EST