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_32ARCH=$(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 ; \
fiCONFIG_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
Quoted 2 lines
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
Re: xenoprofile.c:38: error: ŒMAX_VIRT_CPUS¹ undeclared here (not in a function)
In reply to Teck Choon GiamQuoted 5 lines · Teck Choon Giam
For your information, please.
Compiled success for linux-2.6.18-xen.hg changeset 967 but not 969 due to xenoprofile
MAX_VIRT_CPUSundeclared error. Is this for xen-4.0 and not for xen-3.4.x?
I'll fix this, thanks.
-- Keir
Re: xenoprofile.c:38: error: ŒMAX_VIRT_CPUS¹ undeclared here (not in a function)
In reply to Teck Choon GiamQuoted 8 lines · Teck Choon Giam
For your information, please.
Compiled success for linux-2.6.18-xen.hg changeset 967 but not 969 due to xenoprofile
MAX_VIRT_CPUSundeclared 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