Skip to contentSkip to conversation

build snafu

DISCUSSION Tim Newsham 3 participants 5 messages Jun 13, 2005 – Jun 14, 2005 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines · Tim Newsham

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

#3 lore raw
Quoted 1 line

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.

Quoted 1 line

-Arun

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

#4 lore raw
Quoted 8 lines · Tim Newsham
Quoted 1 line

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

#5 lore raw
In reply to Tim Newsham
Quoted 6 lines · Tim Newsham
Quoted 1 line

tools/ioemu/configure. Do you have SDL-devel RPM installed?

Shouldnt the configures happen automatically when I type make at the top level?

Yes.

Quoted 3 lines

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