| View previous topic :: View next topic |
| Author |
Message |
psptig
Joined: 21 Oct 2005 Posts: 7
|
Posted: Fri Oct 21, 2005 11:07 pm Post subject: pspdev compile error , |
|
|
Hi All,
I'm taking a look at PSP programming and I'm starting with pspdev but using the current build I get the following error
./toolchain.sh: line 263:cd: newlib-1.13.0: No such file or directory
./toolchain.sh: line 269: ../configure: No such file or directory
ERROR CONFIGURING NEWLIB
I followed some tips on how to fix the error but no luck, can I add these dir's and re-run the script? (where are they expected to be found?)
Also I've done a fair bit of PS2 programming (http://www.sj.teague.dsl.pipex.com/Phoenix.htm)
And was wondering how close to ps2 programming is the PSP? is it simlar Dma chains to Vu's etc?
Anyway looking forward to programming my PSP it's a very nice device indeed.
Cheers |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Fri Oct 21, 2005 11:31 pm Post subject: |
|
|
It sounds like it didn't unpack newlib. Are you sure the script downloaded it correctly? It should be in the same directory as the toolchain.sh file.
If not, you can rerun it to redownload, or download it manually. |
|
| Back to top |
|
 |
psptig
Joined: 21 Oct 2005 Posts: 7
|
Posted: Sat Oct 22, 2005 4:15 am Post subject: |
|
|
The newlib was in the directory, but no luck so I started from scratch and now get these errors... :0/ Any ideas?
cheers
../../../../../../newlib/libc/sys/psp/libcglue.c:248: error: syntax error before
'*' token
../../../../../../newlib/libc/sys/psp/libcglue.c: In function '_opendir':
../../../../../../newlib/libc/sys/psp/libcglue.c:250: error: 'DIR' undeclared (f
irst use in this function)
../../../../../../newlib/libc/sys/psp/libcglue.c:250: error: (Each undeclared id
entifier is reported only once
../../../../../../newlib/libc/sys/psp/libcglue.c:250: error: for each function i
t appears in.)
../../../../../../newlib/libc/sys/psp/libcglue.c:250: error: 'dirp' undeclared (
first use in this function)
../../../../../../newlib/libc/sys/psp/libcglue.c:258: error: syntax error before
')' token
make[5]: *** [_opendir.o] Error 1
make[5]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc/
sys/psp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc/
sys'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib'
make: *** [all-target-newlib] Error 2
ERROR BUILDING NEWLIB |
|
| Back to top |
|
 |
psptig
Joined: 21 Oct 2005 Posts: 7
|
Posted: Sat Oct 22, 2005 4:16 am Post subject: |
|
|
| Sorry I just noticed that this has been posted to the wrong group |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Sat Oct 22, 2005 7:52 am Post subject: |
|
|
| Moved to the right group. |
|
| Back to top |
|
 |
Pixel du Rezo
Joined: 22 Oct 2005 Posts: 5
|
Posted: Sat Oct 22, 2005 5:44 pm Post subject: |
|
|
What version of the toolchain are you using ?
Take a look at this topic : http://forums.ps2dev.org/viewtopic.php?t=3882
I've got the same problem yesterday, and solved it by changing my version. |
|
| Back to top |
|
 |
psptig
Joined: 21 Oct 2005 Posts: 7
|
Posted: Sat Oct 22, 2005 6:00 pm Post subject: |
|
|
cheers,
Indeed I was usng an out of date sdk, so I;ve deleted all and done svn update and just started the build. Should know in a few hours
Thanks |
|
| Back to top |
|
 |
|