make ui sdl error 1 on git devel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
after clone git devel, try compile on slackware 13.1 32 bit machine got error:
ui/sdl.c:809:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
ui/sdl.c:815:36: error: expected ')' before '*' token
/usr/include/
/usr/include/
ui/sdl.c:883:1: error: expected '{' at end of input
ui/sdl.c:883:1: error: control reaches end of non-void function
make: *** [ui/sdl.o] Error 1
root@darkstar:
Reading specs from /usr/lib/
COLLECT_GCC=gcc
COLLECT_
Target: i486-slackware-
Configured with: ../gcc-
Thread model: posix
gcc version 4.5.1 (GCC)
root@darkstar:
Linux darkstar 2.6.35.7-smp #2 SMP Mon Oct 11 14:52:09 CDT 2010 i686 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz GenuineIntel GNU/Linux
root@darkstar:
Slackware 13.1.0
thanks
Changed in qemu: | |
status: | New → Incomplete |
Hi,
Thanks for reporting this issue. I'm not able to repeat the problem (although I have no slackware), and the bug does look strange.
Can you update (git pull) and try again?
Can you confirm that you are using git://git. qemu.org/ qemu.git?
If it still fails, can you look at the problem file (ui/sdl.c) and see if it looks complete? For me, this file has 895 lines (last line is blank, line 894 has the closing braces).