| View previous topic :: View next topic |
| Author |
Message |
Guzmanus
Joined: 01 Jun 2007 Posts: 4
|
Posted: Fri Jun 01, 2007 2:15 am Post subject: [Toolchain]Newlib compiling error |
|
|
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 |
|
 |
anhanguera
Joined: 26 Aug 2004 Posts: 31
|
Posted: Fri Jun 01, 2007 4:21 am Post subject: |
|
|
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 |
|
 |
Guzmanus
Joined: 01 Jun 2007 Posts: 4
|
Posted: Fri Jun 01, 2007 4:32 am Post subject: |
|
|
| Yes, I open ./toolchain-sudo.sh, which has those commands |
|
| Back to top |
|
 |
Guzmanus
Joined: 01 Jun 2007 Posts: 4
|
Posted: Sun Jun 03, 2007 4:22 am Post subject: |
|
|
| No one has a solution? |
|
| Back to top |
|
 |
|