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 

[solved] Help installing toolchain !

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



Joined: 22 Oct 2005
Posts: 5

PostPosted: Sat Oct 22, 2005 4:20 am    Post subject: [solved] Help installing toolchain ! Reply with quote

2 week before, I successfully installed the toolchain on my laptop, running Debian.
Yesterday, I want to update the toolchain, so I ran "./toolchain.sh"

now, I've got this output and error :

Code:
In file included from ../../../../../../newlib/libc/sys/psp/libcglue.c:24:
../../../../../../newlib/libc/sys/psp/sys/dirent.h:27: erreur: syntax error before '*' token
../../../../../../newlib/libc/sys/psp/sys/dirent.h:27: attention : la définition de données n'a pas de type ni de classe de stockage
../../../../../../newlib/libc/sys/psp/sys/dirent.h:28: erreur: syntax error before '*' token
../../../../../../newlib/libc/sys/psp/sys/dirent.h:29: erreur: syntax error before '*' token
make[5]: *** [libcglue.o] Erreur 1
make[5]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc/sys/psp'
make[4]: *** [all-recursive] Erreur 1
make[4]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc/sys'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib'
make[1]: *** [all-recursive-am] Erreur 2
make[1]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib'
make: *** [all-target-newlib] Erreur 2
ERROR BUILDING NEWLIB


I try to uninstall the whole thing, and then reinstall it from scratch, but nothing to do...

Any solution ?

EDIT:

1st toolchain version was "psptoolchain-20050906.tgz".
Now, using "psptoolchain-20051011.tgz"


Last edited by Pixel du Rezo on Sat Oct 22, 2005 7:08 am; edited 1 time in total
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:06 am    Post subject: Reply with quote

I've give another try with the "psptoolchain-20050906.tgz"

The error is
Code:
../../../../../../newlib/libc/sys/psp/libcglue.c:272: erreur: syntax error before '*' token
../../../../../../newlib/libc/sys/psp/libcglue.c: In function '_opendir':
../../../../../../newlib/libc/sys/psp/libcglue.c:274: erreur: 'DIR' undeclared (first use in this function)
../../../../../../newlib/libc/sys/psp/libcglue.c:274: erreur: (Chaque identificateur non déclaré est rapporté une seule fois
../../../../../../newlib/libc/sys/psp/libcglue.c:274: erreur: pour chaque fonction dans laquelle il apparaît.)
../../../../../../newlib/libc/sys/psp/libcglue.c:274: erreur: 'dirp' undeclared (first use in this function)
../../../../../../newlib/libc/sys/psp/libcglue.c:282: erreur: syntax error before ')' token
make[5]: *** [_opendir.o] Erreur 1
make[5]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc/sys/psp'
make[4]: *** [all-recursive] Erreur 1
make[4]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc/sys'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib'
make[1]: *** [all-recursive-am] Erreur 2
make[1]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib'
make: *** [all-target-newlib] Erreur 2
ERROR BUILDING NEWLIB
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sat Oct 22, 2005 5:58 am    Post subject: Reply with quote

Both psptoolchain-20050906.tgz and psptoolchain-20051011.tgz are out of date; get it from Subversion instead:
Code:
svn co svn://svn.pspdev.org/psp/trunk/psptoolchain
cd psptoolchain
./toolchain.sh
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:59 am    Post subject: Reply with quote

I'm trying right now...
I'll come back in a few hours to give the result ;)

EDIT: It's working now !!!! Thx a lot !
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

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

Hmm. I guess its time to update the version on my site.

In case someone finds this thread in a search and the there's no prepackaged latest version, here's the updating instructions from the README.TXT included with psptoolchain:

Quote:
============================
HOW CAN I STAY UP TO DATE?
============================

The psp toolchain itself isn't updated nearly as often as pspsdk itself
so you can usually stay up to date by just running:

./toolchain.sh -p

However, you can update the entire psp toolchain script, patches and sdk
by grabbing the latest version direct from the svn server:

svn update
./toolchain.sh

Making sure you're running the latest version is definately the first step in troubleshooting.
Back to top
View user's profile Send private message Visit poster's website
Pixel du Rezo



Joined: 22 Oct 2005
Posts: 5

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

Just a little addition: (I still haven't search in this forum if anybody has the same problem)

It seems like I've got a "zoom" problem now...
It is to say that when I compile the "cube" sample (in sample/gu/cube of the sdk) all seems to be good, but when I launch the app, there is a cube, rotating... but I nearly not see it, because it's located "near the screen" (I don'tknow how to explain.. my english isn't very good)

With the previous version.. all was good if my memory is good ;)

PS: I'm running the app with a 2.0 firmware, with the EBOOT loader v0.6 from fanjita. (but it's the same since I started to develop for the PSP)
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