[SDL] undefined reference in libSDL.so
joe at deserted.net
Tue Jan 16 07:50:50 PST 2001
Oops, sorry about that. The system is a modified Slackware 7.1. Clean
install, migrated to 2.4.0-ac4 from a 2.2 series kernel plus all the
required package updates (binutils, util-linux, modutils and ppp). I'm
using gcc-2.95.2, compiled from source, and Gnu Make 3.78.
The only other non-stock Slackware item is XFree, I've upgraded to
4.0.1e (I think that was the last one I checked out of CVS, from the
trunk about a week and a half ago now) from the DRI project's CVS tree.
I have the glide3x libraries and headers (definitely not the latest
versions there, though) for an AGP Voodoo3 2000 card. DRI seems to be
running just fine with Q3A and CivCTP doesn't crash any more often than
it used to. UT is giving me grief, but I gather that's my own fault for
moving to XFree 4.0, so I guess I'll live with it.
The hardware is an AMD-K6-2 450 with 168MB of RAM on a ~2gig parition
that is almost entirely empty. In case it's relevant my sound card is
an authentic Creative Labs AWE 64 and it plays nicely with the OSS
drivers and esd.
As for the configure line, that's a bit more difficult. I'm not
actually at my machine right now, but if I recall correctly I started
using ./configure --prefix=/usr/local/encap/SDL-1.1.7 and failing that I
just did a ./configure. I didn't see anything to turn off MMX code, but
maybe that's what I need to do.
Is there anything else you need to know? I can't think of what else
might be relevant.
In message: Re: [SDL] undefined reference in libSDL.so (<E14IQQq-0002l6-00 at roboto.devolution.com>)
on 15/01/2001 (Mon 23:21) Sam Lantinga wrote:
> > Hey all,
> > I've been trying to install libsdl for months now, all the way back to
> > 1.1.3 and without fail I always get exactly the same problem in my
> > ./configure step of the libsdl test:
> > configure:2285: gcc -o conftest -I/usr/local/gnome/include -L/usr/local/gnome/lib -I/usr/local/include -L/usr/local/lib -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -I/usr/local/gnome/include -L/usr/local/gnome/lib -I/usr/local/include -L/usr/local/lib conftest.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread 1>&5
> > /usr/local/lib/libSDL.so: undefined reference to `Color565DitherYV12MMX1X'
> > /usr/local/lib/libSDL.so: undefined reference to `ColorRGBDitherYV12MMX1X'
> > /usr/local/lib/libSDL.so: undefined reference to `outb'
> Can you tell us more about your system and compiler version?
> What options are you using when building SDL?
> -Sam Lantinga, Lead Programmer, Loki Entertainment Software
Form follows malfunction.
More information about the SDL