gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6/gcc -I/home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6/gcc/. -I/home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6/gcc/../include \
-DTARGET_MACHINE=\"mipsel-unknown-linux-gnu\" \
-c /home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6/gcc/collect2.c -o collect2.o
In file included from /usr/include/fcntl.h:205,
from /home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6/gcc/system.h:214,
from /home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6/gcc/collect2.c:30:
In function ‘open’,
inlined from ‘collect_execute’ at /home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6/gcc/collect2.c:1537:
/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[2]: *** [collect2.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Verlasse Verzeichnis '/home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6-build/gcc'
make[1]: *** [all-gcc] Fehler 2
make[1]: Verlasse Verzeichnis '/home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6-build'
make: *** [/home/fritz/Desktop/freetz-trunk/source/toolchain/kernel/gcc-3.4.6-build/.compiled] Fehler 2