错误:SYS / types.h中发现没有这样的目录 [英] Error :sys/types.h No such directory found
问题描述
我在Ubuntu中工作,我想在我的源代码types.h中的文件。我曾尝试包括的#include<的Linux / types.h中>
中提到的<一个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屋!