Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8123 - Compile failture of linux-2.4.19-gentoo-r9 with Connection tracking enabled
Summary: Compile failture of linux-2.4.19-gentoo-r9 with Connection tracking enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-19 15:32 UTC by PJ
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
Kernel config file (config,20.01 KB, text/plain)
2002-09-19 15:33 UTC, PJ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PJ 2002-09-19 15:32:20 UTC
Hi. After spending hours playing with this, I have narrowed the problem down to 
enabling Connection Tracking for Netfilter.

I am using linux-2.4.19-gentoo-r9, Gentoo 1.4rc1 and gcc 3.2.

Every time I enable Connection Tracking I get the following errors when 
compiling my Kernel:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-gentoo-r9/include -Wall -Wstrict-
prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-
pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -Os -mmmx   -nostdinc -
I /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -
DKBUILD_BASENAME=ipt_iplimit  -c -o ipt_iplimit.o ipt_iplimit.c
In file included from /usr/src/linux-2.4.19-gentoo-
r9/include/linux/netfilter_ipv4/ip_conntrack.h:61,
                 from ipt_iplimit.c:14:
/usr/src/linux-2.4.19-gentoo-
r9/include/linux/netfilter_ipv4/ip_conntrack_h323.h:7: warning: type defaults 
to `int' in declaration of `DECLARE_LOCK_EXTERN'
/usr/src/linux-2.4.19-gentoo-
r9/include/linux/netfilter_ipv4/ip_conntrack_h323.h:7: warning: parameter names 
(without types) in function declaration
/usr/src/linux-2.4.19-gentoo-
r9/include/linux/netfilter_ipv4/ip_conntrack_h323.h:7: warning: data definition 
has no type or storage class
In file included from ipt_iplimit.c:15:
/usr/src/linux-2.4.19-gentoo-
r9/include/linux/netfilter_ipv4/ip_conntrack_core.h: In function 
`ip_conntrack_confirm':
/usr/src/linux-2.4.19-gentoo-
r9/include/linux/netfilter_ipv4/ip_conntrack_core.h:44: `NF_ACCEPT' undeclared 
(first use in this function)
/usr/src/linux-2.4.19-gentoo-
r9/include/linux/netfilter_ipv4/ip_conntrack_core.h:44: (Each undeclared 
identifier is reported only once
/usr/src/linux-2.4.19-gentoo-
r9/include/linux/netfilter_ipv4/ip_conntrack_core.h:44: for each function it 
appears in.)
make[3]: *** [ipt_iplimit.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r9/net/ipv4/netfilter'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r9/net/ipv4/netfilter'
make[1]: *** [_subdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r9/net'
make: *** [_dir_net] Error 2

I have included my .config file as an attachment.
Comment 1 PJ 2002-09-19 15:33:05 UTC
Created attachment 4018 [details]
Kernel config file
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-09-22 02:32:34 UTC
I think I fixed this... check a remerge of -r9 or lolo-sources-2.4.19.10_pre3
Comment 3 Brandon Low (RETIRED) gentoo-dev 2002-09-22 11:32:34 UTC
reopen if I suck