compile the latest pspsdk with "No such file or directo

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

Moderators: cheriff, TyRaNiD

Post Reply
fone4u
Posts: 6
Joined: Mon Nov 06, 2006 5:21 am

compile the latest pspsdk with "No such file or directo

Post by fone4u »

Hi,

I'm trying to compile the latest pspsdk but it always stops on "pspaudiolib.c:14:20: error: stdlib.h: No such file or directory".

Also it says that it can't find include files string.h. However, I found hem and got them in /usr/local/pspdev/psp/include/.

Previous steps compiled without problem.

I also have tried many toolchain versions with no luck.

please give me a hand. thanks.

root@darkstar:/usr/down/pspsdk_1.0-beta2# make
make all-recursive
make[1]: Entering directory `/usr/down/pspsdk_1.0-beta2'
Making all in src
make[2]: Entering directory `/usr/down/pspsdk_1.0-beta2/src'
Making all in audio
make[3]: Entering directory `/usr/down/pspsdk_1.0-beta2/src/audio'
if psp-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/base -I../../src/user -I../../src/debug -g -O2 -G0 -Wall -MT pspaudiolib.o -MD -MP -MF ".deps/pspaudiolib.Tpo" -c -o pspaudiolib.o pspaudiolib.c; \
then mv -f ".deps/pspaudiolib.Tpo" ".deps/pspaudiolib.Po"; else rm -f ".deps/pspaudiolib.Tpo"; exit 1; fi
pspaudiolib.c:14:20: error: stdlib.h: No such file or directory
pspaudiolib.c:15:20: error: string.h: No such file or directory
pspaudiolib.c: In function 'pspAudioInit':
pspaudiolib.c:117: warning: implicit declaration of function 'strcpy'
pspaudiolib.c:117: warning: incompatible implicit declaration of built-in function 'strcpy'
make[3]: *** [pspaudiolib.o] Error 1
make[3]: Leaving directory `/usr/down/pspsdk_1.0-beta2/src/audio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/down/pspsdk_1.0-beta2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/down/pspsdk_1.0-beta2'
make: *** [all] Error 2
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

well,

I doubt ur not using linux..
fone4u
Posts: 6
Joined: Mon Nov 06, 2006 5:21 am

Post by fone4u »

well, I am using slackware Linux 2.4.31.


quote="Wally4000"]well,

I doubt ur not using linux..[/quote]
fone4u
Posts: 6
Joined: Mon Nov 06, 2006 5:21 am

Post by fone4u »

any one can offer some help?
Post Reply