Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 28493

Summary: Kernel IPTables compilation crash
Product: Gentoo Linux Reporter: wow <zataz>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fixes a multi-line string thing.

Description wow 2003-09-11 23:36:45 UTC
Hello,
After update to the kernel 2.4.20-r7 with the new GCC support.
I have receive an error message for the compilation.

Reproducible: Always
Steps to Reproduce:
1. make menuconfig
2. make dep && make dep && make bzImage && make modules && make modules_install
3.

Actual Results:  
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r7/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=ip_nat_core  -c -o
ip_nat_core.o ip_nat_core.c
ip_nat_core.c:854:40: missing terminating " character
ip_nat_core.c:855:49: missing terminating " character
ip_nat_core.c:1038:1: unterminated argument list invoking macro "DEBUGP"
ip_nat_core.c: In function `do_bindings':
ip_nat_core.c:1038: error: `DEBUGP' undeclared (first use in this function)
ip_nat_core.c:1038: error: (Each undeclared identifier is reported only once
ip_nat_core.c:1038: error: for each function it appears in.)
ip_nat_core.c:1038: error: syntax error at end of input
ip_nat_core.c:833: warning: unused variable `helper_called'
ip_nat_core.c:832: warning: unused variable `ret'
ip_nat_core.c:786: warning: unused variable `is_tcp'
ip_nat_core.c:70: warning: `ip_nat_cleanup_conntrack' defined but not used
make[3]: *** [ip_nat_core.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r7/net/ipv4/netfilter'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r7/net/ipv4/netfilter'
make[1]: *** [_subdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r7/net'
make: *** [_dir_net] Error 2


My .config file :

http://www.zataz.net/kernel-2.4.20-r7.config
Comment 1 James Harlow (RETIRED) gentoo-dev 2003-09-12 05:12:46 UTC
Is this with GCC 3.3.1?
Comment 2 James Harlow (RETIRED) gentoo-dev 2003-09-12 06:02:09 UTC
Created attachment 17563 [details, diff]
fixes a multi-line string thing.

If you are using gcc-3.3.1, here is a patch that will fix that problem for you.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-09-24 12:48:28 UTC

*** This bug has been marked as a duplicate of 28561 ***