* [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
@ 2011-11-02 13:26 Nigel Horne
2011-11-02 16:41 ` Stefan Weil
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Nigel Horne @ 2011-11-02 13:26 UTC (permalink / raw)
To: qemu-devel
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
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/885213
Title:
Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
Status in QEMU:
New
Bug description:
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
.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/885213/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
2011-11-02 13:26 [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c Nigel Horne
@ 2011-11-02 16:41 ` Stefan Weil
2011-11-04 16:08 ` [Qemu-devel] [Bug 885213] " Nigel Horne
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Stefan Weil @ 2011-11-02 16:41 UTC (permalink / raw)
To: Bug 885213; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] [Bug 885213] Re: Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
2011-11-02 13:26 [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c Nigel Horne
2011-11-02 16:41 ` Stefan Weil
@ 2011-11-04 16:08 ` Nigel Horne
2011-11-04 17:22 ` Stefan Weil
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Nigel Horne @ 2011-11-04 16:08 UTC (permalink / raw)
To: qemu-devel
I forgot to add that my configure flags are
./configure --enable-linux-aio --enable-kvm
and that my CFLAGS are
-O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized
-Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2
-msse -mmmx -mfpmath=sse -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith
-Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-
function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-
labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-
security
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/885213
Title:
Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
Status in QEMU:
New
Bug description:
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
.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/885213/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] [Bug 885213] Re: Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
2011-11-02 13:26 [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c Nigel Horne
2011-11-02 16:41 ` Stefan Weil
2011-11-04 16:08 ` [Qemu-devel] [Bug 885213] " Nigel Horne
@ 2011-11-04 17:22 ` Stefan Weil
2011-11-05 21:39 ` Jordan Justen
2011-11-05 22:18 ` Stefan Weil
2011-11-07 15:55 ` Nigel Horne
4 siblings, 1 reply; 7+ messages in thread
From: Stefan Weil @ 2011-11-04 17:22 UTC (permalink / raw)
To: qemu-devel
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
** Changed in: qemu
Assignee: (unassigned) => Stefan Weil (ubuntu-weilnetz)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/885213
Title:
Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
Status in QEMU:
New
Bug description:
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
.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/885213/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [Bug 885213] Re: Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
2011-11-04 17:22 ` Stefan Weil
@ 2011-11-05 21:39 ` Jordan Justen
0 siblings, 0 replies; 7+ messages in thread
From: Jordan Justen @ 2011-11-05 21:39 UTC (permalink / raw)
To: Bug 885213; +Cc: qemu-devel
On Fri, Nov 4, 2011 at 10:22, Stefan Weil <885213@bugs.launchpad.net> wrote:
> 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.
Should 'make clean' take care of this? It didn't help me when I
stumbled upon this. :)
Or, since the old qmp-commands.h files are no longer targets, is this
not possible/desired?
Thanks,
-Jordan
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] [Bug 885213] Re: Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
2011-11-02 13:26 [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c Nigel Horne
` (2 preceding siblings ...)
2011-11-04 17:22 ` Stefan Weil
@ 2011-11-05 22:18 ` Stefan Weil
2011-11-07 15:55 ` Nigel Horne
4 siblings, 0 replies; 7+ messages in thread
From: Stefan Weil @ 2011-11-05 22:18 UTC (permalink / raw)
To: qemu-devel
'make clean' won't remove the old qmp-commands.h files.
I think it did remove them before commit e3193601c84558c303b1773379da76fce80c0a56,
so if you always had run 'make clean' before 'git pull', it would have worked.
Removing files which were build with older QEMU versions is not required,
so if you don't mind, I'll close this bug report.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/885213
Title:
Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
Status in QEMU:
New
Bug description:
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
.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/885213/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] [Bug 885213] Re: Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
2011-11-02 13:26 [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c Nigel Horne
` (3 preceding siblings ...)
2011-11-05 22:18 ` Stefan Weil
@ 2011-11-07 15:55 ` Nigel Horne
4 siblings, 0 replies; 7+ messages in thread
From: Nigel Horne @ 2011-11-07 15:55 UTC (permalink / raw)
To: qemu-devel
Thanks for the fix. I've done as you suggested, and the latest version
now compiles.
Please close.
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/885213
Title:
Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c
Status in QEMU:
Fix Released
Bug description:
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
.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/885213/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-11-07 16:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 13:26 [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c Nigel Horne
2011-11-02 16:41 ` Stefan Weil
2011-11-04 16:08 ` [Qemu-devel] [Bug 885213] " Nigel Horne
2011-11-04 17:22 ` Stefan Weil
2011-11-05 21:39 ` Jordan Justen
2011-11-05 22:18 ` Stefan Weil
2011-11-07 15:55 ` Nigel Horne
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.