build snafu
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]
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/ioemudirectory failed with undefined references to SDL_* functions. After tracking this down a little I found that theSDL_LIBSvariable is not set in:
tools/ioemu/target-i386-dm/Makefileafter setting this (-lSDL), the directory builds. What's causing this?
tools/ioemu/configure. Do you have SDL-devel RPM installed?
-Arun
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/
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
Makefileallowed 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
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
Makefileallowed 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