forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PSPGL Make Error

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
webjeff



Joined: 05 May 2005
Posts: 66

PostPosted: Wed Aug 24, 2005 10:44 am    Post subject: PSPGL Make Error Reply with quote

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

Code:

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
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Wed Aug 24, 2005 2:25 pm    Post subject: Reply with quote

Do you happen to have the latest verison of the toolchain?
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Wed Aug 24, 2005 4:03 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message Visit poster's website
holger



Joined: 18 Aug 2005
Posts: 204

PostPosted: Wed Aug 24, 2005 10:50 pm    Post subject: Reply with quote

try updating pspsdk first, maybe that's enough:

$ cd pspsdk
$ svn update

Then try again.
Back to top
View user's profile Send private message
webjeff



Joined: 05 May 2005
Posts: 66

PostPosted: Thu Aug 25, 2005 9:26 am    Post subject: Reply with quote

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

Jeff.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group