problem compiling

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

Moderators: cheriff, TyRaNiD

Post Reply
jimmy
Posts: 2
Joined: Thu Jan 04, 2007 5:16 pm

problem compiling

Post by jimmy »

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

Post by jimparis »

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.
jimmy
Posts: 2
Joined: Thu Jan 04, 2007 5:16 pm

Post by jimmy »

thanks a lot

it works :)
Post Reply