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

2 messages, 2 authors, 2006-07-24 · open the first message on its own page

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

From: Toralf Förster <hidden>
Date: 2006-07-21 12:06:43

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

with the config attached.
-- 
MfG/Sincerely
Toralf Förster

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

From: "Michael Chan" <mchan@broadcom.com>
Date: 2006-07-24 19:59:03

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help