From: Akio Takebe Subject: [Patch 1/2] minios: fix compilation on ia64 Date: Mon, 28 Jan 2008 21:08:39 +0900 Message-ID: <87C861A684658Dtakebe_akio@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-pooyTvmSYGxT0eEbbH9Oa" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ia64-devel-bounces@lists.xensource.com Errors-To: xen-ia64-devel-bounces@lists.xensource.com To: xen-ia64-devel , xen-devel List-Id: xen-devel@lists.xenproject.org --Boundary-pooyTvmSYGxT0eEbbH9Oa Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Description: Mail message body 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 Best Regards, Akio Takebe --Boundary-pooyTvmSYGxT0eEbbH9Oa Content-Type: application/octet-stream; name="fix_minios_ia64_1.patch" Content-Disposition: attachment; filename="fix_minios_ia64_1.patch" Content-Transfer-Encoding: base64 ZGlmZiAtciBlZDhhYjFhMzZiMDkgZXh0cmFzL21pbmktb3MvaW5jbHVkZS9saWIuaAotLS0g YS9leHRyYXMvbWluaS1vcy9pbmNsdWRlL2xpYi5oCU1vbiBKYW4gMjggMTA6MTc6MDUgMjAw OCArMDAwMAorKysgYi9leHRyYXMvbWluaS1vcy9pbmNsdWRlL2xpYi5oCU1vbiBKYW4gMjgg MjA6NDg6MDMgMjAwOCArMDkwMApAQCAtNTcsNyArNTcsNiBAQAogCiAjaW5jbHVkZSA8c3Rk YXJnLmg+CiAjaW5jbHVkZSA8c3RkZGVmLmg+Ci0jaW5jbHVkZSA8Y29uc29sZS5oPgogCiAj aWZkZWYgSEFWRV9MSUJDCiAjaW5jbHVkZSA8c3RkaW8uaD4KQEAgLTk4LDYgKzk3LDcgQEAg Y2hhciAqIHN0cmNhdChjaGFyICogZGVzdCwgY29uc3QgY2hhciAqIAogY2hhciAqIHN0cmNh dChjaGFyICogZGVzdCwgY29uc3QgY2hhciAqIHNyYyk7CiBjaGFyICAqc3RyZHVwKGNvbnN0 IGNoYXIgKnMpOwogI2VuZGlmCisjaW5jbHVkZSA8Y29uc29sZS5oPgogCiAjZGVmaW5lIFJB TkRfTUlYIDI2NTQ0MzU3NjlVCiAK --Boundary-pooyTvmSYGxT0eEbbH9Oa Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel --Boundary-pooyTvmSYGxT0eEbbH9Oa--