|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-ia64-devel] [Patch 1/2] minios: fix compilation on ia64
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
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 <=
|
|
|
|
|