[SOLVED] 004-Newlib toolchain script error.

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

Moderators: cheriff, TyRaNiD

Post Reply
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

[SOLVED] 004-Newlib toolchain script error.

Post by KickinAezz »

004 script gives this error.

Code: Select all

make[5]: Entering directory `/home/Rokr/psptoolchain/scripts/newlib-1.15.0/build
-psp/psp/newlib/libc'
rm -f crt0.o
ln sys/crt0.o crt0.o >/dev/null 2>/dev/null || cp sys/crt0.o crt0.o
cp: cannot stat `sys/crt0.o': No such file or directory
make[5]: *** [crt0.o] Error 1
make[5]: Leaving directory `/home/Rokr/psptoolchain/scripts/newlib-1.15.0/build-
psp/psp/newlib/libc'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Rokr/psptoolchain/scripts/newlib-1.15.0/build-
psp/psp/newlib/libc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Rokr/psptoolchain/scripts/newlib-1.15.0/build-
psp/psp/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Rokr/psptoolchain/scripts/newlib-1.15.0/build-
psp/psp/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/home/Rokr/psptoolchain/scripts/newlib-1.15.0/build-
psp'
make: *** [all] Error 2
Tried twice. Please help..
Last edited by KickinAezz on Mon Oct 22, 2007 12:48 am, edited 1 time in total.
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Please post more of the error messages. All I can guess from what you've pasted is that you haven't built steps 1-3 yet.

Or ran out of disk space, I guess.
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

The first 3 steps were succesful.
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

Had to add these lines to cygwin:

set PSPDEV=/usr/local/pspdev
set PATH=$PATH:$PSPDEV/bin
before
bash --login -i

instead of these from psp-programming tutorials [which are outdated]:

set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Post Reply