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