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 

problem compiling

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



Joined: 04 Jan 2007
Posts: 2

PostPosted: Thu Jan 04, 2007 5:49 pm    Post subject: problem compiling Reply with quote

hi

I have a problem when I try to compile a program even the samples

I checked a lot of pages an in this forum

but I cannt resolve the problem

I use linux(xubuntu)

I installed the toolchain and added the path in my .bash_profile

whe I try to compile with make a program I get errors

I type
/usr/local/pspdev/psp/sdk/samples/power$ sudo make

I get

make: *** No hay ninguna regla para construir el objetivo(no rule to build) `/lib/build.mak'. Alto.

even if I modify the makefile changing the "/lib/build.mak" for the real and complete path /usr/local/pspdev/psp/sdk/lib/build.mak i get another error

*** $(PSPSDK) is undefined. Use "PSPSDK := $(shell psp-config --pspsdk-path)" in your Makefile.

if I quit the line that call buil.mak(someone said thath in other forum i checked) from Makefile I get

"there's no target"


any ideas?

thanks
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Jan 05, 2007 7:50 am    Post subject: Reply with quote

Sudo resets your path, don't use sudo. Change the permissions on /usr/local/pspdev or copy the samples somewhere that your normal user can write to, then build it.
Back to top
View user's profile Send private message
jimmy



Joined: 04 Jan 2007
Posts: 2

PostPosted: Fri Jan 05, 2007 9:05 am    Post subject: Reply with quote

thanks a lot

it works :)
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