qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile


From: Stefan Weil
Subject: Re: [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
Date: Wed, 02 Nov 2011 17:41:02 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]