| View previous topic :: View next topic |
| Author |
Message |
fone4u
Joined: 06 Nov 2006 Posts: 6
|
Posted: Mon Nov 06, 2006 6:48 am Post subject: compile the latest pspsdk with "No such file or directo |
|
|
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.
| Quote: | 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
|
|
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Mon Nov 06, 2006 9:27 am Post subject: |
|
|
well,
I doubt ur not using linux.. |
|
| Back to top |
|
 |
fone4u
Joined: 06 Nov 2006 Posts: 6
|
Posted: Mon Nov 06, 2006 9:17 pm Post subject: |
|
|
well, I am using slackware Linux 2.4.31.
quote="Wally4000"]well,
I doubt ur not using linux..[/quote] |
|
| Back to top |
|
 |
fone4u
Joined: 06 Nov 2006 Posts: 6
|
Posted: Thu Nov 09, 2006 12:20 am Post subject: |
|
|
| any one can offer some help? |
|
| Back to top |
|
 |
|