c - What's wrong with linux/ext2_fs.h? I have included <linux/fs.h> -
while looking solution problem have seen question has been asked before... solution has been offered #include <linux/fs.h>
, have , still getting error.
running ubuntu 13.10 cc compiler.
when try compile program.c receive following error:
fatal error: linux/ext2_fs.h: no such file or directory #include <linux/ext2_fs.h> ^
my header file includes:
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <linux/fs.h> #include <linux/ext2_fs.h> #include <linux/types.h>
i had same problem using gcc
ubuntu 15.10 , solved this:
sudo apt-get install e2fslibs-dev
Comments
Post a Comment