Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135888 - sys-kernel/openvz-sources-026.012 fails to build: 'PAGE_KERNEL' undeclared
Summary: sys-kernel/openvz-sources-026.012 fails to build: 'PAGE_KERNEL' undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 135911 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-07 03:31 UTC by Elton Algera
Modified: 2006-08-13 10:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elton Algera 2006-06-07 03:31:47 UTC
openvz-sources-026.012 fails to build on my system:

CC      kernel/fairsched.o
kernel/fairsched.c: In function 'fairsched_do_dump':
kernel/fairsched.c:891: error: 'PAGE_KERNEL' undeclared (first use in this function)
kernel/fairsched.c:891: error: (Each undeclared identifier is reported only once
kernel/fairsched.c:891: error: for each function it appears in.)
make[1]: *** [kernel/fairsched.o] Error 1
make: *** [kernel] Error 2

This can be resolved by adding 
#include <asm/pgtable.h>
to kernel/fairsched.c


emerge --info: 

Portage 2.1_rc3-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://194.117.143.71 ftp://194.117.143.69/mirrors/gentoo http://194.117.143.69 ftp://194.117.143.71/mirrors/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx X acl alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cscope cups dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kqemu libedit libg++ libwww mad mikmod mmx motif mp3 mpeg mudflap multislot multiuser ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl ssl svga tcltk tcpd truetype truetype-fonts type1-fonts udev video_cards_nv vorbis xinerama xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-07 06:25:23 UTC
*** Bug 135911 has been marked as a duplicate of this bug. ***
Comment 2 Kirill Korotaev 2006-06-07 22:51:44 UTC
fixed in 2.6.16-026test014.4
http://bugzilla.openvz.org/show_bug.cgi?id=165
Comment 3 Christian Heim (RETIRED) gentoo-dev 2006-08-13 10:35:34 UTC
This is fixed since 07. Jun 2006!