Question

When I try to compile one of my old program which uses ext3 structure with new Fedora 16

I get the message

# make
Compile main.c In file included from main.c:8:0:
giis.h:18:28: fatal error: linux/ext3_fs.h: No such file or directory
compilation terminated.

I did yum install kernel-devel and kernel-headers - but still it gives above message.

# uname -a
Linux space 3.2.9-2.fc16.x86_64 #1 SMP Mon Mar 5 20:55:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Was it helpful?

Solution

The linux kernel does not export a header called ext3_fs.h, or does not do so anymore. Edit your giis.h to do without it. See commit v2.6.25-rc8~52: “Neither of the headers actually compiles when included from userpsace nor should it be made available as userspace tools should be using the libraries or at least headers from e2fsprogs.”

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top