| View previous topic :: View next topic |
| Author |
Message |
webjeff
Joined: 05 May 2005 Posts: 66
|
Posted: Sat Aug 13, 2005 1:42 pm Post subject: pspgl make error |
|
|
I just got everything from SVN and I am making the pspgl but I am getting an error in glut.c it looks like, can someone confirm this or take a look at it.
| Code: |
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglTerminate.d -c eglTerminate.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/glut.d -c glut.c
In file included from glut.c:6:
/usr/local/pspdev/psp/sdk/include/psploadexec.h:64: error: parse error before 'S
ceSize'
/usr/local/pspdev/psp/sdk/include/psploadexec.h:64: warning: no semicolon at end
of struct or union
/usr/local/pspdev/psp/sdk/include/psploadexec.h:66: warning: type defaults to 'i
nt' in declaration of 'args'
/usr/local/pspdev/psp/sdk/include/psploadexec.h:66: warning: data definition has
no type or storage class
/usr/local/pspdev/psp/sdk/include/psploadexec.h:71: error: parse error before '}
' token
glut.c:174: error: 'key' redeclared as different kind of symbol
/usr/local/pspdev/psp/sdk/include/psploadexec.h:70: error: previous declaration
of 'key' was here
make: *** [glut.o] Error 1
|
I haven't modified anything, just got it from svn.
Thanks
JK |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Sun Aug 14, 2005 9:57 am Post subject: |
|
|
| Apparently Tyranid fixed it, except he fixed the wrong file :). |
|
| Back to top |
|
 |
webjeff
Joined: 05 May 2005 Posts: 66
|
Posted: Mon Aug 15, 2005 12:34 am Post subject: |
|
|
yea, we talked about it in IRC. I also updated my GCC to the newest on SVN and that samed to fix it.
Jeff. |
|
| Back to top |
|
 |
Thanhda

Joined: 09 Apr 2005 Posts: 331 Location: Canada
|
Posted: Mon Aug 15, 2005 5:05 am Post subject: |
|
|
just wondering, when you update your svn, where do you extract the files to?
i have extracted the files into /usr/local/pspdev/psp/
and inside the psp/ folder there is trunk vendor and tag. are these folders supose to be there. so am i supose to extract the content inside of trunk/vendor/tag into another dir? because when i try to compile my code i this error.
| Code: |
psp-gcc -g -Wall -O2 -MD -I/usr/local/pspdev/psp/sdk/include -I.. -c eglcube.c
bin2o -i logo.raw logo.o logo
psp-gcc eglcube.o logo.o -g -Wall -O2 -L/usr/local/pspdev/psp/sdk/lib -L.. -lpspgl -lm -lpspdebug -lpspge -lpspdisplay -lpspctrl -lpspsdk -lpsplibc -lpspuser -lpspkernel -o pspGL-cube.elf
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/bin/ld: cannot find -lpspgl
collect2: ld returned 1 exit status
make: *** [pspGL-cube.elf] Error 1
|
_________________ There are 10 types of people in the world: Those who understand binary, and those who don't... |
|
| Back to top |
|
 |
holger
Joined: 18 Aug 2005 Posts: 204
|
Posted: Sun Aug 21, 2005 6:02 am Post subject: |
|
|
have you typed "make" in the pspgl/ directory before trying to build the demos? Since -L.. is part of the LFLAGS it looks there for libpspgl.a...
Holger |
|
| Back to top |
|
 |
|