Skip to contentSkip to conversation

compile error "drivers/xen/balloon/

DISCUSSION Filip Sergeys 2 participants 2 messages Mar 8, 2005

lore
Share & tools
lore
#0 lore raw

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.

Signature · 6 lines
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
* System Engineer, Verzekeringen NV *
* www.verzekeringen.be              *
* Oostkaai 23 B-2170 Merksem        *
* 03/6416673 - 0477/340942          *
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
#1 lore raw
Quoted 7 lines · Filip Sergeys

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

this is 'make ARCH=xen' here

Signature · 8 lines
Vincent Hanquez


-------------------------------------------------------
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