Re: 2.5.51 CRC32 undefined

David Woodhouse (dwmw2@infradead.org)
07 Mar 2003 12:40:17 +0000


On Thu, 2003-03-06 at 13:22, Arun Prasad wrote:

> CONFIG_CRC32=y
> CONFIG_PCNET32=m

<...>

> pcnet32: Unknown symbol crc32_le

The problem is that crc32.o isn't actually linked into the kernel,
because no symbols from it are referenced when the linker is asked to
pull in lib/lib.a

Set CONFIG_CRC32=m. We probably shouldn't allow it to be set to 'Y' in
the first place., given the above.

===== lib/Kconfig 1.2 vs edited =====
--- 1.2/lib/Kconfig Fri Nov 1 12:07:52 2002
+++ edited/lib/Kconfig Fri Mar 7 12:37:54 2003
@@ -6,6 +6,7 @@

config CRC32
tristate "CRC32 functions"
+ depends on m
help
This option is provided for the case where no in-kernel-tree
modules require CRC32 functions, but a module built outside the

-- 
dwmw2

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