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

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

To: Pio <piosland82@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] compiling linux-2.6.10-xen0 custom kernel udefined function
From: Daniel Meinhold <daniel.meinhold@xxxxxxxxxxxxxx>
Date: Fri, 20 May 2005 16:28:04 +0200
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 20 May 2005 14:27:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <428DC0F3.2020602@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: unixpowered.de
References: <428DC0F3.2020602@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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