Error compiling PSPSDK

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

Moderators: cheriff, TyRaNiD

Post Reply
pmcc
Posts: 1
Joined: Mon Jun 12, 2006 7:23 am

Error compiling PSPSDK

Post by pmcc »

Hi,

I'm trying to compile the latest toolchain (svn) but it always stops on "pspsdk/src/audio" saying it can't find include files string.h / stdlib.h which are on the system (configure found them and got them in /usr/local/pspdev/psp/include/). Previous steps compiled without problem.
I'm running Debian unstable, using automake 1.9.6 and autoconf 2.59a.
I did some research on the forum but nothing solved my problem. I also tried newtoolchain (which seems to be the same except the perl script) with no luck.

Here's the output :

Code: Select all

 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
then many errors
Looks like it misses -I/usr/local/pspdev/psp/include but I'm not really good when it comes to Makefile so don't really know how to fix it for every src ;)

Thanks for the help.
Findeton
Posts: 2
Joined: Thu Aug 31, 2006 10:23 pm

Post by Findeton »

Hi, I've got the very same problem, anyone knows how to fix it?
Post Reply