Re: What happened to SDL?
On Thu, Oct 25, 2001 at 06:37:11AM -0400, August Logan Bear Jr. wrote:
> I'm currently running SID. Yesterday, I attempted to run a program that I
> wrote which uses the SDL libraries. It used to work, but now I'm getting
> unresolved symbol errors in libSDL-1.2.so.0. (XF86VidModeQueryExtension, for
> example). Did SDL change or maybe XFree86?
SDL was changed to avoid linking XFree86 static libraries into its
shared libraries, which doesn't work on all architectures. Fixing your
code should be a matter of making sure you use the sdl-config tool to
get the right compiler and linker flags for SDL ('sdl-config --cflags'
and 'sdl-config --libs' respectively). That way your code will be
insulated from SDL reorganizations.
Colin Watson [email@example.com]