Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197071 - sys-kernel/xen-sources-2.6.20-r6 won't compile
Summary: sys-kernel/xen-sources-2.6.20-r6 won't compile
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 19:35 UTC by t35t0r
Modified: 2010-01-06 22:31 UTC (History)
0 users

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


Attachments
.config for dom0 (config.dom0,34.27 KB, text/plain)
2007-10-25 19:36 UTC, t35t0r
Details
emerge --info (emerge.info,2.97 KB, text/plain)
2007-10-25 19:38 UTC, t35t0r
Details

Note You need to log in before you can comment on or make changes to this bug.
Description t35t0r 2007-10-25 19:35:35 UTC
/usr/src/linux-2.6.20-xen-r6/arch/i386/mm/hypervisor.c:449: error: expected ')' before '.' token
make[2]: *** [arch/i386/mm/hypervisor.o] Error 1
make[1]: *** [arch/i386/mm] Error 2
make: *** [_all] Error 2

using this http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo as a guide. I ran:

alias make0="mkdir -p _dom0 && make O=_dom0"
make0 && make0 modules_install

and it didn't get very far.
Comment 1 t35t0r 2007-10-25 19:36:28 UTC
Created attachment 134363 [details]
.config for dom0

.config for dom0
Comment 2 t35t0r 2007-10-25 19:38:42 UTC
Created attachment 134364 [details]
emerge --info

emerge --info
Comment 3 t35t0r 2007-10-25 20:17:38 UTC
Another strange thing is that after I ran "make0 menuconfig" and tried "make0 -j2 && make0 modules_install" it complained that the build tree wasn't clean and to run "make mrproper". I ran "make0 mrproper" and "make mrproper", did "cp /boot/config.dom0 _dom0/.config" and ran make0 -j2 again. This time it stopped here:

/usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c:1000: error: redefinition of 'raw_safe_halt'
include2/asm/paravirt.h:208: error: previous definition of 'raw_safe_halt' was here
/usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c:1009: error: redefinition of 'halt'
include2/asm/paravirt.h:213: error: previous definition of 'halt' was here
/usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c: In function 'halt':
/usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c:1010: warning: implicit declaration of function 'raw_local_save_flags'
make[2]: *** [arch/i386/kernel/time-xen.o] Error 1
Comment 4 Micheal Marineau (RETIRED) gentoo-dev 2007-10-26 19:11:33 UTC
Turn of Paravirtulization support (CONFIG_PARAVIRT), it is not used by Xen in this version of the kernel. I need to disable that option completely, there is actually nothing in 2.6.20 that uses it.
Comment 5 t35t0r 2007-11-01 04:05:37 UTC
thanks that fixed it.
Comment 6 Patrick Lauer gentoo-dev 2010-01-06 22:31:28 UTC
Dropped version. Try .29 or .31 :)