Build Error using the autobuild script
Posted: Sun Jun 11, 2006 9:09 am
Code: Select all
[root@unknown newtoolchain]# ./toolchain.pl PS2
Dependencies:
gcc: Found!
make: Found!
wget: Found!
patch: Found!
svn: Found!
$PS2DEV: Found!
$PS2SDK: Found!
path: Found!
privs: Found!
Step 1 of 6: binutils-2.14
downloading: Done!
unpacking: Done!
patching: Done!
building:
ee: Done!
iop: Done!
dvp: Done!
Step 2 of 6: gcc-3.2.2 (C)
downloading: Done!
unpacking: Done!
patching: Done!
building:
ee: Error!
=====================
== ERROR DETECTED! ==
=====================
echo timestamp > s-genrtl
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/genflags.c -o genflags.o
In file included from ../../gcc/genflags.c:27:
../../gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/rtl.c -o rtl.o
In file included from ../../gcc/rtl.c:24:
../../gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/read-rtl.c -o read-rtl.o
In file included from ../../gcc/read-rtl.c:24:
../../gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
../../gcc/read-rtl.c: In function ‘fatal_with_file_and_line’:
../../gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions
../../gcc/read-rtl.c: In function ‘read_rtx’:
../../gcc/read-rtl.c:662: error: invalid lvalue in increment
make[1]: *** [read-rtl.o] Error 1
make[1]: Leaving directory `/home/mark/Desktop/programming/PS2DEV/newtoolchain/gcc-3.2.2/build-ee/gcc'
make: *** [all-gcc] Error 2
ERROR: Error!
[root@unknown newtoolchain]#
Any help here? Thanks