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

Bug 29229

Summary: linux-2.4.20-gentoo-r7 don't compies
Product: Gentoo Linux Reporter: Serge Matveev <sergem>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Serge Matveev 2003-09-20 16:36:44 UTC
$ cp .config ..
$ make mrproper
$ cp ../.config .
$ make oldconfig
$ make dep && make  modules modules_install

[...]

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=pentium3 -DMODULE
-DMODVERSIONS -include
/usr/src/linux-2.4.20-gentoo-r7/include/linux/modversions.h  -nostdinc
-iwithprefix include -DKBUILD_BASENAME=ip_nat_rule  -c -o ip_nat_rule.o
ip_nat_rule.c
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=pentium3 -DMODULE
-DMODVERSIONS -include
/usr/src/linux-2.4.20-gentoo-r7/include/linux/modversions.h  -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[2]: *** [ip_nat_core.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r7/net/ipv4/netfilter'
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r7/net'
make: *** [_mod_net] Error 2


Reproducible: Always
Steps to Reproduce:




emerge info
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Pentium III (Katmai)
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -msse -mmmx -mfpmath=sse -fomit-frame-pointer
-fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -msse -mmmx -mfpmath=sse
-fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/home/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo http://gentoo.linux.no/
ftp://gentoo.linux.no/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mmx
mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb
readline tcltk java X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome
gtk motif opengl mozilla aavm dga dnd evo ffmpeg gd gtk2 hyriand javascript
jikes mbox mdb moznoirc moznomail mozp3p mozsvg offensive pda pic radeon S3TC
samba sox sse tiff type1 usb vim-with-x wmf wxwindows Xaw3d xosd -apm -arts -kde
-mikmod -nls -slang -svga -qt"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-09-21 04:18:01 UTC

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