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

Bug 17764

Summary: lolo-sources-2.4.20.2_pre5 cannot compile ip_conntrack modules
Product: Gentoo Linux Reporter: Nicolas Laplante <nicolas.laplante>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My kernel configuration file for lolo-sources-2.4.20.2_pre5

Description Nicolas Laplante 2003-03-18 13:23:57 UTC
I emerged lolo-sources-2.4.20.2_pre5 because of a so called scheduler bug in 
gentoo-sources-2.4.20-r1. 
 
I configured the kernel the same way as gentoo-sources-2.4.20-r1. 
 
 
 

Reproducible: Always
Steps to Reproduce:
1. Take the .config file I attached and run 'make oldconfig' 
2. make bzImage 
3. make modules 
Actual Results:  
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-lolo-r2_pre5/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O3 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -O2 -pipe 
-m3dnow -mmmx -msse -DMODULE  -nostdinc -iwithprefix include 
-DKBUILD_BASENAME=ip_conntrack_ftp  -c -o ip_conntrack_ftp.o ip_conntrack_ftp.c 
ip_conntrack_ftp.c:439: parse error before 
"this_object_must_be_defined_as_export_objs_in_the_Makefile" 
ip_conntrack_ftp.c:439: warning: type defaults to `int' in declaration of 
`this_object_must_be_defined_as_export_objs_in_the_Makefile' 
ip_conntrack_ftp.c:439: warning: data definition has no type or storage class 
make[2]: *** [ip_conntrack_ftp.o] Error 1 
make[2]: Leaving directory `/usr/src/linux-2.4.20-lolo-r2_pre5/net/ipv4/netfilter' 
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2 
make[1]: Leaving directory `/usr/src/linux-2.4.20-lolo-r2_pre5/net' 
make: *** [_mod_net] Error 2 
 

Expected Results:  
Build the modules without errors. 

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) XP 2100+ 
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config 
/usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/home/portage" 
USE="x86 oss apm avi crypt encode gif jpeg libg++ mikmod mpeg ncurses nls pdflib 
png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex 
svga java sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis motif opengl 
mozilla mmx 3dnow sse alsa cdr dvd qt kde X cups mysql -gtk -gnome" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.ca.gentoo.org" 
FEATURES="ccache sandbox buildpkg"
Comment 1 Nicolas Laplante 2003-03-18 13:25:30 UTC
Created attachment 9567 [details]
My kernel configuration file for lolo-sources-2.4.20.2_pre5
Comment 2 Jay Pfeifer (RETIRED) gentoo-dev 2003-03-24 18:34:10 UTC

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