forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

compile the latest pspsdk with "No such file or directo

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
fone4u



Joined: 06 Nov 2006
Posts: 6

PostPosted: Mon Nov 06, 2006 6:48 am    Post subject: compile the latest pspsdk with "No such file or directo Reply with quote

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
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Mon Nov 06, 2006 9:27 am    Post subject: Reply with quote

well,

I doubt ur not using linux..
Back to top
View user's profile Send private message AIM Address
fone4u



Joined: 06 Nov 2006
Posts: 6

PostPosted: Mon Nov 06, 2006 9:17 pm    Post subject: Reply with quote

well, I am using slackware Linux 2.4.31.


quote="Wally4000"]well,

I doubt ur not using linux..[/quote]
Back to top
View user's profile Send private message
fone4u



Joined: 06 Nov 2006
Posts: 6

PostPosted: Thu Nov 09, 2006 12:20 am    Post subject: Reply with quote

any one can offer some help?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group