I am trying to install qemu on a beaglebone black wireless, following this answer by bernhardu in a previous topic, which unfortunatelly has been locked.
It seems like the procedure described worked for someone on a beaglebone black however I am stuck at compiling the program. When I try to run the make command, I get the following error :
Code: Select all
In file included from /home/debian/qemu/qemu-git_2013-03-23_v1.4.0+ntpl+static/ qemu/qemu_1.4.0/include/qemu-common.h:15:0,
from block/qcow2-snapshot.c:25:
block/qcow2-snapshot.c: In function ‘qcow2_write_snapshots’:
/home/debian/qemu/qemu-git_2013-03-23_v1.4.0+ntpl+static/qemu/qemu_1.4.0/includ e/qemu/compiler.h:36:23: error: typedef ‘qemu_build_bug_on__250’ locally define d but not used [-Werror=unused-local-typedefs]
typedef char cat2(qemu_build_bug_on__,__LINE__)[(x)?-1:1];
^
/home/debian/qemu/qemu-git_2013-03-23_v1.4.0+ntpl+static/qemu/qemu_1.4.0/includ e/qemu/compiler.h:33:18: note: in definition of macro ‘cat’
#define cat(x,y) x ## y
^
/home/debian/qemu/qemu-git_2013-03-23_v1.4.0+ntpl+static/qemu/qemu_1.4.0/includ e/qemu/compiler.h:36:18: note: in expansion of macro ‘cat2’
typedef char cat2(qemu_build_bug_on__,__LINE__)[(x)?-1:1];
^~~~
block/qcow2-snapshot.c:249:5: note: in expansion of macro ‘QEMU_BUILD_BUG_ON’
QEMU_BUILD_BUG_ON(offsetof(QCowHeader, snapshots_offset) !=
^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
/home/debian/qemu/qemu-git_2013-03-23_v1.4.0+ntpl+static/qemu/qemu_1.4.0/rules. mak:21: recipe for target 'block/qcow2-snapshot.o' failed
make: *** [block/qcow2-snapshot.o] Error 1
I don't understand why I have something different, which requires me to apply the patch manually while I did exactly like everyone else.
Any help would be appreciated.