pspdev compile error ,

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

Moderators: cheriff, TyRaNiD

Post Reply
psptig
Posts: 7
Joined: Fri Oct 21, 2005 10:54 pm

pspdev compile error ,

Post by psptig »

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
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

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.
psptig
Posts: 7
Joined: Fri Oct 21, 2005 10:54 pm

Post by psptig »

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
psptig
Posts: 7
Joined: Fri Oct 21, 2005 10:54 pm

Post by psptig »

Sorry I just noticed that this has been posted to the wrong group
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Moved to the right group.
Pixel du Rezo
Posts: 5
Joined: Sat Oct 22, 2005 4:16 am

Post by Pixel du Rezo »

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.
psptig
Posts: 7
Joined: Fri Oct 21, 2005 10:54 pm

Post by psptig »

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
Post Reply