Re: [PATCH] linux-next: Tree for May 21 - build failure withnetfilter on __nf_ct_helper_find()

From: Stephen Rothwell
Date: Wed May 21 2008 - 08:52:37 EST


Hi Kamalesh,

On Wed, 21 May 2008 17:02:30 +0530 Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx> wrote:
>
> The next-20080521 kernel build fails, on x86_64 machine
>
> CC net/netfilter/nf_conntrack_helper.o
> net/netfilter/nf_conntrack_helper.c: In function â__nf_ct_helper_findâ:
> net/netfilter/nf_conntrack_helper.c:58: error: implicit declaration of function âhlist_for_each_entry_rcuâ
> net/netfilter/nf_conntrack_helper.c:58: error: âhnodeâ undeclared (first use in this function)
> net/netfilter/nf_conntrack_helper.c:58: error: (Each undeclared identifier is reported only once
> net/netfilter/nf_conntrack_helper.c:58: error: for each function it appears in.)
> net/netfilter/nf_conntrack_helper.c:58: error: expected â;â before â{â token
> net/netfilter/nf_conntrack_helper.c:50: warning: unused variable âmaskâ
> net/netfilter/nf_conntrack_helper.c: In function â__nf_conntrack_helper_find_bynameâ:
> net/netfilter/nf_conntrack_helper.c:74: error: âhnodeâ undeclared (first use in this function)
> net/netfilter/nf_conntrack_helper.c:74: error: expected â;â before â{â token
> net/netfilter/nf_conntrack_helper.c: In function ânf_conntrack_helper_registerâ:
> net/netfilter/nf_conntrack_helper.c:117: error: implicit declaration of function âhlist_add_head_rcuâ
> net/netfilter/nf_conntrack_helper.c: In function ânf_conntrack_helper_unregisterâ:
> net/netfilter/nf_conntrack_helper.c:133: error: implicit declaration of function âhlist_del_rcuâ
> make[2]: *** [net/netfilter/nf_conntrack_helper.o] Error 1
> make[1]: *** [net/netfilter] Error 2
> make: *** [net] Error 2

Thanks for the report and patch. This looks like it is probably broken in
Linus' kernel. What config did you use to get the error?

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature