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 

pspdev compile error ,

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



Joined: 21 Oct 2005
Posts: 7

PostPosted: Fri Oct 21, 2005 11:07 pm    Post subject: pspdev compile error , Reply with quote

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
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Oct 21, 2005 11:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
psptig



Joined: 21 Oct 2005
Posts: 7

PostPosted: Sat Oct 22, 2005 4:15 am    Post subject: Reply with quote

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
View user's profile Send private message
psptig



Joined: 21 Oct 2005
Posts: 7

PostPosted: Sat Oct 22, 2005 4:16 am    Post subject: Reply with quote

Sorry I just noticed that this has been posted to the wrong group
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat Oct 22, 2005 7:52 am    Post subject: Reply with quote

Moved to the right group.
Back to top
View user's profile Send private message
Pixel du Rezo



Joined: 22 Oct 2005
Posts: 5

PostPosted: Sat Oct 22, 2005 5:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
psptig



Joined: 21 Oct 2005
Posts: 7

PostPosted: Sat Oct 22, 2005 6:00 pm    Post subject: Reply with quote

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