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

Re: [Xen-users] compiling linux-2.6.10-xen0 custom kernel udefined function



Hi,

> I was trying to compile a custom 2.6.10 kernel for dom0 but i get those 
> errors:
> 
> drivers/xen/baloon.c: In function 'ballon_process':
> drivers/xen/baloon.c:210: error: 'phys_to_machine_mapping' undeclared 
> (first use of this function)
> drivers/xen/baloon.c:210: error: (Each undeclared identifier is reporte 
> only once for each function it appears in)
> drivers/xen/baloon.c:210: error: 'INVALID_P2M_ENTRY' undeclared (first 
> use of this function)
> drivers/xen/baloon.c:253: warning: Implicit declaration of function 
> 'scrub_pages'
> drivers/xen/baloon.c:275: warning: Implicit declaration of function 
> 'mfn_to_pfn'
> make[3]: *** [driver/xen/baloon/baloon.o] Error 1
> make[2]: *** [drivers/xen/baloon] Error 2
> make[1]: *** [drivers/xen] Error 2
> make: *** [drivers] Error 2

I got the same error on Debian 3.1 (sarge) with xen 2.0.5 stable and
testing.
After trying several kernel options the solution was just easy:

try e.g. "make ARCH=xen all" - the "ARCH=xen" seems to be important, not
only for menuconfig.

Good luck ;)

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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