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

[Xen-ia64-devel] [Patch 1/2] minios: fix compilation on ia64

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [Patch 1/2] minios: fix compilation on ia64
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Mon, 28 Jan 2008 21:08:39 +0900
Delivery-date: Mon, 28 Jan 2008 04:10:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

fix the following compilation error for minios on ia64.

gcc -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -fno-stack-
protector -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -
D__XEN_INTERFACE_VERSION__=0x00030205 -g -mfixed-range=f2-f5,f12-f15,f32-f127 -
mconstant-gp -O2 -I/root/mini/xen-unstable.hg.16919/extras/mini-os/include  -I/
root/mini/xen-unstable.hg.16919/extras/mini-os/include/ia64       -c lib/math.c 
-o lib/math.o
cc1: warnings being treated as errors
In file included from /root/mini/xen-unstable.hg.16919/extras/mini-os/include/
hypervisor.h:23,
                 from /root/mini/xen-unstable.hg.16919/extras/mini-os/include/
ia64/os.h:37,
                 from /root/mini/xen-unstable.hg.16919/extras/mini-os/include/
ia64/ia64_fpu.h:33,
                 from /root/mini/xen-unstable.hg.16919/extras/mini-os/include/
ia64/ia64_cpu.h:36,
                 from /root/mini/xen-unstable.hg.16919/extras/mini-os/include/
ia64/traps.h:45,
                 from /root/mini/xen-unstable.hg.16919/extras/mini-os/include/
console.h:39,
                 from /root/mini/xen-unstable.hg.16919/extras/mini-os/include/
lib.h:60,
                 from lib/math.c:59:
/root/mini/xen-unstable.hg.16919/extras/mini-os/include/ia64/hypercall-ia64.h: 
In function 'xencomm_arch_event_channel_op':
/root/mini/xen-unstable.hg.16919/extras/mini-os/include/ia64/hypercall-ia64.h:
142: warning: implicit declaration of function 'memcpy'
/root/mini/xen-unstable.hg.16919/extras/mini-os/include/ia64/hypercall-ia64.h:
142: warning: nested extern declaration of 'memcpy'
In file included from lib/math.c:59:
/root/mini/xen-unstable.hg.16919/extras/mini-os/include/lib.h: At top level:
/root/mini/xen-unstable.hg.16919/extras/mini-os/include/lib.h:87: error: 
conflicting types for 'memcpy'
/root/mini/xen-unstable.hg.16919/extras/mini-os/include/ia64/hypercall-ia64.h:
142: error: previous implicit declaration of 'memcpy' was here
make: *** [lib/math.o] Error 1

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe 

Attachment: fix_minios_ia64_1.patch
Description: Binary data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [Patch 1/2] minios: fix compilation on ia64, Akio Takebe <=