qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Statically Compiling including SDL
@ 2015-10-20  6:59 sai pavan
  2015-10-20  8:35 ` Peter Maydell
  0 siblings, 1 reply; 10+ messages in thread
From: sai pavan @ 2015-10-20  6:59 UTC (permalink / raw)
  To: qemu-devel@nongnu.org Developers, armbru, alistai,
	Peter Crosthwaite

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.

FYI : Dynamic build is fine

Thanks,
Sai Pavan

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [Qemu-devel] Statically Compiling including SDL
@ 2016-05-11 18:12 Sam McKelvie
  2016-05-11 18:30 ` Peter Maydell
  0 siblings, 1 reply; 10+ messages in thread
From: Sam McKelvie @ 2016-05-11 18:12 UTC (permalink / raw)
  To: peter.maydell; +Cc: qemu-devel

I am having this same problem. Looking at the configure script it looks like it prefers to use:

   pkg-config sdl —static

to get the static linker flags, rather than:

  sdl-config —static-libs

The former returns an empty string; the latter returns the correct library list. If it had used the latter it would work properly. There is
a note in the configure effect suggesting that pig-config is preferred, but I’m not sure why that is…



  

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-05-11 22:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20  6:59 [Qemu-devel] Statically Compiling including SDL sai pavan
2015-10-20  8:35 ` Peter Maydell
2015-10-20 17:50   ` sai pavan
2015-10-20 18:22     ` Peter Maydell
2015-10-21 10:04       ` sai pavan
2015-10-21 12:18         ` Peter Maydell
  -- strict thread matches above, loose matches on Subject: below --
2016-05-11 18:12 Sam McKelvie
2016-05-11 18:30 ` Peter Maydell
2016-05-11 20:39   ` Sam McKelvie
2016-05-11 22:42     ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).