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

Re: [Xen-ia64-devel] [PATCH] Remove the last compile warnings

To: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] Remove the last compile warnings
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Mon, 13 Mar 2006 21:24:43 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Mar 2006 04:25:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9FBCE015AF479F46B3B410499F3AE05B169FBD@pdsmsx405>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: LOSL
References: <9FBCE015AF479F46B3B410499F3AE05B169FBD@pdsmsx405>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, 2006-03-12 at 15:29 +0800, Zhang, Xiantao wrote:
> Hi Dan/Alex
>       This patch intends to remove the last warnings(C code) when
> compile. Currently due to lack of header files corresponding to the c
> file, some function declarations have to be placed in the file which
> refers to them. It seems that we should add some header files to solve
> it in future. 

Hi Xiantao,

   Looks like a good start, but it doesn't build for me:

gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -O2
-iwithprefix include -Wall -fomit-frame-pointer -I/opt/xen/include
-D__KERNEL__ -I/opt/xen/include/asm-ia64
-I/opt/xen/include/asm-ia64/linux -I/opt/xen/include/asm-ia64/linux
-I/opt/xen/include/asm-ia64/linux-xen
-I/opt/xen/include/asm-ia64/linux-null -I/opt/xen/arch/ia64/linux
-I/opt/xen/arch/ia64/linux-xen -DIA64 -DXEN -DLINUX_2_6
-DV_IOSAPIC_READY -ffixed-r13 -mfixed-range=f12-f15,f32-f127 -g -g
-D__XEN__ -DNDEBUG -c vmx/vmx_init.c -o vmx_init.o
vmx/vmx_init.c:54:25: asm/vlsapic.h: No such file or directory
vmx/vmx_init.c: In function `vmx_setup_platform':
vmx/vmx_init.c:440: warning: implicit declaration of function
`vmx_virq_line_init'
make[1]: *** [vmx_init.o] Error 1

Was vlsapic.h supposed to be added with this patch?  It builds w/o the
include added to vmx_init.c.  Thanks,

        Alex

-- 
Alex Williamson                             HP Linux & Open Source Lab


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

<Prev in Thread] Current Thread [Next in Thread>