http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #108 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-08-04 19:22:50 UTC --- (In reply to comment #107) > 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 Actually I think this was caused by the removal of the #include of unistd.h in gthr-posix.h which means the version of mozilla you are trying to use has not be updated for that change.