Teck Choon Giam
2009-Dec-26 03:42 UTC
[Xen-devel] xenoprofile.c:38: error: ‘MAX_VIRT_CPUS’ undeclared here (not in a function)
Hi, For your information, please. Compiled success for linux-2.6.18-xen.hg changeset 967 but not 969 due to xenoprofile MAX_VIRT_CPUS undeclared error. Is this for xen-4.0 and not for xen-3.4.x? Using linux-2.6.18-xen.hg changeset 969 with xen-3.4-testing.hg changeset 19861 encountered the below errors. make -j 4 debug=y INSTALL_MOD_STRIP=1 XENFB_TOOLS=y XEN_PYTHON_NATIVE_INSTALL=1 kernels for i in linux-2.6-xen ; do /usr/bin/make $i-install || exit 1; done make[1]: Entering directory `/home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src'' /usr/bin/make -f buildconfigs/mk.linux-2.6-xen build make[2]: Entering directory `/home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src'' if grep "^CONFIG_MODULES=" build-linux-2.6.18-969.0.choon_xen_x86_32/.config ; then \ /usr/bin/make -C build-linux-2.6.18-969.0.choon_xen_x86_32 ARCH=$(sh buildconfigs/select-linux-arch linux-2.6.18-xen.hg) modules || exit 1 ; \ /usr/bin/make -C build-linux-2.6.18-969.0.choon_xen_x86_32 ARCH=$(sh buildconfigs/select-linux-arch linux-2.6.18-xen.hg) INSTALL_MOD_PATH=/home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src/dist/install modules_install ; \ fi CONFIG_MODULES=y select-linux-arch: i386 make[3]: Entering directory `/home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src/build-linux-2.6.18-969.0.choon_xen_x86_32'' /usr/bin/make -C /home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src/linux-2.6.18-xen.hg O=/home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src/build-linux-2.6.18-969.0.choon_xen_x86_32 modules GEN /home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src/build-linux-2.6.18-969.0.choon_xen_x86_32/Makefile CHK include/linux/version.h CHK include/linux/utsrelease.h Using /home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src/linux-2.6.18-xen.hg as source for kernel CC [M] arch/i386/oprofile/../../../drivers/xen/xenoprof/xenoprofile.o /home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src/linux-2.6.18-xen.hg/arch/i386/oprofile/../../../drivers/xen/xenoprof/xenoprofile.c:38: error: ‘MAX_VIRT_CPUS’ undeclared here (not in a function) make[6]: *** [arch/i386/oprofile/../../../drivers/xen/xenoprof/xenoprofile.o] Error 1 make[5]: *** [arch/i386/oprofile] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [modules] Error 2 make[3]: *** [modules] Error 2 make[3]: Leaving directory `/home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src/build-linux-2.6.18-969.0.choon_xen_x86_32'' make[2]: *** [build] Error 1 make[2]: Leaving directory `/home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/home/choonrpm/rpmbuild/BUILD/xen-3.4.3-rc1-pre-src'' make: *** [install-kernels] Error 1 Thanks. Kindest regards, Giam Teck Choon _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teck Choon Giam
2009-Dec-26 03:44 UTC
[Xen-devel] Re: xenoprofile.c:38: error: ‘MAX_VIRT_CPUS’ undeclared here (not in a function)
> Using linux-2.6.18-xen.hg changeset 969 with xen-3.4-testing.hg > changeset 19861 encountered the below errors.Sorry, should be xen-3.4-testing.hg changeset 19865. Thanks. Kindest regards, Giam Teck Choon _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-Dec-26 08:00 UTC
Re: [Xen-devel] xenoprofile.c:38: error: MAX_VIRT_CPUS¹ undeclared here (not in a function)
On 26/12/2009 03:42, "Teck Choon Giam" <giamteckchoon@gmail.com> wrote:> For your information, please. > > Compiled success for linux-2.6.18-xen.hg changeset 967 but not 969 due > to xenoprofile MAX_VIRT_CPUS undeclared error. Is this for xen-4.0 > and not for xen-3.4.x?I''ll fix this, thanks. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-Dec-28 09:43 UTC
Re: [Xen-devel] xenoprofile.c:38: error: MAX_VIRT_CPUS¹ undeclared here (not in a function)
On 26/12/2009 03:42, "Teck Choon Giam" <giamteckchoon@gmail.com> wrote:> For your information, please. > > Compiled success for linux-2.6.18-xen.hg changeset 967 but not 969 due > to xenoprofile MAX_VIRT_CPUS undeclared error. Is this for xen-4.0 > and not for xen-3.4.x? > > Using linux-2.6.18-xen.hg changeset 969 with xen-3.4-testing.hg > changeset 19861 encountered the below errors.Should be fixed by linux-2.6.18-xen:970. Thanks, Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel