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 

[Toolchain]Newlib compiling error

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



Joined: 01 Jun 2007
Posts: 4

PostPosted: Fri Jun 01, 2007 2:15 am    Post subject: [Toolchain]Newlib compiling error Reply with quote

Hi. I have this problem when I start toolchain:

as: unrecognized option `-G0′
make[5]: *** [lib_a-dummy.o] Error 1
make[5]: *** Se espera a que terminen otras tareas….(Spanish)
as: unrecognized option `-G0′
make[5]: *** [lib_a-argz_add.o] Error 1
make[5]: se sale del directorio (Spanish)
`/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/libc/argz’
make[4]: *** [all-recursive] Error 1
make[4]: se sale del directorio (Spanish)
`/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/libc’
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio (Spanish)
`/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib’
make[2]: *** [all] Error 2
make[2]: se sale del directorio (Spanish) `/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib’
make[1]: *** [all-target-newlib] Error 2
make[1]: se sale del directorio (Spanish) `/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp’
make: *** [all] Error 2
../scripts/004-newlib-1.15.0.sh: Failed.

And the toolchain stops.
How can I fix it?
I use Ubuntu feisty.

Sorry, I know it, my English is very bad because I'm spanish.
Back to top
View user's profile Send private message
anhanguera



Joined: 26 Aug 2004
Posts: 31

PostPosted: Fri Jun 01, 2007 4:21 am    Post subject: Reply with quote

hi,

you should set PSPDEV and PATH before running toolchain.sh , if you did not. from toolchain.txt;

Code:
 2) Add the following to your login script:

  export PSPDEV=/usr/local/pspdev
  export PATH=$PATH:$PSPDEV/bin


anhanguera.
Back to top
View user's profile Send private message
Guzmanus



Joined: 01 Jun 2007
Posts: 4

PostPosted: Fri Jun 01, 2007 4:32 am    Post subject: Reply with quote

Yes, I open ./toolchain-sudo.sh, which has those commands
Back to top
View user's profile Send private message
Guzmanus



Joined: 01 Jun 2007
Posts: 4

PostPosted: Sun Jun 03, 2007 4:22 am    Post subject: Reply with quote

No one has a solution?
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