All,
I am trying to install the PSP SDK on Mac OS X as its the only unix box I have and I don't want to use cygwin on windows... I've installed all the prerequisites such as make and subversion - however when the toolchain script is running it fails when working on the NEWLIB portion with the following error:
bc/sys/psp -O2 -G0 -DPREFER_SIZE_OVER_SPEED -DCOMPACT_CTYPE -DCLOCK_PROVIDED -I/usr/local/pspdev/psp/sdk/include -fno-builtin -O2 -g -O2 -O2 -g -O2 -DF__opendir ../../../../../../newlib/libc/sys/psp/libcglue.c -c -o _opendir.o
../../../../../../newlib/libc/sys/psp/libcglue.c:248: error: syntax error before '*' token
../../../../../../newlib/libc/sys/psp/libcglue.c: In function '_opendir':
../../../../../../newlib/libc/sys/psp/libcglue.c:250: error: 'DIR' undeclared (first use in this function)
../../../../../../newlib/libc/sys/psp/libcglue.c:250: error: (Each undeclared identifier is reported only once
../../../../../../newlib/libc/sys/psp/libcglue.c:250: error: for each function it appears in.)
../../../../../../newlib/libc/sys/psp/libcglue.c:250: error: 'dirp' undeclared (first use in this function)
../../../../../../newlib/libc/sys/psp/libcglue.c:258: error: syntax error before ')' token
make[5]: *** [_opendir.o] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-target-newlib] Error 2
ERROR BUILDING NEWLIB
After searching through the newsgroups I was unable to find anyone with the same problem... Does anyone have any ideas?? For the sake of providing complete info to folks, I am running OS X 10.4.2 and the hardware is the mac mini....
thanks to anyone who can help!
Error when running Toolchain.sh
-
- Posts: 2
- Joined: Tue Nov 01, 2005 3:59 am
Thanks for the reply Jim - I was actually half-way through updating all the source when you posted your reply...
Anyway once the source was updated everything worked fine - which is wierd because when I used toolchain for the first time ever last night it must've pulled down old code or something...
Anyway once the source was updated everything worked fine - which is wierd because when I used toolchain for the first time ever last night it must've pulled down old code or something...