[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GFX under Linux
On Thu, Dec 06, 2001 at 11:55:15AM +0600, Mark D'voo wrote:
> what version of sdl did you install ?
1.2.3 - the stable one. It seems unable to find most of the X11 stuff
or the sound stuff to link against.
[katie@tier OpenGL-intro-1.1.1]$ sdl-config --cflags
-I/usr/include/SDL -D_REENTRANT
[katie@tier OpenGL-intro-1.1.1]$ sdl-config --libs
-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
That doesn't look like nearly enough libraries.
> On Thursday 06 December 2001 23:40, you wrote:
> > On Wed, Dec 05, 2001 at 03:40:50PM +0600, Mark D'voo wrote:
> > > what was so hard about SDL??
> >
> > The fact that while I download SDL occaisionally to see how it's
> > getting on, nothing ever seems to compile. Here i have a nice shiny
> > Redhat 7.2 system. I install the latest development RPM from the
> > website, and get the "gears" demo. Configure works and then compiling
> > it says:
> >
> > SDL_dgavideo.lo(.text+0x14bc): undefined reference to
> > `XDGAGetViewportStatus' SDL_dgavideo.lo(.text+0x1517): undefined reference
> > to `XDGASync'
> > /usr/lib/libSDL.a(SDL_dgavideo.lo): In function `DGA_FlipHWSurface':
> > SDL_dgavideo.lo(.text+0x15f4): undefined reference to `XDGASync'
> > SDL_dgavideo.lo(.text+0x164c): undefined reference to
> > `XDGAGetViewportStatus' SDL_dgavideo.lo(.text+0x168e): undefined reference
> > to `XDGASetViewport' /usr/lib/libSDL.a(SDL_dgavideo.lo): In function
> > `DGA_VideoQuit':
> > SDL_dgavideo.lo(.text+0x19d8): undefined reference to
> > `XDGACloseFramebuffer' SDL_dgavideo.lo(.text+0x1a11): undefined reference
> > to `XDGASetMode' /usr/lib/libSDL.a(SDL_gamma.lo): In function
> > `CalculateGammaRamp': SDL_gamma.lo(.text+0xb3): undefined reference to
> > `pow'
> > /usr/lib/libSDL.a(SDL_gamma.lo): In function `CalculateGammaFromRamp':
> > SDL_gamma.lo(.text+0x181): undefined reference to `log'
> > SDL_gamma.lo(.text+0x191): undefined reference to `log'
> > /usr/lib/libSDL.a(SDL_x11dga.lo): In function `X11_EnableDGAMouse':
> > SDL_x11dga.lo(.text+0xc6): undefined reference to `XF86DGAQueryExtension'
> > SDL_x11dga.lo(.text+0xea): undefined reference to `XF86DGAQueryVersion'
> > SDL_x11dga.lo(.text+0x118): undefined reference to `XF86DGADirectVideo'
> > /usr/lib/libSDL.a(SDL_x11dga.lo): In function `X11_CheckDGAMouse':
> > SDL_x11dga.lo(.text+0x17e): undefined reference to
> > `XF86DGAQueryDirectVideo' SDL_x11dga.lo(.text+0x1ab): undefined reference
> > to `XF86DGADirectVideo' /usr/lib/libSDL.a(SDL_x11dga.lo): In function
> > `X11_DisableDGAMouse': SDL_x11dga.lo(.text+0x1f9): undefined reference to
> > `XF86DGADirectVideo' /usr/lib/libSDL.a(SDL_x11gamma.lo): In function
> > `X11_SetGammaNoLock': SDL_x11gamma.lo(.text+0x13f): undefined reference to
> > `XF40VidModeSetGamma' /usr/lib/libSDL.a(SDL_x11gamma.lo): In function
> > `X11_GetGammaNoLock': SDL_x11gamma.lo(.text+0x250): undefined reference to
> > `XF40VidModeGetGamma' /usr/lib/libSDL.a(SDL_x11modes.lo): In function
> > `XF40VidModeGetModeInfo': SDL_x11modes.lo(.text+0x27): undefined reference
> > to `XF40VidModeGetModeLine' /usr/lib/libSDL.a(SDL_x11modes.lo): In function
> > `save_mode':
> > SDL_x11modes.lo(.text+0xcb): undefined reference to
> > `XF40VidModeGetViewPort'
> >
> >
> > Amongst other things.
> >
> > Doesn't fill me with confidence anything else will work when the demos
> > off the site don't.
>
> --
> 11:54am up 1 day, 22:55, 2 users, load average: 0.21, 0.41, 0.55