[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] xenoprofile.c:38: error: ‘MAX_VIRT_CPUS’ undeclared here (not in a function)


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Teck Choon Giam <giamteckchoon@xxxxxxxxx>
  • Date: Sat, 26 Dec 2009 11:42:33 +0800
  • Delivery-date: Fri, 25 Dec 2009 19:42:54 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=RKqXwTlBBYOM0osUm3aCRyZi32Yr2aD4WQabpM3fCDp1U+xZPyFSsSzjrSPxS/Ta+t MEFgi3OzW+rjkKaT+O/f8jLN7X8QI5OsMd9sThB/S8gLWAfAGFF1oZCwjMacRdcNSmqV dD/fm4OhoJa0Kmg9lyUjqgQvfiJjgzSEUb9H0=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.