[nistur@Phoenix GP2XFramework]$ make g++ main.cpp pad.cpp sprite.cpp -o main.gpe -static -I/usr/include/SDL -lSDL -lm -lg -lpthread /tmp/cchFegM3.o: In function `GP2XSpriteT::GP2XSpriteT(int, int, unsigned char, unsigned char, unsigned char, char*)': sprite.cpp:(.text+0x76d): undefined reference to `vtable for GP2XSpriteT' /tmp/cchFegM3.o: In function `GP2XSpriteT::GP2XSpriteT(int, int, unsigned char, unsigned char, unsigned char, char*)': sprite.cpp:(.text+0x7f3): undefined reference to `vtable for GP2XSpriteT' /tmp/cchFegM3.o: In function `GP2XSpriteT::GP2XSpriteT(int, int, char*)': sprite.cpp:(.text+0x84e): undefined reference to `vtable for GP2XSpriteT' /tmp/cchFegM3.o: In function `GP2XSpriteT::GP2XSpriteT(int, int, char*)': sprite.cpp:(.text+0x8a4): undefined reference to `vtable for GP2XSpriteT' /tmp/cchFegM3.o: In function `GP2XSpriteT::GP2XSpriteT(unsigned char, unsigned char, unsigned char, char*)': sprite.cpp:(.text+0x917): undefined reference to `vtable for GP2XSpriteT' /tmp/cchFegM3.o:sprite.cpp:(.text+0x98f): more undefined references to `vtable for GP2XSpriteT' follow /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_alsa_audio.o): In function `UnloadALSALibrary': (.text+0x9a): undefined reference to `dlclose' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_alsa_audio.o): In function `LoadALSALibrary': (.text+0x10a): undefined reference to `dlopen' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_alsa_audio.o): In function `LoadALSALibrary': (.text+0x15b): undefined reference to `dlvsym' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_alsa_audio.o): In function `LoadALSALibrary': (.text+0x172): undefined reference to `dlsym' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_sysloadso.o): In function `SDL_LoadFunction': (.text+0x3d): undefined reference to `dlsym' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_sysloadso.o): In function `SDL_LoadFunction': (.text+0x8e): undefined reference to `dlsym' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_sysloadso.o): In function `SDL_LoadFunction': (.text+0x99): undefined reference to `dlerror' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_sysloadso.o): In function `SDL_LoadObject': (.text+0xdb): undefined reference to `dlopen' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_sysloadso.o): In function `SDL_LoadObject': (.text+0xe2): undefined reference to `dlerror' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_sysloadso.o): In function `SDL_UnloadObject': (.text+0xc): undefined reference to `dlclose' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_x11gl.o): In function `X11_GL_UnloadLibrary': (.text+0xfe): undefined reference to `dlclose' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_x11gl.o): In function `X11_GL_LoadLibrary': (.text+0x1a6): undefined reference to `dlopen' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_x11gl.o): In function `X11_GL_LoadLibrary': (.text+0x1ce): undefined reference to `dlsym' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_x11gl.o): In function `X11_GL_LoadLibrary': (.text+0x1e7): undefined reference to `dlsym' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_x11gl.o): In function `X11_GL_LoadLibrary': (.text+0x200): undefined reference to `dlsym' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_x11gl.o): In function `X11_GL_LoadLibrary': (.text+0x219): undefined reference to `dlsym' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_x11gl.o): In function `X11_GL_LoadLibrary': (.text+0x232): undefined reference to `dlsym' /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libSDL.a(SDL_x11gl.o):(.text+0x24b): more undefined references to `dlsym' follow collect2: ld returned 1 exit status make: *** [all] Error 1