Am 02.11.2011 14:26, schrieb Nigel Horne:
Public bug reported:
The latest GIT version (e072ea2fd8fdceef64159b9596d3c15ce01bea91) fails
to compile.
Host: debian x86-64. gcc 4.6.2
...
CC cris-softmmu/pci-stub.o
...
In file included from /home/njh/src/qemu/hw/pci-stub.c:24:0:
./qmp-commands.h: At top level:
./qmp-commands.h:3:1: error: expected identifier or ‘(’ before ‘{’ token
.
** Affects: qemu
Importance: Undecided
Status: New
Did you try compilation in a tree with old generated files from previous
compilations? If there are several qmp-commands.h in subdirectories,
you have such old files. There must be only one qmp-commands.h
in the build root.
The old files start with "{", the new files start with comment lines.
The compiler error which you got comes from an old file.
Create a new QEMU source tree and try compilation there.
Regards,
Stefan Weil