Seems like you don't have libc-dev and libc6-dev installed. Are you sure you did install build-essential?
-- GCC major bug https://launchpad.net/bugs/72637 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs