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 

New Makefile toolchain problems

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



Joined: 01 Jul 2005
Posts: 197

PostPosted: Sat Jun 03, 2006 4:20 am    Post subject: New Makefile toolchain problems Reply with quote

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
View user's profile Send private message
AnonymousTipster



Joined: 01 Jul 2005
Posts: 197

PostPosted: Wed Jun 07, 2006 12:07 am    Post subject: Reply with quote

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
View user's profile Send private message
AnonymousTipster



Joined: 01 Jul 2005
Posts: 197

PostPosted: Wed Jun 07, 2006 7:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Jun 08, 2006 3:50 am    Post subject: Reply with quote

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
View user's profile Send private message
AnonymousTipster



Joined: 01 Jul 2005
Posts: 197

PostPosted: Thu Jun 08, 2006 6:45 am    Post subject: Reply with quote

Thanks Jim, it's all working smoothly now.
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