New Makefile toolchain problems

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
AnonymousTipster
Posts: 197
Joined: Fri Jul 01, 2005 2:50 am

New Makefile toolchain problems

Post by AnonymousTipster »

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.
AnonymousTipster
Posts: 197
Joined: Fri Jul 01, 2005 2:50 am

Post by AnonymousTipster »

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?
AnonymousTipster
Posts: 197
Joined: Fri Jul 01, 2005 2:50 am

Post by AnonymousTipster »

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?
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

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.
Seems to be doing fine, until it gets to the PSPSDK, it ends up erroring out:
Thanks for the report, fixed in rev 1943.
AnonymousTipster
Posts: 197
Joined: Fri Jul 01, 2005 2:50 am

Post by AnonymousTipster »

Thanks Jim, it's all working smoothly now.
Post Reply