All of lore.kernel.org
 help / color / mirror / Atom feed
* build snafu
@ 2005-06-13 20:45 Tim Newsham
       [not found] ` <mailman.1118695561.3669@unix-os.sc.intel.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Newsham @ 2005-06-13 20:45 UTC (permalink / raw)
  To: xen-devel

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/

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

* Re: build snafu
       [not found] ` <mailman.1118695561.3669@unix-os.sc.intel.com>
@ 2005-06-13 20:52   ` Arun Sharma
  2005-06-13 21:04     ` Tim Newsham
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Sharma @ 2005-06-13 20:52 UTC (permalink / raw)
  To: Tim Newsham; +Cc: 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

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

* Re: build snafu
  2005-06-13 20:52   ` Arun Sharma
@ 2005-06-13 21:04     ` Tim Newsham
  2005-06-14  1:51       ` aq
  2005-06-14 18:35       ` Arun Sharma
  0 siblings, 2 replies; 5+ messages in thread
From: Tim Newsham @ 2005-06-13 21:04 UTC (permalink / raw)
  To: Arun Sharma; +Cc: 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.

> 	-Arun

Tim Newsham
http://www.lava.net/~newsham/

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

* Re: build snafu
  2005-06-13 21:04     ` Tim Newsham
@ 2005-06-14  1:51       ` aq
  2005-06-14 18:35       ` Arun Sharma
  1 sibling, 0 replies; 5+ messages in thread
From: aq @ 2005-06-14  1:51 UTC (permalink / raw)
  To: Tim Newsham; +Cc: Arun Sharma, 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

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

* Re: build snafu
  2005-06-13 21:04     ` Tim Newsham
  2005-06-14  1:51       ` aq
@ 2005-06-14 18:35       ` Arun Sharma
  1 sibling, 0 replies; 5+ messages in thread
From: Arun Sharma @ 2005-06-14 18:35 UTC (permalink / raw)
  To: Tim Newsham; +Cc: 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_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
$ pwd
/arun-xen/tools/ioemu/target-i386-dm

	-Arun

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

end of thread, other threads:[~2005-06-14 18:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-13 20:45 build snafu Tim Newsham
     [not found] ` <mailman.1118695561.3669@unix-os.sc.intel.com>
2005-06-13 20:52   ` Arun Sharma
2005-06-13 21:04     ` Tim Newsham
2005-06-14  1:51       ` aq
2005-06-14 18:35       ` Arun Sharma

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.