I''m using FC2. I have it fully updated using up2date/yum. I cloned xeno-unstable.bk and tried to build. During the build the tools/ioemu directory failed with undefined references to SDL_* functions. After tracking this down a little I found that the SDL_LIBS variable is not set in: tools/ioemu/target-i386-dm/Makefile after setting this (-lSDL), the directory builds. What''s causing this? Tim Newsham http://www.lava.net/~newsham/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Newsham wrote:> I''m using FC2. I have it fully updated using up2date/yum. > I cloned xeno-unstable.bk and tried to build. During the > build the tools/ioemu directory failed with undefined > references to SDL_* functions. After tracking this down a little > I found that the SDL_LIBS variable is not set in: > > tools/ioemu/target-i386-dm/Makefile > > after setting this (-lSDL), the directory builds. What''s causing this?tools/ioemu/configure. Do you have SDL-devel RPM installed? -Arun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> tools/ioemu/configure. Do you have SDL-devel RPM installed?Shouldnt the configures happen automatically when I type make at the top level? Yes, the RPM''s are installed, which is why adding -lSDL to the Makefile allowed the directory to build properly.> -ArunTim Newsham http://www.lava.net/~newsham/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 6/13/05, Tim Newsham <newsham@lava.net> wrote:> > tools/ioemu/configure. Do you have SDL-devel RPM installed? > > Shouldnt the configures happen automatically when I type make > at the top level? > > Yes, the RPM''s are installed, which is why adding -lSDL to > the Makefile allowed the directory to build properly. >if you really think that you have fixed the problem, you might want to send in a patch ;-) regards, aq _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Newsham wrote:>> tools/ioemu/configure. Do you have SDL-devel RPM installed? > > > Shouldnt the configures happen automatically when I type make > at the top level? >Yes.> Yes, the RPM''s are installed, which is why adding -lSDL to > the Makefile allowed the directory to build properly. >You need to investigate why configure didn''t automatically generate -lSDL. $ cat config.mak # Automatically generated by configure - do not modify include ../config-host.mak TARGET_ARCH=i386 CONFIG_VNC=yes VNC_CFLAGSVNC_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 $ pwd /arun-xen/tools/ioemu/target-i386-dm -Arun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel