http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #107 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-08-04 19:16:29 UTC --- Now my build dies on what appears to be configure confussion: /abuild/jh/mozilla-central2/mozilla-central/ipc/chromium/src/base/file_util_linux.cc:43:17: error: 'close' was not declared in this scope /abuild/jh/mozilla-central2/mozilla-central/ipc/chromium/src/base/file_util_linux.cc:52:26: error: 'read' was not declared in this scope /abuild/jh/mozilla-central2/mozilla-central/ipc/chromium/src/base/file_util_linux.cc:52:26: error: invalid type in declaration before ';' token /abuild/jh/mozilla-central2/mozilla-central/ipc/chromium/src/base/file_util_linux.cc:62:39: error: 'write' was not declared in this scope /abuild/jh/mozilla-central2/mozilla-central/ipc/chromium/src/base/file_util_linux.cc:62:39: error: invalid type in declaration before ';' token /abuild/jh/mozilla-central2/mozilla-central/ipc/chromium/src/base/file_util_linux.cc:74:7: error: 'close' was not declared in this scope /abuild/jh/mozilla-central2/mozilla-central/ipc/chromium/src/base/file_util_linux.cc:74:7: error: invalid type in declaration before ';' token /abuild/jh/mozilla-central2/mozilla-central/ipc/chromium/src/base/file_util_linux.cc:76:7: error: 'close' was not declared in this scope /abuild/jh/mozilla-central2/mozilla-central/ipc/chromium/src/base/file_util_linux.cc:76:7: error: invalid type in declaration before ';' token While I could definitely get around by adding the proper #includes, it seems that things simply gets misconfigured. Martin, you mentioned similar problem earlier, perhaps you already have solution?