|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] [PATCH] Remove the last compile warnings
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
|
|
|
|
|