All of lore.kernel.org
 help / color / mirror / Atom feed
* sdl dependencies?
@ 2005-06-21 21:49 Tupshin Harper
       [not found] ` <mailman.1119390594.28424@unix-os.sc.intel.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Tupshin Harper @ 2005-06-21 21:49 UTC (permalink / raw)
  To: xen-devel

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?

Thanks
-Tupshin

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

* Re: sdl dependencies?
       [not found] ` <mailman.1119390594.28424@unix-os.sc.intel.com>
@ 2005-06-21 22:21   ` Arun Sharma
  2005-06-21 22:24     ` Tupshin Harper
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Sharma @ 2005-06-21 22:21 UTC (permalink / raw)
  To: Tupshin Harper; +Cc: xen-devel

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

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

* Re: sdl dependencies?
  2005-06-21 22:21   ` Arun Sharma
@ 2005-06-21 22:24     ` Tupshin Harper
  2005-06-21 22:28       ` Arun Sharma
  0 siblings, 1 reply; 5+ messages in thread
From: Tupshin Harper @ 2005-06-21 22:24 UTC (permalink / raw)
  To: Arun Sharma; +Cc: xen-devel

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

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

* Re: sdl dependencies?
  2005-06-21 22:24     ` Tupshin Harper
@ 2005-06-21 22:28       ` Arun Sharma
  2005-06-21 22:38         ` Tupshin Harper
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Sharma @ 2005-06-21 22:28 UTC (permalink / raw)
  To: Tupshin Harper; +Cc: xen-devel

Tupshin Harper wrote:

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

The sdl probe in tools/ioemu/configure is failing for some reason. You 
might want to investigate why.

	-Arun

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

* Re: sdl dependencies?
  2005-06-21 22:28       ` Arun Sharma
@ 2005-06-21 22:38         ` Tupshin Harper
  0 siblings, 0 replies; 5+ messages in thread
From: Tupshin Harper @ 2005-06-21 22:38 UTC (permalink / raw)
  To: Arun Sharma; +Cc: xen-devel

Arun Sharma wrote:

> Tupshin Harper wrote:
>
>> First four lines identical, but completely missing the last 3 
>> (starting with CONFIG_SDL=yes)
>> I pasted those lines in, and it compiled.
>
>
> The sdl probe in tools/ioemu/configure is failing for some reason. You 
> might want to investigate why.
>
>     -Arun

I think what is likely is that I installed the necessary sdl libs after 
getting an initial failure. This will probably be a very common 
scenario. The other xen dependencies, such as twisted, python, etc., 
fail explicitly if their libs aren't installed. The sdl stuff should 
either cleanly not try to compile if the dependencies aren't found or 
else attempt a configure each time "make tools" is run so that user's 
won't get into this scenario.

-Tupshin

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

end of thread, other threads:[~2005-06-21 22:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-06-21 22:28       ` Arun Sharma
2005-06-21 22:38         ` Tupshin Harper

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.