Subject: Re: linux-2.6.17(.6): bnx2.c:(.text+0xd741e): undefined reference to `crc32_le'

From: "Michael Chan" <[email-masked]>
Date: Mon, 24 Jul 2006 13:00:33 -0700

On Fri, 2006-07-21 at 05:06 -0700, Toralf Förster wrote:
> Compiling  (an exotic ?) config I got:
> 
> ...
>  CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> drivers/built-in.o: In function `bnx2_set_rx_mode':
> bnx2.c:(.text+0xd741e): undefined reference to `crc32_le'
> drivers/built-in.o: In function `bnx2_test_nvram':
> bnx2.c:(.text+0xd9a5f): undefined reference to `crc32_le'
> bnx2.c:(.text+0xd9a83): undefined reference to `crc32_le'
> make: *** [.tmp_vmlinux1] Error 1
> 
BNX2 requires the CRC32 library and the current kernels do not have that
dependency in the Kconfig.  This has been fixed and will be in 2.6.18.

For now, you can turn on CONFIG_CRC32 (to y) and that should fix the
problem.

Thanks.