错误:SYS / types.h中发现没有这样的目录 [英] Error :sys/types.h No such directory found

查看:173
本文介绍了错误:SYS / types.h中发现没有这样的目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里输入的形象描述

我在Ubuntu中工作,我想在我的源代码types.h中的文件。我曾尝试包括的#include&LT;的Linux / types.h中&GT; 中提到的<一个href=\"http://stackoverflow.com/questions/25589407/kernel-module-build-fails-sys-types-h-no-such-file-or-directory\">here
但这似乎并没有工作,我也试过这个命令命令和apt-get安装建立必要的提到的这里这也不能工作。帮助将非常AP preciated。

I am working in Ubuntu and I want to include types.h file in my source. I have tried including #include <linux/types.h> as mentioned in here but this doesn't seem to work, I also tried this command sudo apt-get install build-essential as mentioned here which didn't work either. Help will be much appreciated.

推荐答案

文件 SYS / types.h中按包提供的libc6-dev的:AMD64和libc6的-dev亡I386

Files sys/types.h are provided by packages libc6-dev:amd64 and libc6-dev-i386

这篇关于错误:SYS / types.h中发现没有这样的目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆