scripts/Makefile.build:52: kbuild: net/ipv4/netfilter/Makefile - Usage of export-objs is obsolete in 2.6. Please fix! CC net/ipv4/netfilter/ip_conntrack_standalone.o CC net/netfilter/xt_CLASSIFY.o In file included from include/linux/netfilter_ipv4/ip_conntrack.h:32, from net/ipv4/netfilter/ip_conntrack_standalone.c:35: include/linux/netfilter_ipv4/ip_conntrack_talk.h:7:43: error: linux/netfilter_ipv4/lockhelp.h: No such file or directory In file included from include/linux/netfilter_ipv4/ip_conntrack.h:32, from net/ipv4/netfilter/ip_conntrack_standalone.c:35: include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: data definition has no type or storage class include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: type defaults to
scripts/Makefile.build:52: kbuild: net/ipv4/netfilter/Makefile - Usage of export-objs is obsolete in 2.6. Please fix! CC net/ipv4/netfilter/ip_conntrack_standalone.o CC net/netfilter/xt_CLASSIFY.o In file included from include/linux/netfilter_ipv4/ip_conntrack.h:32, from net/ipv4/netfilter/ip_conntrack_standalone.c:35: include/linux/netfilter_ipv4/ip_conntrack_talk.h:7:43: error: linux/netfilter_ipv4/lockhelp.h: No such file or directory In file included from include/linux/netfilter_ipv4/ip_conntrack.h:32, from net/ipv4/netfilter/ip_conntrack_standalone.c:35: include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: data definition has no type or storage class include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: type defaults to âintâ in declaration of âDECLARE_LOCK_EXTERNâ include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: parameter names (without types) in function declaration make[3]: *** [net/ipv4/netfilter/ip_conntrack_standalone.o] Error 1 make[2]: *** [net/ipv4/netfilter] Error 2 make[1]: *** [net/ipv4] Error 2 make[1]: *** Waiting for unfinished jobs.... CC net/netfilter/xt_MARK.o CC net/netfilter/xt_NFQUEUE.o CC net/netfilter/xt_comment.o CC net/netfilter/xt_connmark.o CC net/netfilter/xt_conntrack.o In file included from include/linux/netfilter_ipv4/ip_conntrack.h:32, from include/net/netfilter/nf_conntrack_compat.h:8, from net/netfilter/xt_connmark.c:32: include/linux/netfilter_ipv4/ip_conntrack_talk.h:7:43: error: linux/netfilter_ipv4/lockhelp.h: No such file or directory In file included from include/linux/netfilter_ipv4/ip_conntrack.h:32, from include/net/netfilter/nf_conntrack_compat.h:8, from net/netfilter/xt_connmark.c:32: include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: data definition has no type or storage class include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: type defaults to âintâ in declaration of âDECLARE_LOCK_EXTERNâ include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: parameter names (without types) in function declaration make[2]: *** [net/netfilter/xt_connmark.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from include/linux/netfilter_ipv4/ip_conntrack.h:32, from net/netfilter/xt_conntrack.c:15: include/linux/netfilter_ipv4/ip_conntrack_talk.h:7:43: error: linux/netfilter_ipv4/lockhelp.h: No such file or directory In file included from include/linux/netfilter_ipv4/ip_conntrack.h:32, from net/netfilter/xt_conntrack.c:15: include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: data definition has no type or storage class include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: type defaults to âintâ in declaration of âDECLARE_LOCK_EXTERNâ include/linux/netfilter_ipv4/ip_conntrack_talk.h:10: warning: parameter names (without types) in function declaration make[2]: *** [net/netfilter/xt_conntrack.o] Error 1 make[1]: *** [net/netfilter] Error 2 make: *** [net] Error 2
Created attachment 103115 [details] .config
Created attachment 103116 [details] emerge --info
*** Bug 156779 has been marked as a duplicate of this bug. ***
*** Bug 156780 has been marked as a duplicate of this bug. ***
Are you sure of these two duplicate bugs ?
You have modified your kernel, we cannot support this. The line numbers do not match up and the file include/linux/netfilter_ipv4/ip_conntrack_talk.h does not even exist in the standard distribution.
I didn't modified the kernel, it was the result of `emerge gentoo-sources` on that machine and then a make oldconfig with the old .config It's only possible that the kernel headers in /usr/include/linux are different from the official-gentoo for some iptables patches I will try in the new few days with vanilla headers and kernel sources. Thanks
The kernel doesn't compile against /usr/include/linux -- unless you modified it of course. You can probably confirm this by checking the existence of /usr/src/linux/include/linux/netfilter_ipv4/ip_conntrack_talk.h -- if it exists, then something or someone has modified your kernel. Googling suggests that ip_conntrack_talk.h comes from netfilter patch-o-matic but I don't really know what that is. I suggest that you run "rm -rf /usr/src/linux-2.6.18-gentoo-r3" and then emerge it again.