WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] xenoprofile.c:38: error: ‘MAX_VIRT_CPUS’ undeclared here (no

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xenoprofile.c:38: error: ‘MAX_VIRT_CPUS’ undeclared here (not in a function)
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=iJC/MzkfwoJtd9eeWp+Q3H54bTC4/KSYo9QjH8tXTeg=; b=XFn7krwrG1jvGzb2WHzdvma/48seW10q/YCQCFbtO7jlvwsUBEpxq2fUhrTnRpAHHH 9vJmXohfPGIdvkrWzQKpiAMGWB1K+aIR72+QjZJ6MIHh1WFIsPAYVMTG0uaTYBuMrsrB wNOFcfCirFqSFit5Auyr80ERu6l4t+uqdcqbY=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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