When i try to compile source that does #include <linux/fs.h>
(such as in e2fsprogs-1.18) i get the following error:
In file included from /usr/include/linux/dcache.h:5,
/usr/include/linux/mount.h:16: parse error before `kdev_t'
/usr/include/linux/mount.h:16: warning: no semicolon at end of struct or union
/usr/include/linux/mount.h:21: parse error before `}'
/usr/include/linux/mount.h:20: storage size of `mnt_list' isn't known
make: *** [getsize.o] Error 1
i can just make a dummy source file that does nothing but
include linux/fs.h and get the same error.
looks like mount.h gets included too early. dcache.h
didn't used to include mount.h and i can compile e2fsprogs
if i use the 2.3.49 kernel sources.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:12 EST