As title,I can't setup build environment in Ububtu 8.10.
The error message:
make[1]: Entering directory `/tmp/rbdev-build/build-gcc/gcc'
gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -DHAVE_CONFIG_H -I. -I. -I../.. \
/gcc-4.0.3/gcc -I../../gcc-4.0.3/gcc/. -I../../gcc-4.0.3/gcc/../include -I../../gcc-4.0.3/gcc/../libcpp/include \
-DTARGET_MACHINE=\"arm-elf\" \
-c ../../gcc-4.0.3/gcc/collect2.c -o collect2.o
In function 「openã€,
inlined from 「collect_execute〠at ../../gcc-4.0.3/gcc/collect2.c:1580:
/usr/include/bits/fcntl2.h:51: error: call to 「__open_missing_mode〠declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/tmp/rbdev-build/build-gcc/gcc'
make: *** [install-gcc] Error 2
Cleaning up build folder
Done!
Both gcc 4.3.2 or 4.2.4 can't work.
Could anyone help me? Thanks.
---
In 8.04,rockboxdev.sh works fine.
--edited to make the message not scroll WAAAAY off the screen!