Skip to contentSkip to conversation

PATCH 2.6.24-rc3-mm2 - build breakage - bnx2x depends on ZLIB_INFLATE

PATCH Lee Schermerhorn 2 participants 2 messages Nov 28, 2007 – Nov 29, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Couldn't find one of these on the lists...

PATCH 2.6.24-rc3-mm1: bnx2x depends on ZLIB_INFLATE

The bnx2x module depends on the zlib_inflate functions. The build will fail if ZLIB_INFLATE has not been selected manually or by building another module that automatically selects it.

Modify BNX2X config option to 'select ZLIB_INFLATE' like BNX2 and others. This seems to fix it.

 drivers/net/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/net/Kconfig +1 -0
Index: Linux/drivers/net/Kconfig
===================================================================
@@ -2606,6 +2606,7 @@ config TEHUTI
 config BNX2X
 	tristate "Broadcom NetXtremeII 10Gb support"
 	depends on PCI
+	select ZLIB_INFLATE
 	help
 	  This driver supports Broadcom NetXtremeII 10 gigabit Ethernet cards.
 	  To compile this driver as a module, choose M here: the module
Acked-by
#1 lore raw
Quoted 4 lines · Lee Schermerhorn

Couldn't find one of these on the lists...

PATCH 2.6.24-rc3-mm1: bnx2x depends on ZLIB_INFLATE

Quoted 8 lines

The bnx2x module depends on the zlib_inflate functions. The build will fail if ZLIB_INFLATE has not been selected manually or by building another module that automatically selects it.

Modify BNX2X config option to 'select ZLIB_INFLATE' like BNX2 and others. This seems to fix it.

You are right.
My mistake, Thanks.