| View previous topic :: View next topic |
| Author |
Message |
jimmy
Joined: 04 Jan 2007 Posts: 2
|
Posted: Thu Jan 04, 2007 5:49 pm Post subject: problem compiling |
|
|
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 |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Fri Jan 05, 2007 7:50 am Post subject: |
|
|
| 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 |
|
 |
jimmy
Joined: 04 Jan 2007 Posts: 2
|
Posted: Fri Jan 05, 2007 9:05 am Post subject: |
|
|
thanks a lot
it works :) |
|
| Back to top |
|
 |
|