All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tupshin Harper <tupshin@tupshin.com>
To: Arun Sharma <arun.sharma@intel.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: sdl dependencies?
Date: Tue, 21 Jun 2005 15:24:38 -0700	[thread overview]
Message-ID: <42B893A6.7040703@tupshin.com> (raw)
In-Reply-To: <42B892FE.5090304@intel.com>

Arun Sharma wrote:

> Tupshin Harper wrote:
>
>> I'm trying to build the latest unstable source, and "make tools" 
>> fails here:
>> make[4]: Entering directory 
>> `/usr/src/xen-unstable/tools/ioemu/target-i386-dm'
>> gcc  -Wl,-T,/usr/src/xen-unstable/tools/ioemu/x86_32.ld -o qemu-dm 
>> vl.o exec.o monitor.o osdep.o block.o readline.o pci.o console.o 
>> block-cloop.o ide.o ne2000.o pckbd.o vga.o dma.o fdc.o mc146818rtc.o 
>> serial.o i8259.o i8254.o pc.o port-e9.o cirrus_vga.o vnc.o sdl.o 
>> libqemu.a  -lm -L../../libxc -lxc -lz  -L/usr/lib -lvncserver -lnsl 
>> -lpthread -ljpeg -lz -lutil
>> sdl.o(.text+0x49e): In function `sdl_resize':
>> /usr/src/xen-unstable/tools/ioemu/sdl.c:72: undefined reference to 
>> `SDL_SetVideoMode'
>>
>> followed by a bunch of other undefined references, all referring to sdl.
>>
>> Running debian (sarge), and I've installed every conceivable sdl 
>> package with no luck. What do I need to get this to compile?
>>
>
> Another user reported it too, but I couldn't reproduce. Here's what my 
> config.mak looks like:
>
> $ cat tools/ioemu/target-i386-dm/config.mak
> # Automatically generated by configure - do not modify
> include ../config-host.mak
> TARGET_ARCH=i386
> CONFIG_VNC=yes
> VNC_CFLAGS=
> VNC_LIBS=-L/usr/lib -lvncserver -lnsl -lpthread -lz -ljpeg
> CONFIG_SDL=yes
> SDL_LIBS=-L/usr/lib -lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib 
> -lX11 -lXext
> SDL_CFLAGS=-I/usr/include/SDL -D_REENTRANT
>
> Can you post yours?
>
>     -Arun

First four lines identical, but completely missing the last 3 (starting 
with CONFIG_SDL=yes)
I pasted those lines in, and it compiled.

Thanks
-Tupshin

  reply	other threads:[~2005-06-21 22:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-21 21:49 sdl dependencies? Tupshin Harper
     [not found] ` <mailman.1119390594.28424@unix-os.sc.intel.com>
2005-06-21 22:21   ` Arun Sharma
2005-06-21 22:24     ` Tupshin Harper [this message]
2005-06-21 22:28       ` Arun Sharma
2005-06-21 22:38         ` Tupshin Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42B893A6.7040703@tupshin.com \
    --to=tupshin@tupshin.com \
    --cc=arun.sharma@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.