Compiling on FC3 fails
Status: Beta
Brought to you by:
clandau
I'm trying to build EROS/CapROS (checked out this
morning) on FC3 and ran into a minor problem.
It seems there are a bunch of #include lines that have
been removed (at least in FC3) from the beginning of
/usr/include/linux/fs.h including linux/kdev_t.h which
held the definition for MAJOR (used in
eros/src/base/host/bin/setboot/setboot.c). [In fact it
looks like a bunch of this kind of gratuitous includes
have been removed!]
Replacing "linux/fs.h" with "linux/kdev_t.h" solves the
problem.
I'm sure it's just a convenience but is there any
reason to continue using Linux include files (about 17
in all)? After all, CapROS ain't Linux.
dave braun