• My Errors
  • Login
  • Search
Search again

Error #67897

error: sys/types.h: No such file or directory

User's solution

This works!
+3 Vote Up

Trying to compile a C program using Ubuntu 7.10 (gutsy gibbon)
By default, Ubuntu doesn't come with standard headers installed.
sudo apt-get install build-essentials
fixed the problem.
Answered via a google search [ubuntu gcc error: sys/types.h: No such file or directory] that returned a link to this page:
http://forum.kernelnewbie...p?10,18,18

Jan 27, 2008

Comments

tiny typo in solution - the package is "build-essential" (not plural): sudo apt-get install build-essential

user8023 Apr 02, 2008