[Coremu-list-devel] compiling coremu for arm
Brought to you by:
cyfdecyf
From: julia mi <tul...@ya...> - 2013-02-27 06:26:21
|
hi, when i compile coremu for target=x86_64, it compiles just fine. but when i compile it for arm, i get the following error. CC arm-softmmu/watch.o In file included from /usr/include/stdint.h:25:0, from /usr/lib/gcc/x86_64-redhat-linux/4.7.2/include/stdint.h:3, from /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.h:28, from /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.c:26: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.c:426:6: warning: no previous prototype for ‘helper_watch_server’ [-Wmissing-prototypes] /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.c: In function ‘helper_watch_server’: /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.c:432:22:error: ‘R_EAX’ undeclared (first use in this function) /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.c:432:22: note: each undeclared identifier is reported only once for each function it appears in /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.c:433:21: error: ‘R_EDI’ undeclared (first use in this function) /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.c:434:24: error: ‘R_ESI’ undeclared (first use in this function) /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.c:435:22: error: ‘R_EDX’ undeclared (first use in this function) /home/hpcnl/Documents/coremu/coremu-0.1.2/qemu/cm-features/watch.c:454:13: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘target_ulong’ [-Wformat] make[2]: *** [watch.o] Error 1 make[1]: *** [subdir-arm-softmmu] Error 2 make[1]: Leaving directory `/home/hpcnl/Documents/coremu/coremu-0.1.2/coremu/obj/qemu' make: *** [qemu] Error 2 is this a bug? or for compiling for arm need any patch? |