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

Bug 54637

Summary: [2.4] gaming-sources-2.4.20-r13 : error while compiling
Product: Gentoo Linux Reporter: Martin Wegner <gentoo-bugs>
Component: [OLD] Core systemAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: 1.4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 56068    
Bug Blocks:    

Description Martin Wegner 2004-06-21 07:21:35 UTC
When I want to compile the gaming-sources-2.4.20-r13 I get the following error:

make[2]: Entering directory `/usr/src/linux-2.4.20-gaming-r13/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r13/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon   -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c -o sched.o sched.c
sched.c:461:1: warning: "/*" within comment
sched.c: In function `set_cpus_allowed':
sched.c:1465: error: structure has no member named `cpus_runnable'
sched.c:1468: error: structure has no member named `processor'
sched.c:1475: error: structure has no member named `cpus_runnable'
sched.c: At top level:
sched.c:2122: error: redefinition of `set_cpus_allowed'
sched.c:1454: error: `set_cpus_allowed' previously defined here
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-gaming-r13/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gaming-r13/kernel'
make: *** [_dir_kernel] Error 2


Reproducible: Always
Steps to Reproduce:
1. cd /usr/src/linux-2.4.20-gaming-r13
2. make dep
3. make bzImage

Actual Results:  
Does not compile due to errors.

Expected Results:  
Should compile ;)

# emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Duron(tm)
Gentoo Base System version 1.4.16
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apache2 apm avi berkdb bonobo cdr clamav crypt cups
dedicated doc dvd encode esd fbcon foomaticdb freetype gd gdbm gif gnome gpm gtk
gtk2 imagemagick imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg mysql
ncurses net nls oggvorbis opengl oss pam pdflib perl png python quicktime radeon
readline ruby samba sdl slang spell sse ssl tcltk tcpd tetex truetype usb videos
x86 xml2 xmms xv zlib"
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-07-23 07:03:54 UTC
Gaming-sources no longer exists in portage. I'd suggest using ck-sources for the most similar patchset (gaming-sources was heavily based on this).