If you see the Ubuntu fatal error: SYS/types. H: No file or directory error,
Then you need to install a software package build-essential and enter the following command:
Apt-Get install build-essential |
Reading the package list... complete Analyzing the dependency tree of the software package... finished The following additional software packages will be installed: G ++-4.0 libc6-dev libstdc ++ 6-4.0-dev Linux-kernel-headers Recommended software packages: Gcc-4.0-doc lib64stdc ++ 6 glibc-Doc manpages-dev libstdc ++ 6-4.0-doc STL-Manual The following [new] software packages will be installed: Build-essential g ++-4.0 libc6-dev libstdc ++ 6-4.0-dev Linux-kernel-headers A total of 0 software packages have been upgraded, 6 new software packages have been installed, 0 software packages have to be uninstalled, and 74 software have not been upgraded. Download the 0b/7611kb software package. After decompression, 32.1 MB of extra space is consumed. Do you want to continue? [Y/n] The Linux-kernel-headers software package that was deselected was selected. (Reading the database... the system currently has a total of 94629 files and directories installed .) Extracting Linux-kernel-headers (from .../Linux-kernel-headers_2.6.11.2-0ubuntu18_i386.deb )... Selected the software package libc6-dev that was deselected. Extracting the libc6-dev (from.../libc6-dev_2.3.6-0ubuntu20_i386.deb )... The software package libstdc ++ 6-4.0-dev was deselected. Decompressing libstdc ++ 6-4.0-dev (from.../libstdc ++ 6-4.0-dev_4.0.3-1ubuntu5_i386.deb )... The software package g ++-4.0 that was deselected was selected. Extracting g ++-4.0 (from.../g ++-4.0 _ 4.0.3-1ubuntu5_i386.deb )... The software package g ++ that has been deselected is selected. Extracting g ++ (from.../g ++ _ 4% 3a4. 0.3-i386.deb )... The build-essential software package that was deselected was selected. Extracting build-essential (from.../build-essential_11.1_i386.deb )... Setting Linux-kernel-headers (2.6.11.2-0ubuntu18 )... Setting libc6-dev (2.3.6-0ubuntu20 )... Setting g ++-4.0 (4.0.3-1ubuntu5 )... Setting libstdc ++ 6-4.0-dev (4.0.3-1ubuntu5 )... Setting g ++ (4.0.3-1 )... Setting build-essential (11.1 )... |
After the installation is complete, UBUNTU fatal error: SYS/types. h: no error of the file or directory ~~~