| View previous topic :: View next topic |
| Author |
Message |
AnonymousTipster
Joined: 01 Jul 2005 Posts: 197
|
Posted: Sat Jun 03, 2006 4:20 am Post subject: New Makefile toolchain problems |
|
|
I'm trying to update my toolchain to the new makefile based version, but i'm having trouble doing so.
I downloaded the libraries described in the readme to /usr.
I extracted the toolchain so that the makefile is at home/pspdev/toolchain.
If I 'make' straight off, it compiles some of it, but errors out at gcc/builtins.c error: HO undeclared and parse error before _BITS_
For some reason my cygwin does not recognise the command sudo or chown, does the line
sudo mkdir $PSPDEV
sudo chown username:username $PSPDEV
serve more purpose than creating a directory at /usr/local/pspdev ?
If I add
export PSPDEV="/usr/local/pspdev"
export PATH="$PATH:$PSPDEV/bin"
and then compile, I immediately get the error:
configure:error: can not find install-sh or install.sh in .. ../.. ../../..
Can anyone help me get this set up?
Thanks. |
|
| Back to top |
|
 |
AnonymousTipster
Joined: 01 Jul 2005 Posts: 197
|
Posted: Wed Jun 07, 2006 12:07 am Post subject: |
|
|
I just completely re-installed cygwin, re-downloaded the makefile toolchain and the required libraries, and i'm still getting errors:
../../gcc/regmove.c error: stray \127 in program
../../gcc/regmove.c error: 'copy' undeclared
../../gcc/regmove.c error: parse error before '~' token
../../gcc/regmove.c error: stray \127 in program
Any clues as to what I might be doing wrong? |
|
| Back to top |
|
 |
AnonymousTipster
Joined: 01 Jul 2005 Posts: 197
|
Posted: Wed Jun 07, 2006 7:21 pm Post subject: |
|
|
Assuming that the Makefile version isn't going to work for me, I cleaned the PSPDEV dir, and downloaded the 'famous autobuild' toolchain, thinking that that should work, even if a little outdated.
Seems to be doing fine, until it gets to the PSPSDK, it ends up erroring out:
make[2]: *** No rule to make target 'install-data'. Stop.
make[2]: Leaving directory '/tmp/pspdev/pspsdk/src/mpeg'
make[1]: *** [install-data-recursive] Error 1
make[1]: Leaving directory '/tmp/pspdev/pspsdk/src'
make: *** [install-data-recursive] Error 1
ERROR BUILDING PSPSDK
I could really do with some help to get this sorted. Has anyone updated their PSPSDK from SVN recently? |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Jun 08, 2006 3:50 am Post subject: |
|
|
| Quote: | | downloaded the 'famous autobuild' toolchain, thinking that that should work, even if a little outdated. |
Run "svn update" after unpacking and it will be up to date.
| Quote: | | Seems to be doing fine, until it gets to the PSPSDK, it ends up erroring out: |
Thanks for the report, fixed in rev 1943. |
|
| Back to top |
|
 |
AnonymousTipster
Joined: 01 Jul 2005 Posts: 197
|
Posted: Thu Jun 08, 2006 6:45 am Post subject: |
|
|
| Thanks Jim, it's all working smoothly now. |
|
| Back to top |
|
 |
|