I'm trying to compile an SDL program using a recent (about a week old) toolchain from the svn.
everything compiles ok, then when it comes to link with libGL it barfs the following:
Code: Select all
/usr/local/pspdev/psp/lib/libGL.a(eglCreateContext.o): In function `eglCreateContext':
/usr/local/pspdev/psp/sdk/trunk/pspgl/eglCreateContext.c:43: undefined reference to `pspvfpu_initcontext'
/usr/local/pspdev/psp/lib/libGL.a(eglDestroyContext.o): In function `eglDestroyContext':
/usr/local/pspdev/psp/sdk/trunk/pspgl/eglDestroyContext.c:42: undefined reference to `pspvfpu_deletecontext'
/usr/local/pspdev/psp/lib/libGL.a(glLoadIdentity.o): In function `glLoadIdentity':
/usr/local/pspdev/psp/sdk/trunk/pspgl/glLoadIdentity.c:23: undefined reference to `pspvfpu_use_matrices'
/usr/local/pspdev/psp/lib/libGL.a(pspgl_context.o): In function `flush_matrix':
/usr/local/pspdev/psp/sdk/trunk/pspgl/pspgl_context.c:108: undefined reference to `pspvfpu_use_matrices'
/usr/local/pspdev/psp/lib/libGL.a(pspgl_matrix.o): In function `__pspgl_matrix_sync':
/usr/local/pspdev/psp/sdk/trunk/pspgl/pspgl_matrix.c:19: undefined reference to `pspvfpu_use_matrices'
/usr/local/pspdev/psp/lib/libGL.a(pspgl_matrix.o): In function `__pspgl_matrix_load':
/usr/local/pspdev/psp/sdk/trunk/pspgl/pspgl_matrix.c:33: undefined reference to `pspvfpu_use_matrices'
/usr/local/pspdev/psp/lib/libGL.a(glMultMatrixf.o): In function `glMultMatrixf':
/usr/local/pspdev/psp/sdk/trunk/pspgl/glMultMatrixf.c:17: undefined reference to `pspvfpu_use_matrices'
LIBS += -L/usr/local/pspdev/psp/lib -L/usr/local/pspdev/psp/sdk/lib -lSDLmain -lSDL -lm -lpspvfpu -lGL -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpspkernel -lpsppower -lpng -lz -lm -lg -lstdc++ -lc -lpsputility -lpng
I even included libpspvfpu incase that might be it, but to no avail... any ideas?