Page 1 of 1
error with toolchain.sh (script of oopo)
Posted: Tue Mar 01, 2005 11:43 pm
by hltrex
Hi all,
I use Cywin 2.4 , I have error when run toolchain.sh
This is my problem:
rm -f libm.a
ln libm/libm.a libm.a >/dev/null 2>/dev/null || cp libm/libm.a libm.a
rm -rf libc.a libg.a tmp
mkdir tmp
cd tmp; \
ee-ar x ../libm.a s_isinf.o sf_isinf.o s_isnan.o sf_isnan.o s_ldexp.o sf_ldexp.
o s_frexp.o sf_frexp.o s_modf.o sf_modf.o s_scalbn.o sf_scalbn.o s_finite.o sf_f
inite.o s_copysign.o sf_copysign.o s_infconst.o ; \
ee-ar x ../libc/libc.a ; \
ee-ar rc ../libc.a *.o
ee-ranlib libc.a
ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
rm -rf tmp
rm -f crt0.o
ln libc/crt0.o crt0.o >/dev/null 2>/dev/null \
|| cp libc/crt0.o crt0.o
make[2]: Leaving directory `/tmp/ps2dev/newlib-1.10.0/build-ee/ee/newlib'
make[1]: Leaving directory `/tmp/ps2dev/newlib-1.10.0/build-ee/ee/newlib'
/bin/sh ../mkinstalldirs /usr/local/ps2dev/ee /usr/local/ps2dev/ee
make[1]: Entering directory `/tmp/ps2dev/newlib-1.10.0/build-ee/etc'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/tmp/ps2dev/newlib-1.10.0/build-ee/etc'
make: *** [install-target-libstdc++] Error 141
ERROR INSTALLING NEWLIB (newlib-1.10.0 ee)
Somebody can help me , thank you very much.
Posted: Mon Mar 07, 2005 2:45 am
by mharris
Unfortunately, the actual error message was not in the output you posted, as far as I can tell. If you scroll further up, there should be some sort of error indicating why newlib couldn't be installed.
The only clue I see is 'Error 141' which is 0x8d -- signal 0x0d is SIGPIPE. This may mean that some process that was reading from a pipe died or was killed
The good news is that installing newlib is almost the last step in the toolchain build -- if you made it this far, you're almost done. It may be something trivial, like a space in the directory name where you're trying to install (I've seen this before in other posts).
Try to build the toolchain again and see what happens, look at the output more carefully to find what step is failing.
Here's a hint: if you already have all of the tarballs downloaded for binutils, gcc, and newlib, you can comment those lines out of toochain.sh so you don't have to wait for them to download again...
Posted: Thu Apr 07, 2005 10:28 pm
by Rico_Sugar
Hi,
I got an error running toolchain.sh (20050320), this is my problem:
Code: Select all
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/tmp/ps2dev/gcc-3.2.2/build
-ee-c++/gcc/xgcc -B/tmp/ps2dev/gcc-3.2.2/build-ee-c++/gcc/ -nostdinc -B/tmp/ps2d
ev/gcc-3.2.2/build-ee-c++/ee/newlib/ -isystem /tmp/ps2dev/gcc-3.2.2/build-ee-c++
/ee/newlib/targ-include -isystem /tmp/ps2dev/gcc-3.2.2/newlib/libc/include -B/us
r/local/ps2dev/ee/ee/bin/ -B/usr/local/ps2dev/ee/ee/lib/ -isystem /usr/local/ps2
dev/ee/ee/include" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS
_FOR_TARGET=-O2 -g -O2" "INSTALL=/bin/sh /tmp/ps2dev/gcc-3.2.2/install-sh -c" "I
NSTALL_DATA=/bin/sh /tmp/ps2dev/gcc-3.2.2/install-sh -c -m 644" "INSTALL_PROGRAM
=/bin/sh /tmp/ps2dev/gcc-3.2.2/install-sh -c " "INSTALL_SCRIPT=/bin/sh /tmp/ps2d
ev/gcc-3.2.2/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=
-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "
SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr/local/ps2dev/ee" "infodir=/usr/
local/ps2dev/ee/info" "libdir=/usr/local/ps2dev/ee/lib" "includedir=/usr/local/p
s2dev/ee/include" "prefix=/usr/local/ps2dev/ee" "tooldir=/usr/local/ps2dev/ee/ee
" "AR=ee-ar" "AS=ee-as" "LD=ee-ld" "LIBCFLAGS=-g -O2" "PICFLAG=" "RANLIB=ee-ranl
ib" "NM=ee-nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=ee-nm" "DESTDIR=" "WERROR=" DO=cl
ean multi-clean
make[2]: Entering directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
if [ -z "" ]; then \
true; \
else \
lib=`pwd | sed -e 's,^.*/\([^/][^/]*\)$,\1,'`; \
for dir in Makefile ; do \
if [ -f ../${dir}/${lib}/Makefile ]; then \
if (cd ../${dir}/${lib}; make clean); \
then true; \
else exit 1; \
fi; \
else true; \
fi; \
done; \
fi
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
Making clean in .
make[2]: Entering directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make[2]: Nothing to be done for `clean-am'.
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
Making clean in testsuite
make[2]: Entering directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/
testsuite'
test -z "" || rm -f
rm -rf .libs _libs
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/t
estsuite'
Making clean in po
make[2]: Entering directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/
po'
test -z " " || rm -f
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/p
o'
Making clean in src
make[2]: Entering directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/
src'
test -z "libstdc++.la" || rm -f libstdc++.la
rm -rf .libs _libs
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/s
rc'
Making clean in libsupc++
make[2]: Entering directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/
libsupc++'
test -z "libsupc++convenience.la" || rm -f libsupc++convenience.la
test -z "libsupc++.la" || rm -f libsupc++.la
rm -rf .libs _libs
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/l
ibsupc++'
Making clean in libmath
make[2]: Entering directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/
libmath'
test -z "libmath.la" || rm -f libmath.la
rm -rf .libs _libs
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/l
ibmath'
Making clean in libio
make[2]: Entering directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/
libio'
test -z "" || rm -f
rm -rf .libs _libs
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/l
ibio'
Making clean in include
make[2]: Entering directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/
include'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/i
nclude'
make[1]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
cvs: not found
cd: can't cd to ps2client
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
ERROR BUILDING PS2CLIENT
Can you help me, please?
Thanks a lot.
Posted: Thu Apr 07, 2005 10:31 pm
by pixel
Rico_Sugar wrote:Hi,
I got an error running toolchain.sh (20050320), this is my problem:
Code: Select all
[snip][snip][snip]
cvs: not found
cd: can't cd to ps2client
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
ERROR BUILDING PS2CLIENT
Can you help me, please?
Thanks a lot.
Install cvs.
Posted: Thu Apr 07, 2005 10:36 pm
by Rico_Sugar
That's all!
Thanks to reply so faster.