Hi, I have latest patches till 02/28/2009 and try to build mips cross compiler on gcc-3.4.5-glibc-2.3.6 and got exactly the same error on Ubutun 8.10:
In function ‘open’, inlined from ‘collect_execute’ at /home/jdai/Download/crosstool-0.43/build/mipsel-unknown-linux-gnu/gcc-3.4.5-glibc-2.3.6/gcc-3.4.5/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[1]: *** [collect2.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/jdai/Download/crosstool-0.43/build/mipsel-unknown-linux-gnu/gcc-3.4.5-glibc-2.3.6/build-gcc-core/gcc' make: *** [all-gcc] Error 2 It seems due to fcntl2.h missing 3rd argument. This kidn of bug seems since gcc 2.7.x on several Linux system a few years, not sure why still there. Any help would be appreciated. Fix on root-system may be a trick? Can we have a general fix on this h file? -- FTBFS in Intrepid: open missing arguments https://bugs.launchpad.net/bugs/285499 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs