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

From: Patrick McHardy <[email-masked]>
Date: Sat, 19 Apr 2008 19:10:38 +0200

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 <[email-masked]>
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