qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Statically Compiling including SDL


From: sai pavan
Subject: Re: [Qemu-devel] Statically Compiling including SDL
Date: Tue, 20 Oct 2015 23:20:43 +0530

Hi Peter,

On Tue, Oct 20, 2015 at 2:05 PM, Peter Maydell <address@hidden> wrote:
> On 20 October 2015 at 07:59, sai pavan <address@hidden> wrote:
>> Hi ,
>>
>> I am trying to compile QEMU with --enable-sdl and --static. And i have
>> installed libsdl-dev.
>> I get the following error
>>
>> ERROR: User requested feature sdl
>>        configure was not able to find it.
>>        Install SDL devel
>>
>> Is there any know issue here ? or am i missing any more libraries.
>
> This probably means you haven't installed the static library
> version of libsdl, or possibly that your distro's static libsdl
> packaging is broken. You can look at config.log to see what
> test program command line configure was trying that didn't work.
> You can also look in the configure script itself to see what
> our libsdl test is checking for.

I also tried manually compiling sdl libraries and installing them.
Then making a static build, but even that did not help much. The
config.log show below error..

cc -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings
-Wmissing-prototypes -fno-strict-aliasing -fno-common
-DM25P80_ERR_DEBUG=2 -Wendif-labels -Wmissing-include-dirs
-Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k
-Winit-self -Wignored-qualifiers -Wold-style-declaration
-Wold-style-definition -Wtype-limits -fstack-protector-strong
-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -o
config-temp/qemu-conf.exe config-temp/qemu-conf.c -m32 -static -g
/tmp/ccYwbqPp.o: In function `main':
/home/sai/build/config-temp/qemu-conf.c:3: undefined reference to `SDL_Init'
collect2: error: ld returned 1 exit status

Regards,
Sai Pavan
                       ^

>
> thanks
> -- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]