From: "Filip Sergeys" Subject: compile error "drivers/xen/balloon/ Date: 08 Mar 2005 10:48:44 +0100 Message-ID: <1110275324.21274.67.camel@wavebreaker.eccent.be> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-UjU9LN2K18vyXLGSa0qL" Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org --=-UjU9LN2K18vyXLGSa0qL Content-Type: text/plain Content-Transfer-Encoding: 7bit I first installed the binary tarball, it works fine, the machine boots and runs. However want to change a few things in the kernel (support for ACL's, USB, ...); so I installed the source tarball from http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-2.0.4-src.tgz This is the sequence of commands untar xen-2.0.4-src.tgz make world copy the /boot/config-2.6.10-xen0 from the binary install to linux-2.6.10-xen0/.config make ARCH=xen xconfig change the parameters I need make then this error occurs: CC drivers/xen/balloon/balloon.o drivers/xen/balloon/balloon.c: In function `balloon_process': drivers/xen/balloon/balloon.c:209: error: `phys_to_machine_mapping' undeclared (first use in this function) drivers/xen/balloon/balloon.c:209: error: (Each undeclared identifier is reported only once drivers/xen/balloon/balloon.c:209: error: for each function it appears in.) drivers/xen/balloon/balloon.c:209: error: `INVALID_P2M_ENTRY' undeclared (first use in this function) drivers/xen/balloon/balloon.c:253: warning: implicit declaration of function `scrub_pages' make[3]: *** [drivers/xen/balloon/balloon.o] Error 1 make[2]: *** [drivers/xen/balloon] Error 2 make[1]: *** [drivers/xen] Error 2 make: *** [drivers] Error 2 I also tried to compile from the original config-2.6.10-xen0 file without changing anything but the same error occurs. "Xen balloon driver - enables returning/claiming memory to/from Xen" ; is it safe to turn off and how? Or is there a better solution? Thanx in advance, Filip Sergeys. -- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* * System Engineer, Verzekeringen NV * * www.verzekeringen.be * * Oostkaai 23 B-2170 Merksem * * 03/6416673 - 0477/340942 * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* --=-UjU9LN2K18vyXLGSa0qL Content-Type: text/html; charset=utf-8 I first installed the binary tarball, it works fine, the machine boots and runs. However want to change a few things in the kernel (support for ACL's, USB, ...); so I installed the source tarball from
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-2.0.4-src.tgz

This is the sequence of commands

untar xen-2.0.4-src.tgz
make world
copy the /boot/config-2.6.10-xen0 from the binary install to linux-2.6.10-xen0/.config
make ARCH=xen xconfig
change the parameters I need
make

then this error occurs:

CC      drivers/xen/balloon/balloon.o
drivers/xen/balloon/balloon.c: In function `balloon_process':
drivers/xen/balloon/balloon.c:209: error: `phys_to_machine_mapping' undeclared (first use in this function)
drivers/xen/balloon/balloon.c:209: error: (Each undeclared identifier is reported only once
drivers/xen/balloon/balloon.c:209: error: for each function it appears in.)
drivers/xen/balloon/balloon.c:209: error: `INVALID_P2M_ENTRY' undeclared (first use in this function)
drivers/xen/balloon/balloon.c:253: warning: implicit declaration of function `scrub_pages'
make[3]: *** [drivers/xen/balloon/balloon.o] Error 1
make[2]: *** [drivers/xen/balloon] Error 2
make[1]: *** [drivers/xen] Error 2
make: *** [drivers] Error 2

I also tried to compile from the original config-2.6.10-xen0 file without changing anything but the same error occurs.
"Xen balloon driver - enables returning/claiming memory to/from Xen" ; is it safe to turn off and how? Or is there a better solution?

Thanx in advance,

Filip Sergeys.

-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
* System Engineer, Verzekeringen NV *
* www.verzekeringen.be              *
* Oostkaai 23 B-2170 Merksem        *
* 03/6416673 - 0477/340942          *
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
--=-UjU9LN2K18vyXLGSa0qL-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click