Hiroyuki Sato
2011-Aug-27 14:09 UTC
[Xen-users] [Q] #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS and git branch xen/stable-2.6.32
Dear members. I''m trying to build dom0 kernel. on Scientific Linux 6.1 (i386) 1, Does anybody knows how to solve this compile error?? (config file attached) 2, I can''t find branch name "xen/stable-2.6.32". Is it removed?? I executed the following command. % git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git % git checkout xen/stable-2.6.32 error: pathspec ''xen/stable-2.6.32'' did not match any file(s) known to git. [arch@angler01 xen]$ make bzImage HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/x86/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 CC kernel/bounds.s GEN include/linux/bounds.h CC arch/x86/kernel/asm-offsets.s In file included from include/linux/suspend.h:8, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/mm.h:518:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 Environment OS: Scientific Linux. 6.1 (i386) GCC: gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC) Kernel Source Tag: 20a27c1e25b8550066902c9d6ca91631e656dfa3 Sincerely. -- Hiroyuki Sato _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Scott Meyers
2011-Aug-27 15:46 UTC
RE: [Xen-users] [Q] #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS and git branch xen/stable-2.6.32
Follow the instructions presented in this tutorial:http://wiki.xen.org/xenwiki/RHEL6Xen4Tutorial Date: Sat, 27 Aug 2011 23:09:27 +0900 From: hiroysato@gmail.com To: Xen-users@lists.xensource.com CC: Subject: [Xen-users] [Q] #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS and git branch xen/stable-2.6.32 Dear members. I''m trying to build dom0 kernel. on Scientific Linux 6.1 (i386) 1, Does anybody knows how to solve this compile error?? (config file attached) 2, I can''t find branch name "xen/stable-2.6.32". Is it removed?? I executed the following command. % git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git % git checkout xen/stable-2.6.32 error: pathspec ''xen/stable-2.6.32'' did not match any file(s) known to git. [arch@angler01 xen]$ make bzImage HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/x86/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 CC kernel/bounds.s GEN include/linux/bounds.h CC arch/x86/kernel/asm-offsets.s In file included from include/linux/suspend.h:8, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/mm.h:518:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 Environment OS: Scientific Linux. 6.1 (i386) GCC: gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC) Kernel Source Tag: 20a27c1e25b8550066902c9d6ca91631e656dfa3 Sincerely. -- Hiroyuki Sato _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users