Re: 2.6.25-git2 fails build (nf_nat_proto_sctp.ko)

From: Patrick McHardy
Date: Sat Apr 19 2008 - 13:14:43 EST


Pete Clements wrote:
Root device is (3, 1)
Setup is 11288 bytes (padded to 11776 bytes).
System is 1162 kB
CRC 695701be
Kernel: arch/x86/boot/bzImage is ready (#4)
Building modules, stage 2.
MODPOST 132 modules
ERROR: "crc32c_le" [net/ipv4/netfilter/nf_nat_proto_sctp.ko] undefined!


Sorry about that. We need to select LIBCRC32C.

Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx> diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig
index 0c95cd5..2767841 100644
--- a/net/ipv4/netfilter/Kconfig
+++ b/net/ipv4/netfilter/Kconfig
@@ -259,6 +259,7 @@ config NF_NAT_PROTO_SCTP
tristate
default NF_NAT && NF_CT_PROTO_SCTP
depends on NF_NAT && NF_CT_PROTO_SCTP
+ select LIBCRC32C

config NF_NAT_FTP
tristate