Code: Select all
Jeff King@JEFF ~/pspgl
$ make
mkdir .deps
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglChooseConfig.d -c eglChooseConfig.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglCreateContext.d -c eglCreateContext.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglCreateWindowSurface.d -c eglCreateWindowSurface.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglDestroyContext.d -c eglDestroyContext.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglDestroySurface.d -c eglDestroySurface.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglGetConfigAttrib.d -c eglGetConfigAttrib.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglGetConfigs.d -c eglGetConfigs.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglGetError.d -c eglGetError.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglGetDisplay.d -c eglGetDisplay.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglInitialize.d -c eglInitialize.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglMakeCurrent.d -c eglMakeCurrent.c
In file included from eglMakeCurrent.c:2:
/usr/local/pspdev/psp/sdk/include/pspge.h:76: error: syntax error before 'sceGeE
dramGetAddr'
/usr/local/pspdev/psp/sdk/include/pspge.h:76: warning: type defaults to 'int' in
declaration of 'sceGeEdramGetAddr'
/usr/local/pspdev/psp/sdk/include/pspge.h:76: warning: data definition has no ty
pe or storage class
eglMakeCurrent.c: In function 'eglMakeCurrent':
eglMakeCurrent.c:22: warning: implicit declaration of function 'sceGeSaveContext
'
eglMakeCurrent.c:22: error: 'PspGeContext' undeclared (first use in this functio
n)
eglMakeCurrent.c:22: error: (Each undeclared identifier is reported only once
eglMakeCurrent.c:22: error: for each function it appears in.)
eglMakeCurrent.c:22: error: syntax error before ')' token
eglMakeCurrent.c: At top level:
eglMakeCurrent.c:23: error: syntax error before 'while'
eglMakeCurrent.c:29: warning: type defaults to 'int' in declaration of 'pspgl_cu
rctx'
eglMakeCurrent.c:29: error: conflicting types for 'pspgl_curctx'
pspgl_internal.h:144: error: previous declaration of 'pspgl_curctx' was here
eglMakeCurrent.c:29: error: 'c' undeclared here (not in a function)
eglMakeCurrent.c:29: warning: data definition has no type or storage class
eglMakeCurrent.c:31: error: syntax error before 'if'
eglMakeCurrent.c:33: warning: type defaults to 'int' in declaration of 'eglerror
'
eglMakeCurrent.c:33: warning: data definition has no type or storage class
eglMakeCurrent.c:33: error: syntax error before '}' token
eglMakeCurrent.c:38: error: syntax error before numeric constant
eglMakeCurrent.c:38: warning: type defaults to 'int' in declaration of 'glScisso
r'
eglMakeCurrent.c:38: error: conflicting types for 'glScissor'
./GL/gl.h:811: error: previous declaration of 'glScissor' was here
eglMakeCurrent.c:38: warning: data definition has no type or storage class
eglMakeCurrent.c:39: error: syntax error before numeric constant
eglMakeCurrent.c:39: warning: type defaults to 'int' in declaration of 'glViewpo
rt'
eglMakeCurrent.c:39: error: conflicting types for 'glViewport'
./GL/gl.h:902: error: previous declaration of 'glViewport' was here
eglMakeCurrent.c:39: warning: data definition has no type or storage class
eglMakeCurrent.c:40: error: syntax error before numeric constant
eglMakeCurrent.c:40: warning: type defaults to 'int' in declaration of 'glDepthR
ange'
eglMakeCurrent.c:40: error: conflicting types for 'glDepthRange'
./GL/gl.h:875: error: previous declaration of 'glDepthRange' was here
eglMakeCurrent.c:40: warning: data definition has no type or storage class
eglMakeCurrent.c:41: error: syntax error before '->' token
make: *** [eglMakeCurrent.o] Error 1