Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156778 - sys-kernel/gentoo-sources-2.6.18-r3 failed to compile
Summary: sys-kernel/gentoo-sources-2.6.18-r3 failed to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Other
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-01 03:09 UTC by Matteo Spreafico
Modified: 2006-12-17 13:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.config (config,31.97 KB, text/plain)
2006-12-01 03:11 UTC, Matteo Spreafico
Details
emerge --info (emerge.info,5.05 KB, text/plain)
2006-12-01 03:11 UTC, Matteo Spreafico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Spreafico 2006-12-01 03:09:53 UTC
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 
Comment 1 Matteo Spreafico 2006-12-01 03:09:53 UTC
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
Comment 2 Matteo Spreafico 2006-12-01 03:11:24 UTC
Created attachment 103115 [details]
.config
Comment 3 Matteo Spreafico 2006-12-01 03:11:47 UTC
Created attachment 103116 [details]
emerge --info
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-01 03:26:58 UTC
*** Bug 156779 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-12-01 03:28:21 UTC
*** Bug 156780 has been marked as a duplicate of this bug. ***
Comment 6 Matteo Spreafico 2006-12-01 04:25:37 UTC
Are you sure of these two duplicate bugs ?
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-12-17 12:28:43 UTC
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.
Comment 8 Matteo Spreafico 2006-12-17 13:33:44 UTC
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
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2006-12-17 13:45:12 UTC
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.