no >< I should of tried that first. Well I got some error saying that "sdl.h" was missing so I added C:\devkitGP2X\include\SDL to the compiler paths and ended up with this instead:
PC\obj\Debug\sdltest.o:: In function `Shutdown()':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:42: undefined reference to `SDL_FreeSurface'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:43: undefined reference to `SDL_FreeSurface'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:44: undefined reference to `SDL_FreeSurface'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:45: undefined reference to `Mix_FreeChunk'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:46: undefined reference to `Mix_FreeMusic'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:47: undefined reference to `Mix_CloseAudio'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:48: undefined reference to `TTF_CloseFont'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:49: undefined reference to `TTF_Quit'
PC\obj\Debug\sdltest.o:: In function `LoadFont(unsigned char)':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:63: undefined reference to `TTF_OpenFont'
PC\obj\Debug\sdltest.o:: In function `drawText(SDL_Surface*, char*, int, int, int, int, int)':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:69: undefined reference to `TTF_RenderText_Blended'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:71: undefined reference to `SDL_UpperBlit'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:72: undefined reference to `SDL_FreeSurface'
PC\obj\Debug\sdltest.o:: In function `drawTextInt(SDL_Surface*, int, int, int, int, int, int)':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:80: undefined reference to `TTF_RenderText_Blended'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:82: undefined reference to `SDL_UpperBlit'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:83: undefined reference to `SDL_FreeSurface'
PC\obj\Debug\sdltest.o:: In function `drawSprite(SDL_Surface*, SDL_Surface*, int, int, int, int, int, int)':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:100: undefined reference to `SDL_UpperBlit'
PC\obj\Debug\sdltest.o:: In function `WaitForKey()':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.h:110: undefined reference to `SDL_PollEvent'
PC\obj\Debug\sdltest.o:: In function `TestSDLTTF()':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:37: undefined reference to `SDL_MapRGB'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:37: undefined reference to `SDL_FillRect'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:43: undefined reference to `SDL_Flip'
PC\obj\Debug\sdltest.o:: In function `TestSDLImage()':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:54: undefined reference to `SDL_MapRGB'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:54: undefined reference to `SDL_FillRect'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:57: undefined reference to `IMG_Load'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:58: undefined reference to `SDL_ConvertSurface'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:61: undefined reference to `SDL_MapRGB'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:61: undefined reference to `SDL_SetColorKey'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:65: undefined reference to `IMG_Load'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:66: undefined reference to `SDL_ConvertSurface'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:69: undefined reference to `SDL_MapRGB'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:69: undefined reference to `SDL_SetColorKey'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:73: undefined reference to `IMG_Load'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:74: undefined reference to `SDL_ConvertSurface'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:79: undefined reference to `IMG_Load'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:80: undefined reference to `SDL_ConvertSurface'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:82: undefined reference to `SDL_MapRGB'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:82: undefined reference to `SDL_SetColorKey'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:83: undefined reference to `rotozoomSurfaceXY'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:84: undefined reference to `SDL_MapRGB'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:84: undefined reference to `SDL_SetColorKey'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:88: undefined reference to `SDL_Flip'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:92: undefined reference to `SDL_FreeSurface'
PC\obj\Debug\sdltest.o:: In function `TestInput()':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:106: undefined reference to `SDL_MapRGB'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:106: undefined reference to `SDL_FillRect'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:110: undefined reference to `SDL_Flip'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:114: undefined reference to `SDL_PollEvent'
PC\obj\Debug\sdltest.o:: In function `TestSDLMixerWAV()':
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:234: undefined reference to `SDL_MapRGB'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:234: undefined reference to `SDL_FillRect'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:236: undefined reference to `SDL_Flip'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:238: undefined reference to `SDL_RWFromFile'
C:\gp2x\gp2xtest\sdltest-v151\sdltest.cpp:238: undefined reference to `Mix_LoadWAV_RW'
:: More errors follow but not being shown.
:: Edit the max errors limit in compiler options...
:: === Build finished: 50 errors, 0 warnings ===