PSPGL Make Error

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
webjeff
Posts: 66
Joined: Thu May 05, 2005 2:51 am

PSPGL Make Error

Post by webjeff »

I'm installing the latest version on a new comp and getting this error. Any ideas?

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
User avatar
Agoln
Posts: 326
Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN

Post by Agoln »

Do you happen to have the latest verison of the toolchain?
Lego of my Ago!
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

how long ago did you update your toolchain. i updated mine today, and my pspgl works fine.
There are 10 types of people in the world: Those who understand binary, and those who don't...
holger
Posts: 204
Joined: Thu Aug 18, 2005 10:57 am

Post by holger »

try updating pspsdk first, maybe that's enough:

$ cd pspsdk
$ svn update

Then try again.
webjeff
Posts: 66
Joined: Thu May 05, 2005 2:51 am

Post by webjeff »

Perfect, you guys are good... a little too good.

Jeff.
Post Reply