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 

Compiling Problem

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



Joined: 23 Jul 2005
Posts: 11

PostPosted: Thu Aug 04, 2005 7:30 am    Post subject: Compiling Problem Reply with quote

I have been able to complie nem's hello world for psp but i can't get to compile the source for pspweather v1.05. Here is the error message i get:
Code:
$make
/usr/local/pspdev/psp/bin/psp-gcc -march+r4000 -g -mgp32 -c -xassembler -O -o startup.o startup.s
make: /usr/local/pspdev/psp/bin/psp-gcc: Command not found
make: *** [startup.o] Error 127


Last edited by pspguy190 on Thu Aug 04, 2005 10:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Thu Aug 04, 2005 7:47 am    Post subject: Reply with quote

The [ in your path after psp there might be the problem.
Back to top
View user's profile Send private message
pspguy190



Joined: 23 Jul 2005
Posts: 11

PostPosted: Thu Aug 04, 2005 10:40 pm    Post subject: Reply with quote

That was a typo just changing it
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Thu Aug 04, 2005 11:03 pm    Post subject: Reply with quote

download and install the newest toolchain and sdk from svn, then see if you get that error.
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
pspguy190



Joined: 23 Jul 2005
Posts: 11

PostPosted: Fri Aug 12, 2005 11:00 am    Post subject: Reply with quote

can u tell me how to do that. i have been trying for a while but can't get it right. i personaly don't think in the instructions with the pspsdk readme are helpfull. Please help
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Fri Aug 12, 2005 4:01 pm    Post subject: Reply with quote

delete everyting you have done already. Clean out all directories and follow http://wiki.pspdev.org/psp:programming_faq
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
pspguy190



Joined: 23 Jul 2005
Posts: 11

PostPosted: Sat Aug 13, 2005 1:35 pm    Post subject: Reply with quote

I deleted everything as u said and downloaded the psptoolchain script from opoo.net. Then I followed the instrustions on the psp faq. In the end i also used this command to intall the latest pspsdk:
Code:
./toolchain.sh -p

Then i went back to pspWeather v1.05 source and used the make command. I was afraid to see the error message again.
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Sat Aug 13, 2005 3:12 pm    Post subject: Reply with quote

Make sure that you ran the orginial toolchain first... ./toolchain (without the -p)

Do you have all of your enviroment variables set?
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
pspguy190



Joined: 23 Jul 2005
Posts: 11

PostPosted: Mon Aug 15, 2005 7:05 am    Post subject: Reply with quote

I did use ./toolchain.sh alone first then after hours i set the enviorment variables and then used ./ttolchain.sh -p after that i was able to build all of the sample programs but i still get the error for pspWeather
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Mon Aug 15, 2005 10:55 am    Post subject: Reply with quote

pspguy190 wrote:
I did use ./toolchain.sh alone first then after hours i set the enviorment variables and then used ./ttolchain.sh -p after that i was able to build all of the sample programs but i still get the error for pspWeather


From what I remember, the PSP Weather program was built before the SDK (or at least at the very beginning). I would contact the author for an update, or try to update it yourself.
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
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