From: Jørn-T Nøding Gabrielsen on
Hi.

Im trying to compile qemu (qemu-0.12.4) on slackware 13.1 but I can not
get it to compile. It's the same for x64. I'm doing a plain ./configure
&& make.

Anyone have successfully compiled qemu on slack 13.1?

Thanks.
Jorn

CC audio/ossaudio.o
CC audio/wavcapture.o
CC keymaps.o
CC sdl.o
In file included from /usr/include/SDL/SDL_syswm.h:58,
from sdl.c:25:
/usr/include/X11/Xlib.h: In function 'XSetOMValues':
/usr/include/X11/Xlib.h:3578: error: expected declaration specifiers
before '_X_SENTINEL'
/usr/include/X11/Xlib.h:3583: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '_X_SENTINEL'
/usr/include/X11/Xlib.h:3587: error: storage class specified for
parameter 'XDisplayOfOM'
/usr/include/X11/Xlib.h:3591: error: storage class specified for
parameter 'XLocaleOfOM'
/usr/include/X11/Xlib.h:3596: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '_X_SENTINEL'
/usr/include/X11/Xlib.h:3600: error: storage class specified for
parameter 'XDestroyOC'
...
... many lines omitted
...
sdl.c:824: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '{' token
sdl.c:830: error: expected ')' before '*' token
/usr/include/X11/Xlib.h:3575: error: old-style parameter declarations in
prototyped function definition
/usr/include/X11/Xlib.h:3576: error: parameter name omitted
sdl.c:894: error: expected '{' at end of input
make: *** [sdl.o] Error 1


From: Simon Sibbez on
Jørn-T Nøding Gabrielsen wrote:

> Hi.
>
> Im trying to compile qemu (qemu-0.12.4) on slackware 13.1 but I can
> not get it to compile. It's the same for x64. I'm doing a plain
> ./configure && make.
>
> Anyone have successfully compiled qemu on slack 13.1?

http://slackbuilds.org/repository/13.1/system/qemu/

change the version number in the script to 0.12.4 and voila, it works.