make ui sdl error 1 on git devel

Bug #705931 reported by qalbi mr
6
This bug affects 1 person
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/X11/Xlib.h:3575:14: error: old-style parameter declarations in prototyped function definition
/usr/include/X11/Xlib.h:3576:5: error: parameter name omitted
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:/usr/src/qemu/qemu# gcc -v
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.5.1/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i486-slackware-linux/4.5.1/lto-wrapper
Target: i486-slackware-linux
Configured with: ../gcc-4.5.1/configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc,lto --enable-threads=posix --enable-checking=release --with-system-zlib --with-python-dir=/lib/python2.6/site-packages --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --build=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.5.1 (GCC)

root@darkstar:/usr/src/qemu/qemu# uname -a
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:/usr/src/qemu/qemu# cat /etc/slackware-version
Slackware 13.1.0

thanks

Revision history for this message
qalbi mr (qalbi) wrote :
Revision history for this message
Brad Hards (bradh) wrote :

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).

Revision history for this message
Peter Wu (lekensteyn) wrote :

qalbi, do you still have issues?

Thomas Huth (th-huth)
Changed in qemu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QEMU because there has been no activity for 60 days.]

Changed in qemu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.