SDL_image undefined reference to `IID_IDirectDrawSurface3' SDL_dx5video.c:(.text+0x191): undefined reference to `IID_IDirectDrawSurface3' SDL_dx5video.c:(.text+0x1050): undefined reference to `IID_IDirectDraw2' SDL_dx5video.c:(.text+0x20c2): undefined reference to `IID_IDirectDrawSurface3' SDL_dx5video.c:(.text+0x2d0d): undefined reference to `IID_IDirectDrawSurface3' SDL_dx5video.c:(.text+0x3c9a): undefined reference to `IID_IDirectDrawGammaControl' SDL_dx5video.c:(.text+0x3eb5): undefined reference to `IID_IDirectDrawGammaControl' sdl.pc Libs: -L${libdir} -lmingw32 -lSDLmain -lSDL -mwindows add -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm Libs: -L${libdir} -lmingw32 -lSDLmain -lSDL -mwindows -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm