1

When I compile qemu for arm platform, I configure as follows:

./configure --cross-prefix=arm-linux-gnueabi- --target-list=arm-softmmu --enable-kvm --enable-sdl --static

But get errors below:

ERROR: User requested feature sdl ERROR: configure was not able to find it

I don't know what's wrong I use Ubuntu 12.04 with libsdl1.2dev on it I download the source code of qemu from its official site

Himiko
  • 13

3 Answers3

1

Yes, this is one of 3 stages I had to pass in my journey to compile qemu for raspberry pi emulation on Ubuntu. SDL gets solved running on console:

apt-get install libsdl-dev-image1.2-dev

And then the next issue you will undoubtedly have:

git submodule update --init pixman
Carl B
  • 6,660
1

If:

    apt-get install libsdl-dev-image1.2-dev

doesn't work, then try:

    apt-get install libsdl1.2-dev
0

I installed the following packages from http://www.libsdl.org/ (I run CentOS 6).

$ rpm -i SDL-1.2.15-1.i386.rpm

then

$ rpm -i SDL-devel-1.2.15-1.i386.rpm

which did the trick.

Jules0707
  • 101