WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] sdl dependencies?

To: Arun Sharma <arun.sharma@xxxxxxxxx>
Subject: Re: [Xen-devel] sdl dependencies?
From: Tupshin Harper <tupshin@xxxxxxxxxxx>
Date: Tue, 21 Jun 2005 15:24:38 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 21 Jun 2005 22:23:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42B892FE.5090304@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <42B88B73.8010503@xxxxxxxxxxx> None None <mailman.1119390594.28424@xxxxxxxxxxxxxxxxxxxx> <42B892FE.5090304@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>